update breakdown variable name
This commit is contained in:
@@ -152,7 +152,7 @@ class AdminOrderPreferencesControllerCore extends AdminController
|
||||
'identifier' => 'id',
|
||||
'cast' => 'intval'
|
||||
),
|
||||
'PS_AUTO_ADD_SERVICE_BREAKDOWN' => array(
|
||||
'PS_ROOM_PRICE_AUTO_ADD_BREAKDOWN' => array(
|
||||
'title' => $this->l('Show room price breakdown'),
|
||||
'hint' => $this->l('Show a summary for prices of the auto added service add with room on shopping cart list.'),
|
||||
'desc' => $this->l('This breakdown is always visible on room that have cart rule applied for that specific room.'),
|
||||
|
||||
@@ -467,7 +467,7 @@ class OrderOpcControllerCore extends ParentOrderController
|
||||
// 'defaultcurrencySign' => $objCurrency->sign,
|
||||
'THEME_DIR' => _THEME_DIR_,
|
||||
'PS_CUSTOMER_ADDRESS_CREATION' => Configuration::get('PS_CUSTOMER_ADDRESS_CREATION'),
|
||||
'PS_AUTO_ADD_SERVICE_BREAKDOWN' => Configuration::get('PS_AUTO_ADD_SERVICE_BREAKDOWN'),
|
||||
'PS_ROOM_PRICE_AUTO_ADD_BREAKDOWN' => Configuration::get('PS_ROOM_PRICE_AUTO_ADD_BREAKDOWN'),
|
||||
'free_shipping' => $free_shipping,
|
||||
'isGuest' => isset($this->context->cookie->is_guest) ? $this->context->cookie->is_guest : 0,
|
||||
'countries' => $countries,
|
||||
|
||||
@@ -150,7 +150,7 @@
|
||||
<span>
|
||||
{displayPrice price=($rm_v['amount'])}
|
||||
</span>
|
||||
{if (($rm_v['amount'] - $rm_v['amount_without_auto_add']) > 0) && (in_array($data_v['id_product'], $discounted_products) || $PS_AUTO_ADD_SERVICE_BREAKDOWN)}
|
||||
{if (($rm_v['amount'] - $rm_v['amount_without_auto_add']) > 0) && (in_array($data_v['id_product'], $discounted_products) || $PS_ROOM_PRICE_AUTO_ADD_BREAKDOWN)}
|
||||
<span class="room-price-detail">
|
||||
<img src="{$img_dir}icon/icon-info.svg" />
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user