xochicuiche Posted August 25, 2008 Share Posted August 25, 2008 Hi, 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? Thanks! Link to comment Share on other sites More sharing options...
xochicuiche Posted August 26, 2008 Author Share Posted August 26, 2008 No-one? :( Here is an example of what I mean - this site uses javascript to create links that replaces the standard form-based add to cart buttons for its oscommerce cart... but I don't understand the JS well enough to figure out how to implement it on my site... Link to comment Share on other sites More sharing options...
shooter-boy Posted August 26, 2008 Share Posted August 26, 2008 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 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 More sharing options...
xochicuiche Posted August 26, 2008 Author Share Posted August 26, 2008 Many thanks! Could anyone point me towards directions/help on how to do this? My php knowledge is basic/self-taught :/ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.