Guest Posted September 7, 2008 Share Posted September 7, 2008 (edited) It seems there can be a lot of wasted white space with some products. How can I add an image to each listing (not unique). I'm sure there is a place I can put it once and the same image will appear. Like this: I've Googled it, Yahoo'd it, I check the OsCommrce forums and I can't find it! I know I've see it before! I don't want to add it to the footer, just below the table with the "add to cart" button. Edited September 7, 2008 by lakelandprinting Quote Link to comment Share on other sites More sharing options...
germ Posted September 7, 2008 Share Posted September 7, 2008 Find the code in product_info.php for the "Buy Now" button. It will look something like this: <?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td> Follow the code on down till you find this: <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> JUST AFTER that code is where you want to put your code. Like this: <tr><td> ******** YOUR NEW CODE GOES HERE ******** </td></tr> Quote If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Guest Posted September 7, 2008 Share Posted September 7, 2008 Worked Great. Many Thanks! Quote Link to comment Share on other sites More sharing options...
Guest Posted September 11, 2008 Share Posted September 11, 2008 Thank you, work Quote Link to comment Share on other sites More sharing options...
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.