Pascal-pbimedia Posted December 20, 2014 Share Posted December 20, 2014 Bonjour à tous, voilà, je souhaites supprimer la ligne "Bon de réduction" lors de la récap du panier en fin de commande. Il existe une règle de panier (un % de réduction attribué en fonction du montant de la commande), mais cette règle se calculent automatiquement et le bon de réduction n'a plus d'intérêt du coup. Comment puis-je le supprimer, sans supprimer mes règles de panier ? Merci d'avance pour vos réponse. Pascal Link to comment Share on other sites More sharing options...
Eolia Posted December 21, 2014 Share Posted December 21, 2014 Dans votre_theme/order-detail.tpl commentez ou supprimez le bloc: {foreach from=$discounts item=discount} <tr class="item"> <td>{$discount.name|escape:'html':'UTF-8'}</td> <td>{l s='Voucher'} {$discount.name|escape:'html':'UTF-8'}</td> <td><span class="order_qte_span editable">1</span></td> <td> </td> <td>{if $discount.value != 0.00}-{/if}{convertPriceWithCurrency price=$discount.value currency=$currency}</td> {if $return_allowed} <td> </td> {/if} </tr> {/foreach} 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