This is a discussion on Moving the "Add to Cart" button within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; I'd like to customize my products page by putting an "Add to Cart" button near the top. ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I'd like to customize my products page by putting an "Add to Cart" button near the top. I have a basic template that I am entering into the FCK editor. Is there code or a link that I can use with my custom button? If it's a link then what is it and how does it change for different products? Also I wanted to remove the price from the top right so I can present the price my own way. How do I get rid of that? Thanks!!! |
|
#2
| ||||
| ||||
| Check out /templates/your template/content/product_info.tpl.php , both things you are looking for are in there. Search for: Code: <?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?> |
|
#3
| |||
| |||
| Thanks for your quick response. I am using the AABOX template and there isn't a Content folder. I noticed there was a Content folder in the Fallback template. Is some of the Fallback template information change items in my AABOX template? I would have thought they would be totally different template systems? So I took that PHP line and inserted it into my FCKeditor product page and it didn't produce a button. I'm pretty new -- do you know why this wouldnt work when I put it into a cell? : <tr> <td colspan="5"> <?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?> </td> </tr> Thanks! |
|
#4
| ||||
| ||||
| Any template you use uses /fallback template if they are missing files. That is, if you want to create a template but only need a couple of personalized files, you do not need to copy all of them just to modify a couple, you can create your template directory with just the 2 modified files. All the files you do not have in there will be taken from /fallback. With "FCKeditor product page" I guess you are creating your products with a HTML WYSIWYG editor. Never used one, but of course if you are trying to insert HTML code, you need to be seeing the product HTML code. But anyway, the product descripcion is NOT the place where you would want to put the "add to cart" button, that is for sure... |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| "Price" and "Add to Cart" button inside | midwestwebsites | osCMax v2 Customization/Mods | 3 | 11-14-2005 05:13 AM |
| I want to remove the "add to cart" button if the c | Pulp | osCommerce 2.2 Modification Help | 0 | 09-07-2004 07:23 AM |
| Help with hiding "In Cart" button.....!!!! | dojen13 | osCommerce 2.2 Modification Help | 0 | 08-08-2003 05:43 AM |
| moving the arrow in the "my cart" box | starchild | osCommerce 2.2 Modification Help | 0 | 05-09-2003 08:34 PM |
| Remove "in cart" Button for individual categories | Mongrrr | osCommerce 2.2 Modification Help | 0 | 04-24-2003 06:02 AM |