jihem Posted April 27, 2016 Share Posted April 27, 2016 Bonjour, Si un client coche l'option "emballage cadeau", y-a-t'il moyen que cela apparaisse sur sa facture ? Merci :-) Link to comment Share on other sites More sharing options...
tuk66 Posted May 2, 2016 Share Posted May 2, 2016 (edited) Non, cela ne signifie pas, mais essayez d'utiliser ce (non testé) No, it doesn't mean, but try to use this (not tested) {if isset($order->gift_message) && $order->gift_message} {$order->gift_message|nl2br} {/if} Edited May 2, 2016 by tuk66 (see edit history) Link to comment Share on other sites More sharing options...
jihem Posted May 3, 2016 Author Share Posted May 3, 2016 Merci, je vais essayer ça ! Link to comment Share on other sites More sharing options...
jihem Posted June 16, 2016 Author Share Posted June 16, 2016 Merci mais ça ne marche pas du tout ... Mais j'ai fini par trouver l'astuce ! {if $order->gift != 0} <b>+ Emballage cadeau.</b>{/if} Link to comment Share on other sites More sharing options...
Recommended Posts