Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add a product to the shopping cart by a direct link


compuskill

Recommended Posts

Hi there,

 

does anyone of you know if there is a way to add a product to the shopping cart simply by visiting a certain link? The problem is that I cannot sell my stuff to everyone, so I have removed the "buy now" button for certain products. If someone comes along and asks for that product, I want to send him a link he can directly put the desired product into the shopping cart with.

 

Any help appreciated.

Link to comment
Share on other sites

http://www.clubosc.com/clear-cart-add-product.html

 

Don't use the "clear cart" bit!

 

Thank you for the fast reply. So far, this looks pretty good, but this is not exactly what I was looking for. See, I have like 80 products I would create these files for. Ain't there a way to add the product_id as a parametre? For examaple: mydomain.com/addproduct.php?id=28 ?

 

How would I do that?

Link to comment
Share on other sites

Thank you for the fast reply. So far, this looks pretty good, but this is not exactly what I was looking for. See, I have like 80 products I would create these files for. Ain't there a way to add the product_id as a parametre? For examaple: mydomain.com/addproduct.php?id=28 ?

 

How would I do that?

 

 

Already got it, thx for helping

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...