Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Added data-v-option to country and region selects

givanz42ff1200c620
diff --git a/app/template/checkout/checkout.tpl b/app/template/checkout/checkout.tpl
index b38455d..20f8304 100755
--- a/app/template/checkout/checkout.tpl
+++ b/app/template/checkout/checkout.tpl
@@ -87,7 +87,7 @@ input[name="different_shipping_address"]|addNewAttribute =
if ($shipping_method == $shipping['name']) echo ' checked';
?>
-@country = [data-v-countries] option
+@country = [data-v-countries] option[data-v-option]
@country|deleteAllButFirstChild
[data-v-countries]|before = <?php
@@ -114,7 +114,7 @@ if(isset($this->countries) && is_array($this->countries)) {
}?>
-@region = [data-v-regions] option
+@region = [data-v-regions] option[data-v-option]
@region|deleteAllButFirstChild
[data-v-regions]|before = <?php