Modif du message en cas de stock bas
This commit is contained in:
@@ -3,11 +3,9 @@
|
||||
return [
|
||||
'fo.boutique' => [
|
||||
'Available' => 'Disponibilité',
|
||||
'Checkout' => 'Commander',
|
||||
'Composez vos coffrets' => 'Composez vous-même votre panière',
|
||||
'Composition' => 'Faites plaisir à vos proches',
|
||||
'Description' => 'Plus d\'infos...',
|
||||
'Log out!' => 'Se déconnecter',
|
||||
'Only In' => 'uniquement en pot de',
|
||||
'Options' => 'Contenance du pot',
|
||||
'Related' => 'En relation...',
|
||||
|
||||
@@ -45,10 +45,10 @@ return array(
|
||||
'Change my account information' => 'Modifier mes informations personnelles',
|
||||
'Change my password' => 'Changer mon mot de passe',
|
||||
'Check my order' => 'Vérifier ma commande',
|
||||
'Checkout' => 'Checkout',
|
||||
'Choose your delivery address' => 'Choisissez une adresse de livraison',
|
||||
'Choose your delivery method' => 'Choisissez votre moyen de livraison',
|
||||
'Choose your payment method' => 'Choisissez votre moyen de paiement',
|
||||
'Click to apply coupon' => 'Cliquez sur le bouton "Ok" ci-dessous pour appliquer votre code promotion.',
|
||||
'Code :' => 'Code :',
|
||||
'Composez vos coffrets' => 'Composez vos coffrets',
|
||||
'Composition' => 'Composition',
|
||||
@@ -82,6 +82,7 @@ return array(
|
||||
'Edit' => 'Modifier',
|
||||
'Edit this address' => 'Editer cette adresse',
|
||||
'Estimated shipping ' => 'Estimation des frais de port',
|
||||
'Estimated weight %weight' => '(pour un poids total estimé à %weight kg)',
|
||||
'Expected delivery date: %delivery_date' => 'Date de livraison estimée :',
|
||||
'Forgot your Password?' => 'Mot de passe oublié ?',
|
||||
'Free shipping' => 'Livraison gratuite',
|
||||
@@ -99,9 +100,9 @@ return array(
|
||||
'Language' => 'Langue',
|
||||
'Latest' => 'Nouveautés',
|
||||
'Latest products' => 'Derniers produits',
|
||||
'Limited stock' => 'Stock limité',
|
||||
'List' => 'Liste',
|
||||
'List of orders' => 'Liste de mes commandes',
|
||||
'Log out!' => 'Log out!',
|
||||
'Login' => 'Connexion',
|
||||
'Login Information' => 'Informations de connexion',
|
||||
'Main Address' => 'Adresse Principale',
|
||||
@@ -133,7 +134,7 @@ return array(
|
||||
'Order details %ref' => 'Détail de la commande %ref',
|
||||
'Order number' => 'Commande numéro',
|
||||
'Orders over $50' => 'Commande supérieure à 50€',
|
||||
'Out of Stock' => 'Hors stock',
|
||||
'Out of Stock' => 'Victime de son succès',
|
||||
'PDF invoice' => 'Facture PDF',
|
||||
'Pagination' => 'Pagination',
|
||||
'Password' => 'Mot de passe',
|
||||
@@ -262,7 +263,4 @@ return array(
|
||||
'per page' => 'par page',
|
||||
'update' => 'mettre à jour',
|
||||
'with:' => 'avec :',
|
||||
|
||||
'Click to apply coupon' => 'Cliquez sur le bouton "Ok" ci-dessous pour appliquer votre code promotion.',
|
||||
'Estimated weight %weight' => '(pour un poids total estimé à %weight kg)',
|
||||
);
|
||||
|
||||
@@ -123,7 +123,7 @@
|
||||
<h1 class="name"><span itemprop="name">{$TITLE}</span><span id="pse-name" class="pse-name" hidden></span></h1>
|
||||
|
||||
{loop name="brand_info" type="brand" product={$ID} limit="1"}
|
||||
<p><a href="{$URL nofilter}" title="{intl l="More information about this brand"}"><span itemprop="brand">{$TITLE}</span></a></p>
|
||||
<p><a href="{$URL nofilter}" title="{intl l='More information about this brand'}"><span itemprop="brand">{$TITLE}</span></a></p>
|
||||
{/loop}
|
||||
|
||||
{if $POSTSCRIPTUM}<div class="short-description">
|
||||
@@ -157,7 +157,7 @@
|
||||
</span>
|
||||
|
||||
<!-- TheCoreDev le 01/11/2019 : affichage d'un message en cas de stock bas //-->
|
||||
{if {$QUANTITY} <= {config key="thecoredev_seuil_alerte_stock" default="1"}}
|
||||
{if {$QUANTITY} <= {config key="thecoredev_seuil_alerte_stock" default="1"} && ({$QUANTITY} > 0)}
|
||||
{intl l='Limited stock' d='prixdegressifs'}
|
||||
{/if}
|
||||
|
||||
@@ -172,7 +172,7 @@
|
||||
{* List of condition : NewCondition, DamagedCondition, UsedCondition, RefurbishedCondition *}
|
||||
<meta itemprop="itemCondition" itemtype="http://schema.org/ItemCondition" content="NewCondition">
|
||||
{* List of currency : The currency used to describe the product price, in three-letter ISO format. *}
|
||||
<meta itemprop="priceCurrency" content="{currency attr="code"}">
|
||||
<meta itemprop="priceCurrency" content="{currency attr='code'}">
|
||||
|
||||
<span id="pse-promo">
|
||||
<span class="special-price"><span class="price-label">{intl l="Special Price:"} </span><span id="pse-price" class="price">{format_money number=$TAXED_PROMO_PRICE symbol={currency attr="symbol"}}</span></span>
|
||||
@@ -190,7 +190,7 @@
|
||||
</div>
|
||||
|
||||
{form name="thelia.cart.add" }
|
||||
<form id="form-product-details" action="{url path="/cart/add" }" method="post" class="form-product">
|
||||
<form id="form-product-details" action="{url path='/cart/add' }" method="post" class="form-product">
|
||||
{form_hidden_fields}
|
||||
<input type="hidden" name="view" value="product">
|
||||
<input type="hidden" name="product_id" value="{$ID}">
|
||||
@@ -232,7 +232,7 @@
|
||||
|
||||
<fieldset class="product-cart form-inline">
|
||||
{form_field field='quantity'}
|
||||
<div class="form-group group-qty {if $error}has-error{elseif $value != "" && !$error}has-success{/if}">
|
||||
<div class="form-group group-qty {if $error}has-error{elseif $value != '' && !$error}has-success{/if}">
|
||||
<label id="lblQuantity" for="{$label_attr.for}">{$label}</label>
|
||||
<input type="number" name="{$name}" id="{$label_attr.for}" class="form-control" value="{$value|default:1}" min="1" required>
|
||||
{if $error }
|
||||
@@ -384,7 +384,7 @@
|
||||
// Product sale elements
|
||||
var PSE_FORM = true;
|
||||
var PSE_COUNT = {$pse_count};
|
||||
{if $check_availability == 0 || $product_virtual == 1 }
|
||||
{if ($check_availability == 0) || ($product_virtual == 1) }
|
||||
var PSE_CHECK_AVAILABILITY = false;
|
||||
{else}
|
||||
var PSE_CHECK_AVAILABILITY = true;
|
||||
|
||||
Reference in New Issue
Block a user