Adding products to the cart from another site (aka using NopCommerce as a hosted shoping cart)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Hi

My website (xyz.com) is currently running a separate CMS, with NopCommerce hosted inside xyz.com/shop. Running Nop 2.65 and have been very happy with it but I would like to upgrade.

I sell photographs. The size of the photo galleries (several hundred images per gallery) makes it impractical to manage products in NopCommerce, so I had a custom plugin developed many years ago to allow me to construct html buttons on my website that when clicked would add the relevant product to the Nop Shopping cart. Works really well.

The process is very similar to the Paypal "Add to Cart" button https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/add_to_cart_step_1/# - except of course that the order is being created in NopCommerce and can be managed there.

My question is: has anybody produced a plugin that works with current NopCommerce versions and delivers the same behaviour?

Thank you

Cameron
5 years ago
A very talented guy wrote a plugin for V4.0 that will allow you to add to your cart by calling a URL and feeding a part number. Look up "Add To Cart". It's available for V4.0
5 years ago
Thanks BostonEDIGuy, I had seen that plugin, but it looks like the products need to exist in NopCommerce for the plugin to work.  

I need a solution that will create the product in NopCommerce if it doesn't already exist - i.e. I need to be able to add arbitrary products to the cart.

If you use the plugin do you know if it can handle this situation?

Thanks!
5 years ago
You are correct, the product needs to exist. What I am doing is actually creating the product on one website (during the validation process of my configuration) that, once created, gets loaded into the cart using that plugin. I have a template that I use to create the product, then create a new unique product number. I coded it in C# on a Web Form.
5 years ago
Ah OK. Thank you for confirming that.

I really need something that works as I have it just now and arbitrarily creates a product on the fly if necessary.  There are hundreds of galleries and each can have hundred of images, and images can be added to a gallery after it is initially published. Trying to synchronise each gallery to (e.g.) a NopCommerce category just isn't feasible.

I have messaged the developer of the Add To Cart plugin to see if he can help me, but I'd be interested to know if anyone else has any ideas on this.
5 years ago
Another similar idea is https://snipcart.com/ but again it requires you to use their hosted service and I'd prefer to use NopCommerce if I can.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.