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} + + diff --git a/templates/catalog/_partials/product-cover-thumbnails.tpl b/templates/catalog/_partials/product-cover-thumbnails.tpl index aaf8111..396d329 100644 --- a/templates/catalog/_partials/product-cover-thumbnails.tpl +++ b/templates/catalog/_partials/product-cover-thumbnails.tpl @@ -22,15 +22,15 @@ * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA *} -
+
{block name='product_cover'} -
- {$product.cover.legend} +
+ {$product.cover.legend}
{/block} {block name='product_images'} -
+
    {foreach from=$product.images item=image}
  • diff --git a/templates/customer/_partials/block-address.tpl b/templates/customer/_partials/block-address.tpl index 433672d..04ecf13 100644 --- a/templates/customer/_partials/block-address.tpl +++ b/templates/customer/_partials/block-address.tpl @@ -23,23 +23,21 @@ * International Registered Trademark & Property of PrestaShop SA *} {block name='address_block_item'} - +
{/block} 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'} - {/block} diff --git a/templates/customer/addresses.tpl b/templates/customer/addresses.tpl index 8d59bc7..e6121c9 100644 --- a/templates/customer/addresses.tpl +++ b/templates/customer/addresses.tpl @@ -25,21 +25,25 @@ {extends file='customer/page.tpl'} {block name='page_title'} - {l s='Your addresses' d='Shop.Theme.Customeraccount'} +

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

{/block} {block name='page_content'} - {foreach $customer.addresses as $address} -
- {block name='customer_address'} - {include file='customer/_partials/block-address.tpl' address=$address} - {/block} -
- {/foreach} +
+ {foreach $customer.addresses as $address} +
+ {block name='customer_address'} + {include file='customer/_partials/block-address.tpl' address=$address} + {/block} +
+ {/foreach} +
diff --git a/templates/customer/history.tpl b/templates/customer/history.tpl index 422757f..63b36d3 100644 --- a/templates/customer/history.tpl +++ b/templates/customer/history.tpl @@ -25,95 +25,69 @@ {extends file='customer/page.tpl'} {block name='page_title'} - {l s='Order history' d='Shop.Theme.Customeraccount'} +

+ {l s='Order history' d='Shop.Theme.Customeraccount'} +

{/block} {block name='page_content'} -
{l s='Here are the orders you\'ve placed since your account was created.' d='Shop.Theme.Customeraccount'}
+
{l s='Here are the orders you\'ve placed since your account was created.' d='Shop.Theme.Customeraccount'}
{if $orders} - +
- - - + + + {foreach from=$orders item=order} - - - - - - + + + + - - {/foreach}
{l s='Order reference' d='Shop.Theme.Checkout'} {l s='Date' d='Shop.Theme.Checkout'} {l s='Total price' d='Shop.Theme.Checkout'}{l s='Payment' d='Shop.Theme.Checkout'}{l s='Status' d='Shop.Theme.Checkout'}{l s='Invoice' d='Shop.Theme.Checkout'}{l s='Payment' d='Shop.Theme.Checkout'}{l s='Status' d='Shop.Theme.Checkout'}{l s='Invoice' d='Shop.Theme.Checkout'}  
{$order.details.reference}{$order.details.order_date}{$order.totals.total.value}{$order.details.payment} - +
{$order.details.reference} + {$order.details.order_date}{$order.totals.total.value}{$order.details.payment} {$order.history.current.ostate_name} - + {if $order.details.invoice_url} - + + + {else} - {/if} + - {l s='Details' d='Shop.Theme.Customeraccount'} + +

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

{if $order.details.reorder_url} - {l s='Reorder' d='Shop.Theme.Actions'} + + +

+ {l s='Reorder' d='Shop.Theme.Actions'} +

+
{/if}
- -
- {foreach from=$orders item=order} -
-
-
-

{$order.details.reference}

-
{$order.details.order_date}
-
{$order.totals.total.value}
-
- - {$order.history.current.ostate_name} - -
-
-
- - {if $order.details.reorder_url} - - {/if} -
-
-
- {/foreach} + {else} +
+ You have not placed any orders yet !
- {/if} {/block} 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'} -