summaryrefslogtreecommitdiff
path: root/include/checkout/shipping_address
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-14 13:32:17 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-07-14 13:32:17 +0800
commit656e42c2db476b655058ddf81d51e72db5b53777 (patch)
treef8a5d8055b8ae39321f21e8bd39d6ffa63c815d8 /include/checkout/shipping_address
parente6957863a2e313b21bf93a1479d50920631d93ac (diff)
Shipping table has been renamed
Diffstat (limited to 'include/checkout/shipping_address')
-rw-r--r--include/checkout/shipping_address6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/checkout/shipping_address b/include/checkout/shipping_address
index 5b2b24e..2a6c2d1 100644
--- a/include/checkout/shipping_address
+++ b/include/checkout/shipping_address
@@ -20,7 +20,7 @@
<select name="state" id="province_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 $province (@{$Tag->query({sql => "SELECT province FROM shipping GROUP BY province ORDER BY province"})}) {
+for my $province (@{$Tag->query({sql => "SELECT province FROM anteraja GROUP BY province ORDER BY province"})}) {
$options .= qq(
<option value="$province->[0]") . ($province->[0] eq $Tag->value({keep => 1, filter => encode_entities, name => 'state'}) ? ' selected' : '') . ">$province->[0]</option>";
}
@@ -33,7 +33,7 @@ return $options;
<select name="city" id="city_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 $city (@{$Tag->query({sql => "SELECT city FROM shipping WHERE province='" . $Tag->value({keep => 1, filter => encode_entities, name => 'state'}) . "' GROUP BY city ORDER BY city"})}) {
+for my $city (@{$Tag->query({sql => "SELECT city FROM anteraja WHERE province='" . $Tag->value({keep => 1, filter => encode_entities, name => 'state'}) . "' GROUP BY city ORDER BY city"})}) {
$options .= qq(
<option value="$city->[0]") . ($city->[0] eq $Tag->value({keep => 1, filter => encode_entities, name => 'city'}) ? ' selected' : '') . ">$city->[0]</option>";
}
@@ -46,7 +46,7 @@ return $options;
<select name="address3" 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 shipping WHERE city='" . $Tag->value({keep => 1, filter => encode_entities, name => 'city'}) . "' GROUP BY district ORDER BY district"})}) {
+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>";
}