Jump to content

Adding products to cart via URL


Recommended Posts

Is there is a way so, if one of my customers, is browsing through another part of my site. e.g. a wordpress blog, they can click a link, which would automatically add a product to cart, and forward them to the products page or the checkout.

Link to comment
Share on other sites

You could try adding a link like the following:

http://www.yoursite.com/cart.php?id_product=1&qty=1



Change the id_product parameter to the id of the product you want added and the qty parameter to the quantity of product you want added.

Link to comment
Share on other sites

  • 1 year later...
  • 1 year later...
×
×
  • Create New...