Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A little help with customization


ExodiusUK

Recommended Posts

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.

Link to comment
Share on other sites

 

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!

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...