diff --git a/modules/bankwire/views/templates/front/payment_execution.tpl b/modules/bankwire/views/templates/front/payment_execution.tpl
index 835542afe..bb10d9d07 100644
--- a/modules/bankwire/views/templates/front/payment_execution.tpl
+++ b/modules/bankwire/views/templates/front/payment_execution.tpl
@@ -53,7 +53,7 @@
- {l s='The total amount of your order is' mod='bankwire'}
{displayPrice price=$total}
- {if $use_taxes == 1}
+ {if $use_taxes == 1 && $display_tax_label}
{l s='(tax incl.)' mod='bankwire'}
{/if}
diff --git a/modules/blockcart/ajax-cart.js b/modules/blockcart/ajax-cart.js
index e3e4ac26f..2d28a903d 100644
--- a/modules/blockcart/ajax-cart.js
+++ b/modules/blockcart/ajax-cart.js
@@ -969,7 +969,9 @@ var ajaxCart = {
content += '';
content += '';
content += '';
- content += '| ' + variant_txt + ' | ';
+ if (product.allow_multiple_quantity) {
+ content += '' + variant_txt + ' | ';
+ }
content += '' + qty_txt + '. | ';
content += '' + price_txt + ' | ';
content += ' | ';
@@ -989,7 +991,9 @@ var ajaxCart = {
$.each(options, function(data_k, data_v) {
content += '
';
content += '| ' + data_v.option_name + ' | ';
- content += '' + data_v.quantity + ' | ';
+ if (product.allow_multiple_quantity) {
+ content += '' + data_v.quantity + ' | ';
+ }
content += '' + formatCurrency(parseFloat(data_v.total_price_tax_excl), currency_format, currency_sign, currency_blank) + ' | ';
content += ' | ';
content += '
';
@@ -1054,7 +1058,9 @@ var ajaxCart = {
$.each(options, function(data_k, data_v) {
product_options_content += '';
product_options_content += '| ' + data_v.option_name + ' | ';
- product_options_content += '' + data_v.quantity + ' | ';
+ if (product.allow_multiple_quantity) {
+ product_options_content += '' + data_v.quantity + ' | ';
+ }
product_options_content += '' + formatCurrency(parseFloat(data_v.total_price_tax_excl), currency_format, currency_sign, currency_blank) + ' | ';
product_options_content += ' | ';
product_options_content += '
';
diff --git a/modules/blockcart/cartrow.tpl b/modules/blockcart/cartrow.tpl
index 6a1e9ee54..e909aaacf 100644
--- a/modules/blockcart/cartrow.tpl
+++ b/modules/blockcart/cartrow.tpl
@@ -109,14 +109,18 @@
| {l s='Variant' mod='blockcart'} |
- {l s='Qty.' mod='blockcart'} |
+ {if $product.allow_multiple_quantity}
+ {l s='Qty.' mod='blockcart'} |
+ {/if}
{l s='Price' mod='blockcart'} |
|
{foreach from=$options item=data_v}
| {$data_v.option_name} |
- {$data_v['quantity']} |
+ {if $product.allow_multiple_quantity}
+ {$data_v['quantity']} |
+ {/if}
{convertPrice price=($data_v['total_price_tax_excl'])} |
|
diff --git a/modules/cheque/views/templates/front/payment_execution.tpl b/modules/cheque/views/templates/front/payment_execution.tpl
index a6afee4b8..d09b70e36 100644
--- a/modules/cheque/views/templates/front/payment_execution.tpl
+++ b/modules/cheque/views/templates/front/payment_execution.tpl
@@ -46,7 +46,7 @@
- {l s='The total amount of your order comes to:' mod='cheque'}
{displayPrice price=$total}
- {if $use_taxes == 1}
+ {if $use_taxes == 1 && $display_tax_label}
{l s='(tax incl.)' mod='cheque'}
{/if}
diff --git a/themes/hotel-reservation-theme/css/order-opc.css b/themes/hotel-reservation-theme/css/order-opc.css
index 9baa5a9a4..cc24e5c7a 100644
--- a/themes/hotel-reservation-theme/css/order-opc.css
+++ b/themes/hotel-reservation-theme/css/order-opc.css
@@ -260,6 +260,7 @@
}
.order-detail-content .room_price_detail_block .plus-sign{
display: flex;
+ justify-content: space-between;
}
.product_price_detail_block .product_quantity_block, .product_price_detail_block .price_block {
display: inline-block;
diff --git a/themes/hotel-reservation-theme/js/modules/blockcart/ajax-cart.js b/themes/hotel-reservation-theme/js/modules/blockcart/ajax-cart.js
index e3e4ac26f..2d28a903d 100644
--- a/themes/hotel-reservation-theme/js/modules/blockcart/ajax-cart.js
+++ b/themes/hotel-reservation-theme/js/modules/blockcart/ajax-cart.js
@@ -969,7 +969,9 @@ var ajaxCart = {
content += '';
content += '';
content += '';
- content += '| ' + variant_txt + ' | ';
+ if (product.allow_multiple_quantity) {
+ content += '' + variant_txt + ' | ';
+ }
content += '' + qty_txt + '. | ';
content += '' + price_txt + ' | ';
content += ' | ';
@@ -989,7 +991,9 @@ var ajaxCart = {
$.each(options, function(data_k, data_v) {
content += '
';
content += '| ' + data_v.option_name + ' | ';
- content += '' + data_v.quantity + ' | ';
+ if (product.allow_multiple_quantity) {
+ content += '' + data_v.quantity + ' | ';
+ }
content += '' + formatCurrency(parseFloat(data_v.total_price_tax_excl), currency_format, currency_sign, currency_blank) + ' | ';
content += ' | ';
content += '
';
@@ -1054,7 +1058,9 @@ var ajaxCart = {
$.each(options, function(data_k, data_v) {
product_options_content += '';
product_options_content += '| ' + data_v.option_name + ' | ';
- product_options_content += '' + data_v.quantity + ' | ';
+ if (product.allow_multiple_quantity) {
+ product_options_content += '' + data_v.quantity + ' | ';
+ }
product_options_content += '' + formatCurrency(parseFloat(data_v.total_price_tax_excl), currency_format, currency_sign, currency_blank) + ' | ';
product_options_content += ' | ';
product_options_content += '
';
diff --git a/themes/hotel-reservation-theme/modules/bankwire/views/templates/front/payment_execution.tpl b/themes/hotel-reservation-theme/modules/bankwire/views/templates/front/payment_execution.tpl
index 835542afe..bb10d9d07 100644
--- a/themes/hotel-reservation-theme/modules/bankwire/views/templates/front/payment_execution.tpl
+++ b/themes/hotel-reservation-theme/modules/bankwire/views/templates/front/payment_execution.tpl
@@ -53,7 +53,7 @@
- {l s='The total amount of your order is' mod='bankwire'}
{displayPrice price=$total}
- {if $use_taxes == 1}
+ {if $use_taxes == 1 && $display_tax_label}
{l s='(tax incl.)' mod='bankwire'}
{/if}
diff --git a/themes/hotel-reservation-theme/modules/blockcart/cartrow.tpl b/themes/hotel-reservation-theme/modules/blockcart/cartrow.tpl
index 6a1e9ee54..e909aaacf 100644
--- a/themes/hotel-reservation-theme/modules/blockcart/cartrow.tpl
+++ b/themes/hotel-reservation-theme/modules/blockcart/cartrow.tpl
@@ -109,14 +109,18 @@
| {l s='Variant' mod='blockcart'} |
- {l s='Qty.' mod='blockcart'} |
+ {if $product.allow_multiple_quantity}
+ {l s='Qty.' mod='blockcart'} |
+ {/if}
{l s='Price' mod='blockcart'} |
|
{foreach from=$options item=data_v}
| {$data_v.option_name} |
- {$data_v['quantity']} |
+ {if $product.allow_multiple_quantity}
+ {$data_v['quantity']} |
+ {/if}
{convertPrice price=($data_v['total_price_tax_excl'])} |
|
diff --git a/themes/hotel-reservation-theme/modules/cheque/views/templates/front/payment_execution.tpl b/themes/hotel-reservation-theme/modules/cheque/views/templates/front/payment_execution.tpl
index 8fff68f8e..1c44a0afd 100644
--- a/themes/hotel-reservation-theme/modules/cheque/views/templates/front/payment_execution.tpl
+++ b/themes/hotel-reservation-theme/modules/cheque/views/templates/front/payment_execution.tpl
@@ -46,7 +46,7 @@
- {l s='The total amount of your order comes to:' mod='cheque'}
{displayPrice price=$total}
- {if $use_taxes == 1}
+ {if $use_taxes == 1 && $display_tax_label}
{l s='(tax incl.)' mod='cheque'}
{/if}