Jluis Posted April 11, 2018 Share Posted April 11, 2018 Bonjour , je suis sur un site client , prestashop 1.6.1.14 , la fonctionnalité gift semble incohérente , quand j'active "Proposer des emballages cadeaux" ou pas " pour la commande en cours , il affiche toujour le bloc else de code ( ci dessous ). Quote <span class="label label-inactive"><i class="icon-remove"></i> {l s='Gift wrapping'}</span> ceci est le code du fichier view.tpl <div class="tab-pane active" id="shipping"> <h4 class="visible-print">{l s='Shipping'} <span class="badge">({$order->getShipping()|@count})</span></h4> <!-- Shipping block --> {if !$order->isVirtual()} <div class="form-horizontal"> {if $order->gift_message} <div class="form-group"> <label class="control-label col-lg-3">{l s='Message'}</label> <div class="col-lg-9"> <p class="form-control-static">{$order->gift_message|nl2br}</p> </div> </div> {/if} {include file='controllers/orders/_shipping.tpl'} {if $carrierModuleCall} {$carrierModuleCall} {/if} <hr /> {if $order->recyclable} <span class="label label-success"><i class="icon-check"></i> {l s='Recycled packaging'}</span> {else} <span class="label label-inactive"><i class="icon-remove"></i> {l s='Recycled packaging'}</span> {/if} {if $order->gift} <span class="label label-success"><i class="icon-check"></i> {l s='Gift wrapping'}</span> {else} <span class="label label-inactive"><i class="icon-remove"></i> {l s='Gift wrapping'}</span> {/if} </div> {/if} </div> quelle solution pour réinitialiser cette fonctionnalité qu'au départ ? un contrôleur a été modifié ?? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now