![]() |
Need help with moving tracking number field
Ok I went and tried to do this the easy way, and It works...kinda.
In template main/histroy_order.tpl I moved this code: Code:
{$lng.lbl_tracking_number}:<br />I moved it from below the order status drop down and I moved it up the page, just after: Code:
{if $products[prod_num].product_options ne "" && $active_modules.Product_Options ne ''}So the field displays ok, but if I have more than one item with different tracking numbers, it displays whatever the last number was. I am assuming system is just looking at the last one and updating all tracking fields because the fields are all still "order" fields and are not "product" fields. And, I am fairly certain this bit has something to do with it: Code:
{$lng.lbl_tracking_number}:<br />But I am clueless as to what I should do with it. Lil help? |
Re: Need help with moving tracking number field
was this working differently bfore you made the change?
try putting it back to check, not sure why you've also moved the {if $usertype eq "A" or ($usertype eq "P" and $active_modules.Simple_Mode)} without looking at the rest of the code, I would have thought this was not connected to the bit you are trying to edit, moving the start of an if can radically affect your page, I'd move that line back anyway, |
Re: Need help with moving tracking number field
yea that didnt probably need to be moved, but it isn't effecting thiungs either.
The tracking number field worked before I moved it, and it still works, but it is not specific to the part in the order, it is still referring to the whole order itself. I am not sure that is making sense, but its the best I got for now. |
Re: Need help with moving tracking number field
perhaps it was within a loop or section, and now it's not?
|
Re: Need help with moving tracking number field
That code really isn't the issue. I've moved it here and there and it makes no difference.
|
| All times are GMT -8. The time now is 04:39 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.