Création d'un module LivraisonForfaitaire pour pouvoir choisir les frais de livraisons sur les commandes passées depuis le backOffice
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{if $smarty.get.back == '1'}
|
||||
{$exclude = "0"}
|
||||
{else}
|
||||
{$exclude = "40"}
|
||||
{$exclude = "40,48"}
|
||||
{/if}
|
||||
{form name="thelia.order.delivery"}
|
||||
|
||||
@@ -49,7 +49,17 @@
|
||||
<td>
|
||||
<div class="price">
|
||||
{if $POSTAGE >= 0}
|
||||
{format_money number=$POSTAGE symbol={currency attr='symbol'}}
|
||||
{if $CODE eq "LivraisonForfaitaire"}
|
||||
{assign var="montantsChaine" value={config key="livraisons_forfaitaires.montants"}|default:"0"}
|
||||
{assign var="montantsTableau" value=";"|explode:"$montantsChaine"}
|
||||
<select id="select-forfait" name="select-forfait">
|
||||
{foreach from=$montantsTableau item=montant}
|
||||
<option value="{$montant}">{format_money number="{$montant}" symbol={currency attr='symbol'}}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
{else}
|
||||
{format_money number=$POSTAGE symbol={currency attr='symbol'}}
|
||||
{/if}
|
||||
{else}
|
||||
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user