Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I'm trying to replace the default GIF buttons with PNGs--where are these button filenames defined? Is there a single file, or do I need to look for a particular piece of code in each file that references a button?

 

thanks! :thumbsup:

Posted

The files are located in includes/languages/english/images/buttons. But since the filetype would be changed, you will need to edit every file in the shop that loads a button. Also keep in mind that png's are not 100% compatible with all browsers.

 

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

Posted
The files are located in includes/languages/english/images/buttons. But since the filetype would be changed, you will need to edit every file in the shop that loads a button.

 

yeah--but where in these files is the image referenced? For instance, in index.php I can't seem to find where the Buy Now! button is referenced ANYWHERE.

Posted

it looks like for most images, they're simply referenced in the PHP file, but I'm still struggling to find the path to the Buy Now button. Does anybody know to how to change this filename??

Posted
it looks like for most images, they're simply referenced in the PHP file, but I'm still struggling to find the path to the Buy Now button. Does anybody know to how to change this filename??

 

okay--found it. This is defined NOT in index.php BUT in /catalog/includes/modules/product_listing.php

  • 1 year later...

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