taoufiqaitali Posted July 20, 2015 Share Posted July 20, 2015 (edited) one of my client asked me for that,and when i did some search i'm not find any result so i try to selve it my self to do that 1-go to yourtheme/history.tpl 2- search for {foreach from=$orders item=order name=myLoop} 3 - replace it with {assign var='compt' value=1} {foreach from=$orders item=order name=myLoop} {if $compt==1} {literal} <script> $(function(){ {/literal} showOrder(1, {$order.id_order|intval}, '{$link->getPageLink('order-detail', true)|escape:'html':'UTF-8'}'); {literal} }) </script> {/literal} {$compt=2} {/if} Regards, Taoufiq Edited July 20, 2015 by taoufiqaitali (see edit history) 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