Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shipping Rates , how to duplicate a module


martyn_lizardmedia

Recommended Posts

Posted

Generally, you just need to copy the files in includes/modules/shipping and includes/languages/english/modules/shipping. Rename the copied files to smething else. Then edit both files and change the words that refer to the old module to the new one. So if you duplicate the flat rate module, you would have a flatUK set of files, for example. Then in the file you will see class flat. That should be changed to class flatUK. You will also find text like MODULE_SHIPPING_FLAT_TEXT_TITLE. It should be changed to MODULE_SHIPPING_FLATUK_TEXT_TITLE, and so on.

 

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

Archived

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

×
×
  • Create New...