[07/03/2025] Utilisation d'une variable globale pour le téléphone, dans le bandeau et les fiches produit

This commit is contained in:
2025-03-07 23:04:56 +01:00
parent 8d68ac278f
commit a09aa11f16
2 changed files with 6 additions and 2 deletions

View File

@@ -17,6 +17,9 @@
{if not $store_name}{assign var="store_name" value={intl l='Thelia V2'}}{/if}
{if not $store_description}{assign var="store_description" value={$store_name}}{/if}
{assign var="telephone_abrege" value={config key="telephone_boutique"}}
{$telephone_abrege = {$telephone_abrege|substr:1|replace:' ':''}}
{* paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither *}
<!--[if lt IE 7 ]><html class="no-js oldie ie6" lang="{$lang_code}"> <![endif]-->
<!--[if IE 7 ]><html class="no-js oldie ie7" lang="{$lang_code}"> <![endif]-->
@@ -146,7 +149,7 @@
<div class="telephone">
<span class="phonealign glyphicon glyphicon-phone">&nbsp;</span>
<span class="phonealign phonenumber">
<a href="tel:+33631903251" title="phone">Service client : 06 31 90 32 51</a>
<a href="tel:+33{$telephone_abrege}" title="phone">Service client : {config key="telephone_boutique"}</a>
</span>
<br />
<span class="phonetext"><b>OUVERT 7/7j</b> 10H/12H 14H/18H</span>