Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Replacing The Buttons?


kade119

Recommended Posts

the buttons that include , checkout, back, .. etc...

 

are there any contributions to replace these? or do i need to photoshop them all to change the color and so forth

 

 

also where do you go to alter the size of these buttons? which file

 

thanks thanks

Link to comment
Share on other sites

There is at least one contribution for buttons although they really should be unique to your shop. The size is determined by the image itself.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

hey jack thanks for the response

 

another quick question how do i create just a text link/anchor to "specials" or "new products" like i stillw ant the boxes but at the top i would like to have a link

 

thnks

Link to comment
Share on other sites

Something like this should work, depending on where you are placing it:

   <?php echo '<a href="' . tep_href_link(FILENAME_SPECIALS, '', 'NONSSL') . '">' . "Specials" . '</a>'; ?>

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

  • 1 year later...

Does anyone know how to put a log off button into the system. I have my button but I don't know how to make it work and come up when you are logged in (just like the "log off" link shows up when you are logged in, I want my log off button to show up when you are logged in.)

 

Also, I have gotten rid of the links for "My account" "cart contents" etc (except log off of course) but I have the risidual | lines that were inbetween the links. Could anyone tell me how to get rid of those? Please help. If you need to get a look at it you can look at my site. it's www.oasisrareplants.com and if you make up a log in and some really fake name with really fake information I will delete you later if you want to look at what I'm trying to say. Thanks for the help!

Stacy

Link to comment
Share on other sites

Does anyone know how to put a log off button into the system. I have my button but I don't know how to make it work and come up when you are logged in (just like the "log off" link shows up when you are logged in, I want my log off button to show up when you are logged in.)

Something like this:

 

<?php
 if ( tep_session_is_registered('customer_id') ) { 
echo '<a href="' . tep_href_link(FILENAME_LOGOFF, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'logoff.gif', HEADER_TITLE_LOGOFF) . '</a>';
 }
?>

In that code change logoff.gif to the name of your image, and put the image in the /images folder with all the other images.

 

The only uncertainty is what page and where do you want it to show up?

:unsure:

 

Also, I have gotten rid of the links for "My account" "cart contents" etc (except log off of course) but I have the risidual | lines that were inbetween the links. Could anyone tell me how to get rid of those?

Where you got rid of the links, get rid of the code that looks like this:

 

 | 

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

Something like this:

 

?>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr class="header">
   <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.PNG') . '</a>'; ?></td>
   <td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link
(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  

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...