diff --git a/modules/allinone_rewards/plugins/RewardsLoyaltyPlugin.php b/modules/allinone_rewards/plugins/RewardsLoyaltyPlugin.php index bedc55d..daa413f 100644 --- a/modules/allinone_rewards/plugins/RewardsLoyaltyPlugin.php +++ b/modules/allinone_rewards/plugins/RewardsLoyaltyPlugin.php @@ -933,4 +933,9 @@ class RewardsLoyaltyPlugin extends RewardsGenericPlugin { Db::getInstance()->Execute('DELETE FROM `'._DB_PREFIX_.'rewards_product` WHERE `id_product`='.(int)$params['object']->id); } + + public function hookDisplayHeader() + { + $this->context->smarty->assign('link_rewards', $this->context->link->getModuleLink('allinone_rewards', 'rewards', array(), true)); + } } \ No newline at end of file diff --git a/themes/roykin/modules/allinone_rewards/views/templates/hook/shopping-cart.tpl b/themes/roykin/modules/allinone_rewards/views/templates/hook/shopping-cart.tpl index 444080b..935e8ad 100644 --- a/themes/roykin/modules/allinone_rewards/views/templates/hook/shopping-cart.tpl +++ b/themes/roykin/modules/allinone_rewards/views/templates/hook/shopping-cart.tpl @@ -17,7 +17,7 @@ {l s='that can be converted into a voucher for a future purchase.' mod='allinone_rewards'}{if isset($guest_checkout) && $guest_checkout}*{/if}
{if isset($guest_checkout) && $guest_checkout}* {l s='Not available for Instant checkout order' mod='allinone_rewards'}{/if} {else} - {l s='Add some products to your shopping cart to collect some loyalty credits.' mod='allinone_rewards'} + {l s='The selected products are not included in the loyalty program' mod='allinone_rewards'}
{/if}
{l s='Consult my rewards account' mod='allinone_rewards'} diff --git a/themes/roykin/modules/blockmyaccount/blockmyaccount.tpl b/themes/roykin/modules/blockmyaccount/blockmyaccount.tpl index 6a8f60a..9e168c9 100644 --- a/themes/roykin/modules/blockmyaccount/blockmyaccount.tpl +++ b/themes/roykin/modules/blockmyaccount/blockmyaccount.tpl @@ -1,11 +1,17 @@ -
+
{l s='My account' mod='blockmyaccount'}