I tried to change this in oc_zone but didn't help. It only changed in the admin zones page.
How do I do this? Is there a main place to be able to make that change?
Thanks,
sa
- catalog/view/theme/default/template/checkout/payment_address.tpl
catalog/view/theme/default/template/checkout/shipping_address.tpl
catalog/view/theme/default/template/checkout/guest.tpl
catalog/view/theme/default/template/checkout/guest_shipping.tpl
Code: Select all
html += '>' + json['zone'][i]['name'] + '</option>';
Code: Select all
html += '>' + json['zone'][i]['iso_code_2'] + '</option>';
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Any more advice please?
Code: Select all
html += '>' + json['zone'][i]['code'] + '</option>';
For customer account information, you'll also need to make the same change to:
- catalog/view/theme/default/template/account/address_form.tpl
catalog/view/theme/default/template/account/register.tpl
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
The problem I found with the previous coding suggesting is that it only shows them as drop-down menu options but not effectively saving them as such abbreviations - just an fyi
Users browsing this forum: No registered users and 72 guests