summaryrefslogtreecommitdiff
path: root/include/checkout
diff options
context:
space:
mode:
Diffstat (limited to 'include/checkout')
-rw-r--r--include/checkout/shipping_address4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/checkout/shipping_address b/include/checkout/shipping_address
index 2a6c2d1..1b23086 100644
--- a/include/checkout/shipping_address
+++ b/include/checkout/shipping_address
@@ -43,12 +43,12 @@ return $options;
</div>
<div class="form-group col-md-8">
<label class="form-label" for="district_shipping">[L]District[/L]</label>
- <select name="address3" id="district_shipping" class="form-control" onchange="this.form.submit()">
+ <select name="address2" id="district_shipping" class="form-control" onchange="this.form.submit()">
<option value="-- [L]Please select[/L] --">-- [L]Please select[/L] --</option>[perl products]
my $options = '';
for my $district (@{$Tag->query({sql => "SELECT district FROM anteraja WHERE city='" . $Tag->value({keep => 1, filter => encode_entities, name => 'city'}) . "' GROUP BY district ORDER BY district"})}) {
$options .= qq(
- <option value="$district->[0]") . ($district->[0] eq $Tag->value({keep => 1, filter => encode_entities, name => 'address3'}) ? ' selected' : '') . ">$district->[0]</option>";
+ <option value="$district->[0]") . ($district->[0] eq $Tag->value({keep => 1, filter => encode_entities, name => 'address2'}) ? ' selected' : '') . ">$district->[0]</option>";
}
return $options;
[/perl]