Jluis Posted February 6, 2018 Share Posted February 6, 2018 Salut , je viens de modifier le fichier view.tpl issue du racine www\admin-monsite\themes\default\template\controllers\orders\helpers\view . Le code initial est comme ceci : {if Configuration::get('PS_ORDER_RETURN')} <a id="desc-order-standard_refund" class="btn btn-default" href="#refundForm"> <i class="icon-exchange"></i> {if $order->hasBeenShipped()} {l s='Return products'} {elseif $order->hasBeenPaid()} {l s='Standard refund'} {else} {l s='Cancel products'} {/if} </a> {/if} la modification apportée est : {if Configuration::get('PS_ORDER_RETURN')} <a id="desc-order-standard_refund" class="btn btn-default" href="#refundForm"> <i class="icon-exchange"></i> {if $order->hasBeenShipped()} {l s='Return products'} {elseif $order->hasBeenPaid()} <a id="desc-order-standard_refund" class="btn btn-default" href="#refundForm"> {l s='Standard refund'}</a> <a id="desc-order-standard_refund" class="btn btn-default" href="#refundForm"> {l s='Return products'}</a> {else} <a id="desc-order-standard_refund" class="btn btn-default" href="#refundForm"> {l s='Cancel products'} </a> <a id="desc-order-standard_refund" class="btn btn-default" href="#refundForm"> {l s='Return products'}</a> {/if} </a> {/if} le résultat parait comme voulu mais le souci est si cette modification est de bonne pratique sur cette fichier www\admin-monsite\themes\default\template\controllers\orders\helpers\view.tpl Merci d'avance 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