Crazypilot Posted June 8, 2005 Posted June 8, 2005 Hi all, I wonder if there is a helpfull sole that can help me to add a extra "Add to cart" button in the Products description. Reason is I have lengthy descriptions made via HTML and at the moment the "Add to cart" button is at the end of description (needs scrolling). What I need is an extra button (same function) at the top of the page for customers who already have read the information. As I am no wizzard in PHP I hope someone can be helpfull. Best regards Crazypilot
♥Monika in Germany Posted June 8, 2005 Posted June 8, 2005 Hi all, I wonder if there is a helpfull sole that can help me to add a extra "Add to cart" button in the Products description. Reason is I have lengthy descriptions made via HTML and at the moment the "Add to cart" button is at the end of description (needs scrolling). What I need is an extra button (same function) at the top of the page for customers who already have read the information. As I am no wizzard in PHP I hope someone can be helpfull. Best regards Crazypilot <{POST_SNAPBACK}> look for the button in your code and just copy that part of the code within tablerow tags above the spot where your description begins :-) Monika :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
Enzo_UK Posted June 8, 2005 Posted June 8, 2005 You just need to link to the product numbers.... e.g. if you look at a page on my site which is made using html.... http://www.vwspares.co.uk/g4brakes.html the buy buttons link to the osCommerce cart, so if you click buy on that page it adds them to your basket. So for example the buy button links to osCommerce product numbers such as http://www.vwspares.co.uk/catalog/index.ph...products_id=376 So the code to add in the html where you want the button is <a href="http://www.yoursite.co.uk/catalog/index.php?action=buy_now&products_id=495><img border="0" src="includes/languages/english/images/buttons/button_in_cart.gif"></a> You will need to change those URL's to suit your site, and you can use any image as a buy button.
Crazypilot Posted June 9, 2005 Author Posted June 9, 2005 This support Forum is really working! Thank's for advice, I will try out both suggestions. Best regards Crazypilot
Recommended Posts
Archived
This topic is now archived and is closed to further replies.