From c3124f5ea246b7b975c7ae532bdbbc5feb16b649 Mon Sep 17 00:00:00 2001 From: abhisheks Date: Sun, 26 Nov 2023 11:50:29 +0530 Subject: [PATCH 1/6] refactor: add icons for account links --- templates/customer/_partials/my-account-links.tpl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/customer/_partials/my-account-links.tpl b/templates/customer/_partials/my-account-links.tpl index 1892017..e2bdbf8 100644 --- a/templates/customer/_partials/my-account-links.tpl +++ b/templates/customer/_partials/my-account-links.tpl @@ -23,12 +23,14 @@ * International Registered Trademark & Property of PrestaShop SA *} {block name='my_account_links'} - - +
+ {l s='Back to your account' d='Shop.Theme.Customeraccount'} - + {l s='Home' d='Shop.Theme.Global'} +
{/block} From 1badadaa3c918a99af0de68b76d4519837d93f79 Mon Sep 17 00:00:00 2001 From: abhisheks Date: Sun, 26 Nov 2023 11:50:56 +0530 Subject: [PATCH 2/6] refactor:override hook for wishlist module --- .../templates/hook/displayCustomerAccount.tpl | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 modules/blockwishlist/views/templates/hook/displayCustomerAccount.tpl diff --git a/modules/blockwishlist/views/templates/hook/displayCustomerAccount.tpl b/modules/blockwishlist/views/templates/hook/displayCustomerAccount.tpl new file mode 100644 index 0000000..579baf7 --- /dev/null +++ b/modules/blockwishlist/views/templates/hook/displayCustomerAccount.tpl @@ -0,0 +1,26 @@ + +{** + * Copyright since 2007 PrestaShop SA and Contributors + * PrestaShop is an International Registered Trademark & Property of PrestaShop SA + * + * NOTICE OF LICENSE + * + * This source file is subject to the Academic Free License version 3.0 + * that is bundled with this package in the file LICENSE.md. + * It is also available through the world-wide-web at this URL: + * https://opensource.org/licenses/AFL-3.0 + * If you did not receive a copy of the license and are unable to + * obtain it through the world-wide-web, please send an email + * to license@prestashop.com so we can send you a copy immediately. + * + * @author PrestaShop SA and Contributors + * @copyright Since 2007 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0 + *} + + + + + {$wishlistsTitlePage} + + From accf657ee603c271b952d235e3e629fca12d0d4c Mon Sep 17 00:00:00 2001 From: abhisheks Date: Sun, 26 Nov 2023 11:51:14 +0530 Subject: [PATCH 3/6] refactor: update my-account page --- templates/customer/my-account.tpl | 62 ++++++++++++++++--------------- 1 file changed, 33 insertions(+), 29 deletions(-) diff --git a/templates/customer/my-account.tpl b/templates/customer/my-account.tpl index 27e9a0b..869cc4a 100644 --- a/templates/customer/my-account.tpl +++ b/templates/customer/my-account.tpl @@ -25,67 +25,71 @@ {extends file='customer/page.tpl'} {block name='page_title'} - {l s='Your account' d='Shop.Theme.Customeraccount'} +

+ {l s='Your account' d='Shop.Theme.Customeraccount'} +

{/block} {block name='page_content'} -
-