New Zenner
- Join Date:
- Apr 2007
- Location:
- Nijmegen, Netherlands
- Posts:
- 44
- Plugin Contributions:
- 0
Cloning the Zone Based Rates Shipping Module?
I tried to clone the Zone Based Rates Shipping Module but it does not work properly in the front-end.
The shipping module can be installed, it shows up at the back-end, and I was able to configure it.
But on the front-end, the Checkout Shipping does not continue to step 2 (it remains in Step 1 of 3 - Delivery Information).
I followed the steps Ajeh described in http://www.zen-cart.com/forum/showthread.php?t=26216
and copied the \includes\modules\shipping\zones.php to zones_es.php
and changed
class zones {
```to
class zones_es {
function zones() {
$this->code = 'zones';
function zones_es() {
$this->code = 'zones_es';
MODULE_SHIPPING_ZONES_*
MODULE_SHIPPING_ZONES_ES_*
Furthermore I also cloned & changed the language file, and those labels are shown correctly at the front-end.
What did I do wrong? What did I forget during the cloning?
Kind Regards,
Peter Martin, Joomla specialist
www.db8.nl