"Add-To-Cart" from External Page/Application

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
Hello Community Members,

So I have done a little research on this myself and have found a couple of related forums, however, they have not really worked out as well as I would have hoped. At the moment I am in charge of a project where I am trying to find a developer to help get an "Add-To-Cart" button to work on an external application. This application finds specific products for a customer from our database; so we are looking for a way to be able to take those results and add them to the nopCommerce shopping cart (preferablly based on SKU).

My main question is basically, is this possible? We have had a couple of developers say that this is more than likely not possible, however, they did not seem very well versed in nopCommerce; which is why I have come here to get an experts opinion. To give you a little bit of additional background information, we are currently running on v3.5.

In addition to this, here are the two main articles I found related to what I'm trying to accomplish. The problem is that I myself am not familiar with developing in.NET and these threads are for outdated versions of nopCommerce. So unfortunately, they were not much help to me.

https://www.nopcommerce.com/boards/t/27768/how-to-add-a-product-to-the-shopping-cart-via-an-external-link.aspx

https://www.nopcommerce.com/boards/t/86/add-to-cart-button-link.aspx

Thanks in advance for any help that may be contributed. If more information is needed to get this question answered then please just let me know and I will do my best to update this post as soon as possible.

Tanks,

Steve
7 years ago
Definitely possible. You can use REST API to do this. Here's an open-source REST API framework I've written: https://noprest.codeplex.com/

:)
7 years ago
wooncherk wrote:
Definitely possible. You can use REST API to do this. Here's an open-source REST API framework I've written: https://noprest.codeplex.com/

:)


Awesome, thank you! I just checked that link but, unfortunately, I think CodePlex is having some server issues and I am unable to download it at the moment. I will be sure to check back later. Thanks again!
7 years ago
Hi,

You can use API Plugin

Full source code available on GitHub: api-plugin-for-nopcommerce

Hope this helps!
5 years ago
This looks amazing, but for the life of me I can't figure out how to set it up so that I can add a product to the shopping cart from an external site. Any help would be truly appreciated. I'm getting frustrated and need to get this taken care of soon.

Thanks in advance,
J
5 years ago
BostonEDIGuy wrote:
This looks amazing, but for the life of me I can't figure out how to set it up so that I can add a product to the shopping cart from an external site. Any help would be truly appreciated. I'm getting frustrated and need to get this taken care of soon.

Thanks in advance,
J


Anyone? Really could use some help!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.