Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Direct links instead of forms for cart buttons?


Recommended Posts



Is there any way the Add to Cart button can be adapted from its form input format, i.e.

<input name="products_id" value="40" type="hidden"><input src="includes/languages/english/images/buttons/button_in_cart.gif" alt="Add to Cart" title=" Add to Cart " border="0" type="image">

and replaced with a direct link to add the product to the cart from within a standard html page, e..g . <a href="...">Add to cart</a> - is this possible?



Link to comment
Share on other sites

Currently the add to cart uses post data as well as GET data to process it.


If you were to modify catalog/includes/application_top.php to handle a new set of GET only data, it would definately be possible.



Rob Bell - Inspired Graphix

Customising osCommerce in Australia, and the world!

View my profile for web and email links.


I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture.

However viewing my profile may provide links to my website or something like that which you may find useful.

Link to comment
Share on other sites


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

  • Create New...