Punchout Cart Integration

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 anos atrás
Say an eTailer wanted to incorporate a punchout ecommerce store run by a drop ship supplier. The supplier system is hosted on a different platform (.Net platform).  The Supplier site is linked from the etail nopCommerce site (not embedded in iFrames).  However, the etailer wants to handle the cart checkout and transaction on their own nopCommerce installation.  Additionally, when the customer returns to the noCommerce site to purchase other non-punchout products,  they will want the punchout cart items and the local items together in the nopCommerce cart.  

The question is: what method would you use to add items from the punchout "add to cart" function to instead add them to a nopCommerce Cart. (essentially the punch out search and browse catalog functionality is just a way to have the products updated and maintained by the supplier and eliminate duplicate product data management.)  If a basic product shell was loaded into nopCommerce so that it could reference the product SKU could we interact with nopCommerce with a web service call? Do we just use javascript and send an add cart item through a URL with parameters reference?  Any thoughts if this is easy to do?
12 anos atrás
timniedfeldt wrote:
Say an eTailer wanted to incorporate a punchout ecommerce store run by a drop ship supplier. The supplier system is hosted on a different platform (.Net platform).  The Supplier site is linked from the etail nopCommerce site (not embedded in iFrames).  However, the etailer wants to handle the cart checkout and transaction on their own nopCommerce installation.  Additionally, when the customer returns to the noCommerce site to purchase other non-punchout products,  they will want the punchout cart items and the local items together in the nopCommerce cart.  

The question is: what method would you use to add items from the punchout "add to cart" function to instead add them to a nopCommerce Cart. (essentially the punch out search and browse catalog functionality is just a way to have the products updated and maintained by the supplier and eliminate duplicate product data management.)  If a basic product shell was loaded into nopCommerce so that it could reference the product SKU could we interact with nopCommerce with a web service call? Do we just use javascript and send an add cart item through a URL with parameters reference?  Any thoughts if this is easy to do?


The easiest approach would be to write a new controller and action that takes a SKU, finds the product, adds it to the cart. Currently the add-to-cart functionality works off of database primary keys so you would not want to use the url's that already exist.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.