Skip to main content

<!--{ENDIF:ORDER_ANY}-->

More
12 years 9 months ago - 12 years 9 months ago #136836 by erickb
-- HikaShop version -- : 223

dans un email de notification de commande .modified des emails je veux afficher un TR de tableaux uniquement si une valeur n'est pas vide

dans le preload.modified
Code:
if($data->order->order_status == 'refused' ){ $texts['ORDER_SHIPPING_INFOS'] = ''; }

dans le mail.modified
Code:
<!--{IF:ORDER_SHIPPING_INFOS}--> <tr> <td> {TXT:ORDER_SHIPPING_INFOS}</td> </tr> <!--{ENDIF:ORDER_SHIPPING_INFOS}-->

mais ca ne marche pas
comment afficher ce TR uniquement si {TXT:ORDER_SHIPPING_INFOS} n'est pas vide ?


merci
Last edit: 12 years 9 months ago by erickb.

Please Log in or Create an account to join the conversation.

More
12 years 9 months ago - 12 years 9 months ago #136838 by erickb
Replied by erickb on topic <!--{ENDIF:ORDER_ANY}-->
j'ai contourne le probleme avec
Code:
$vars|'DISPLAY'| = 0; ] <!--{IF:DISPLAY}--> <tr> <td>> {TXT:ORDER_SHIPPING_INFOS}</td> </tr> <!--{ENDIF:DISPLAY}-->
Last edit: 12 years 9 months ago by erickb.

Please Log in or Create an account to join the conversation.

Time to create page: 0.189 seconds
Powered by Kunena Forum