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
No OC version posted. However, by removing the following code in your catalog/view/theme/<your_theme>/template/checkout/checkout.twig file:
should removed the default / selected zone.
Code: Select all
if (json['zone'][i]['zone_id'] == '{{ zone_id }}') {
html += ' selected="selected"';
}
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
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
Any help would be much appreciated. I just want to set to "Please select". Chris
Who is online
Users browsing this forum: Ahrefs [Bot], Baidu [Spider], musicweb, Semrush [Bot] and 36 guests