Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Chaning information box PHP names?


DP9690

Recommended Posts

Posted

New here so hope I'm posting in the right place. I had a bit of a dig around on Google and these Forums but all the instructions I found are either out of date (2003) or not what I'm after. I'm looking to remove the "Shipping & Returns" in the information box and replace it with something else (I sell digital products) but evertime I change the "Filename" to something else (I.E. download) the browser tries to navigate me to FILENAME_DOWNLOAD instead of download.php which is what I renamed all the shipping.php files too. I changed all references to shipping in the module box information PHP files but still no luck.

 

I know how to change all the link names etc but I can't for the life of my figure out why it won't let rename the PHP files.

Posted

@@DP9690 You are probably confusing the code since there is already a download.php file. In general, you shouldn't be renaming stock files. If you need a new file, you should create it. There should be a file in the root and one in the English directory with the same name and a definition for it in the incudes/filenames.php file. The FILENAME_DOWNLOAD is already defined, or should be, so either you have not included the application_top file in the new file or you've changed the filenames file and removed it.

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

@@burt - Thanks, that worked. I wondered where all of the file names were as they wasn't in the English.php file.

 

@@Jack_mrs - I was using download as an example :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...