AbanteCart Community

AbanteCart Development => Extensions and Add-Ons => Topic started by: Gokk on August 05, 2016, 01:02:14 PM

Title: Clone Shipping Extension
Post by: Gokk on August 05, 2016, 01:02:14 PM
Hi there, new here.
Is there a simple way to clone "default_weight" shipping extension, I just need another one to rename it and insert different shipping values and that's it.
Also, is there a TNT shipping module available, been looking but haven't found any...
Thanks
Title: Re: Clone Shipping Extension
Post by: abolabo on August 11, 2016, 10:12:22 AM
You can copy folder extensions/default_weight with your_new_name and rename all texts inside all files.
Also you need to rename filenames ans subfolders.
Do dot forget rename classes names inside php-files. Your new class name will be ...YourNewName (without underscores).