| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Need help with moving tracking number field | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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:
I moved it from below the order status drop down and I moved it up the page, just after: Code:
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:
But I am clueless as to what I should do with it. Lil help?
__________________
Buy Stuff at Heeltoeauto.com! x-cart version 4.4.3 Best Web Hosting at EWD Great mods from Altered Cart BCS for my software modification and integrateion. Working awesome! |
|||||||
#2
|
|||||||||
|
|||||||||
![]() 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,
__________________
X-Cart version 5 (Previously 3.5-4) Previous Versions included BCSE Reward Points Mod Altered Cart On Sale Mod Wordpress Plugin Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there. Shout me a Coffee! |
|||||||||
#3
|
|||||||
|
|||||||
![]() 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.
__________________
Buy Stuff at Heeltoeauto.com! x-cart version 4.4.3 Best Web Hosting at EWD Great mods from Altered Cart BCS for my software modification and integrateion. Working awesome! |
|||||||
#4
|
|||||||||
|
|||||||||
![]() perhaps it was within a loop or section, and now it's not?
__________________
X-Cart version 5 (Previously 3.5-4) Previous Versions included BCSE Reward Points Mod Altered Cart On Sale Mod Wordpress Plugin Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there. Shout me a Coffee! |
|||||||||
#5
|
|||||||
|
|||||||
![]() That code really isn't the issue. I've moved it here and there and it makes no difference.
__________________
Buy Stuff at Heeltoeauto.com! x-cart version 4.4.3 Best Web Hosting at EWD Great mods from Altered Cart BCS for my software modification and integrateion. Working awesome! |
|||||||
|
|||
X-Cart forums © 2001-2020
|