Page 1 of 1
Remove selected zone on Checkout Page
Posted: Thu Apr 19, 2018 6:05 pm
by motion2082
Hey guys,
Does anyone know how to remove the default zone name in the checkout?
https://imgur.com/a/PmKOMrG
Just want it to say, please make a selection
Tried using JQuery and it won't work
Regards,
Motion

Re: Remove selected zone on Checkout Page
Posted: Thu Apr 19, 2018 9:02 pm
by straightlight
No OC version posted. However, by removing the following code in your catalog/view/theme/<your_theme>/template/checkout/checkout.twig file:
Code: Select all
if (json['zone'][i]['zone_id'] == '{{ zone_id }}') {
html += ' selected="selected"';
}
should removed the default / selected zone.
Re: Remove selected zone on Checkout Page
Posted: Wed Oct 10, 2018 6:02 pm
by OurHooray
Hey, I am having the same issue. My Stores County/State is set as the default and has caused some issues with payments being accepted because customers forget to change it. I cannot find the zone string in my checkout.twig file. My file can be found here:
https://pastebin.com/RGwCWBBu
Any help would be much appreciated. I just want to set to "Please select". Chris