martyn_lizardmedia Posted April 24, 2006 Posted April 24, 2006 I have a customer who wants to use the same shipping module twice ( UK ROYAL MAIL RATES) . what do i need to change in the code to duplicate this module ? Many thanks :)
Jack_mcs Posted April 24, 2006 Posted April 24, 2006 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.