Jump to content

[SOLVED] "Buy buttons" on external site


Recommended Posts

Does anyone knows if there is a module or an easy way to generate external html link for each of my products so that I can put "buy Now" or "add to cart" buttons on an external site?

This would also require a "view cart" button as well on the external sites.

Of course when a client click on these buttons he/she would be routed back to my presta shop cart.

Thank You

Link to comment
Share on other sites

  • 2 months later...

Following link should work. You can try it, below is the test link to my demo site.

http://expresscheckout.dyndns.org:8080/shop1323/cart.php?qty=1&id_product=1&id_product_attribute=29&add=1



But please be note:
id_product_attribute is not the attribute id, it should comes from table ps_product_attribute.

and if the user is already logged in to your site, then click link form above link, it may has following error

1 error occurred: invalid token

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
×
×
  • Create New...