celshader Posted April 1, 2007 Posted April 1, 2007 I have changed the 'Buy now' button in product_listing.php to 'more info'. I would like to add an 'add to cart' button underneigh it so you dont have to go to product_info.php in order to add the product to the cart. I have seen this feature on many oscommerce sites. Any help is appreciated. Quote
rayzdabar Posted April 10, 2007 Posted April 10, 2007 I would like to know how to do this too. Please let me know if you find a solution to this. :huh: Quote
markg-uk Posted February 18, 2008 Posted February 18, 2008 The buy now column can be found in the file product_listing.php, around line 131 (find case 'PRODUCT_LIST_BUY_NOW':) All you have to do is create the php which lets you generate the 'more info' link and add it before the existing code (as well as a < br> to separate the more info and buy now links. Quote
Guest Posted February 18, 2008 Posted February 18, 2008 Thanks but that's part of the question I had as well how to generate the Add to Cart with the proper product_id attached to it. Might you have a sample code to show us. Thanks Again Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.