Merge branch 'ticket-fidelite' into develop
This commit is contained in:
commit
0d92bae9f9
@ -535,10 +535,10 @@ class Loyalty extends Module
|
||||
|
||||
if (Validate::isLoadedObject($params['cart']))
|
||||
{
|
||||
$discount_value = LoyaltyModule::getCartNbPoints($params['cart']);
|
||||
$discount_value = LoyaltyModule::getCartDiscountValue($params['cart']);
|
||||
$smarty->assign(array(
|
||||
'discount_value' => (int)$discount_value,
|
||||
'voucher' => LoyaltyModule::getVoucherValue((int)$discount_value),
|
||||
'discount_value' => $discount_value,
|
||||
'voucher' => $discount_value,
|
||||
'guest_checkout' => (int)Configuration::get('PS_GUEST_CHECKOUT_ENABLED')
|
||||
));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user