ExodiusUK Posted March 2, 2011 Share Posted March 2, 2011 Hello all, i need a little help, what files do i have to edit to change the default buttons on the top? Cart Contents | Checkout | My Account? also what file do i edit to change the default blue bar behind Top >> Catalog and all the boxes? Thanks in advanced. Quote Link to comment Share on other sites More sharing options...
♥toyicebear Posted March 3, 2011 Share Posted March 3, 2011 Start by reading: Basics for Design - osCommerce V2.3+ Quote Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
Guest Posted March 4, 2011 Share Posted March 4, 2011 Start by reading: Basics for Design - osCommerce V2.3+ Hi! I checked that and it's all things that I know and been doing. I created my own buttons and would like to use them. I have figured out how to add them, but now they don't work. SIMPLE question: how do I define the buttons for product_info.php? Where do I define "buy now" button so I can use my own? THANKS! Quote Link to comment Share on other sites More sharing options...
omihack Posted March 5, 2011 Share Posted March 5, 2011 Hello! in my case there were images, that I modified in photoshop.. Talking about the bottons and the bars of the tables content... look in your images folder :) Quote Link to comment Share on other sites More sharing options...
Guest Posted March 6, 2011 Share Posted March 6, 2011 Hello! in my case there were images, that I modified in photoshop.. Talking about the bottons and the bars of the tables content... look in your images folder :) Thanks! I forgot to clarify: I did figure out where to put my buttons, but what I need help with is getting the code right. This is what I have now: <div class="buttonSet"> <span class="buttonAction"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_draw_button(IMAGE_BUTTON_IN_CART, 'cart', null, 'primary'); ?></span> <td width="17"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td width="102" class="main"><a href="<?php echo tep_href_link(FILENAME_DEFAULT, 'cPath=' . $cPath); ?>"><?php echo tep_image_button('button_back.gif', IMAGE_BUTTON_BACK); ?></a></td> <td width="168" align="right"><?php echo tep_draw_button(IMAGE_BUTTON_REVIEWS . (($reviews['count'] > 0) ? ' (' . $reviews['count'] . ')' : ''), 'comment', tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params())); ?></td> </div> So I have the "back" button right (even used my own), but I couldn't get the "in cart" one to work, and I'm unsure about what else to change for reviews. Thanks! Quote Link to comment Share on other sites More sharing options...
omihack Posted March 6, 2011 Share Posted March 6, 2011 mmmmm where the button are? what I did is to ovewrite the original buttons in the folder includes/languages/espanol/images just rename my custom image with the name of the original one and put all o them in the correct folder depending the language I didnt made any code change sorry if im not helping you Quote Link to comment Share on other sites More sharing options...
Guest Posted March 7, 2011 Share Posted March 7, 2011 Thanks, Omar! ¿Hablas español? Si prefieres, podemos hablar español, quizás fuera del foro. That would not do it, at least not in the v2.3.1. I believe what you're suggesting works for earlier versions with the old style buttons. The new one has code generating it. Anyone else there? THANKS! Quote Link to comment Share on other sites More sharing options...
♥kymation Posted March 7, 2011 Share Posted March 7, 2011 You could get a copy of osCommerce 2.2RC2a and copy the button code for each button from that. Or you could use the instructions for converting buttons from 2.2 to 2.3, only backwards. Regards Jim Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
omihack Posted March 10, 2011 Share Posted March 10, 2011 Yes! Veronica, hablo español, se nota?? :-" I hope the suggest below works Thanks, Omar! ¿Hablas español? Si prefieres, podemos hablar español, quizás fuera del foro. That would not do it, at least not in the v2.3.1. I believe what you're suggesting works for earlier versions with the old style buttons. The new one has code generating it. Anyone else there? THANKS! 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.
Note: Your post will require moderator approval before it will be visible.