From 523c7d573cf9c0058ea2245a9ecba433fa7950b0 Mon Sep 17 00:00:00 2001 From: Isabelle Date: Wed, 31 Dec 2025 15:36:30 +0100 Subject: [PATCH] feat(svg_icon): Add svg_icon support for header --- .../views/templates/hook/is_searchbar.tpl | 22 +++++ .../views/templates/hook/is_shoppingcart.tpl | 89 +++++++++++++++++++ .../ps_customersignin/ps_customersignin.tpl | 7 +- 3 files changed, 117 insertions(+), 1 deletion(-) create mode 100644 falcon/modules/is_searchbar/views/templates/hook/is_searchbar.tpl create mode 100644 falcon/modules/is_shoppingcart/views/templates/hook/is_shoppingcart.tpl diff --git a/falcon/modules/is_searchbar/views/templates/hook/is_searchbar.tpl b/falcon/modules/is_searchbar/views/templates/hook/is_searchbar.tpl new file mode 100644 index 0000000..d51da7d --- /dev/null +++ b/falcon/modules/is_searchbar/views/templates/hook/is_searchbar.tpl @@ -0,0 +1,22 @@ + \ No newline at end of file diff --git a/falcon/modules/is_shoppingcart/views/templates/hook/is_shoppingcart.tpl b/falcon/modules/is_shoppingcart/views/templates/hook/is_shoppingcart.tpl new file mode 100644 index 0000000..c15d237 --- /dev/null +++ b/falcon/modules/is_shoppingcart/views/templates/hook/is_shoppingcart.tpl @@ -0,0 +1,89 @@ +{** + * 2007-2020 PrestaShop and Contributors + * + * NOTICE OF LICENSE + * + * This source file is subject to the Academic Free License 3.0 (AFL-3.0) + * that is bundled with this package in the file LICENSE.txt. + * 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 + * @copyright 2007-2020 PrestaShop SA and Contributors + * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) + * International Registered Trademark & Property of PrestaShop SA + *} + +
+ +
diff --git a/falcon/modules/ps_customersignin/ps_customersignin.tpl b/falcon/modules/ps_customersignin/ps_customersignin.tpl index bc98a32..681ff4a 100644 --- a/falcon/modules/ps_customersignin/ps_customersignin.tpl +++ b/falcon/modules/ps_customersignin/ps_customersignin.tpl @@ -34,7 +34,12 @@ {/if} >
- person + {capture name="svg_output"}{svg_icon file='person.svg'}{/capture} + {if $smarty.capture.svg_output} + {$smarty.capture.svg_output nofilter} + {else} + person + {/if}