summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/checkout/shipping_address4
-rw-r--r--include/profiles/profiles.order2
2 files changed, 3 insertions, 3 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]
diff --git a/include/profiles/profiles.order b/include/profiles/profiles.order
index 10c9726..fa02037 100644
--- a/include/profiles/profiles.order
+++ b/include/profiles/profiles.order
@@ -2,7 +2,7 @@ __NAME__ bank_transfer
fname=required
address1=required
-address3=required
+address2=required
city=required
state=required
&fatal=yes