Post by motion2082 » Thu Apr 19, 2018 6:05 pm

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 O0

Active Member

Posts

Joined
Tue May 12, 2015 8:48 pm

Post by straightlight » Thu Apr 19, 2018 9:02 pm

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.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 21 guests