X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Question about editing orders template (Boomer) (https://forum.x-cart.com/showthread.php?t=8056)

bluecat 06-11-2004 03:38 PM

Question about editing orders template (Boomer)
 
Hi. This is actually a free mod that Cart-Labs (Boomer) released, the "Nice Orders View", but I have one question. I've already had a custom mod added to mine where I can search past orders and really just want to do one thing, and that's replacing the "provider" with the "person's name" who ordered, when viewing orders at a glance. Boomer, since you created it, can you tell me what to add and/or delete for their name to show up as opposed to the provider? Or anyone, thanks.

funkydunk 06-16-2004 08:02 AM

yeah there is a bit half way down skin1/main/orders.tpl

that reads:

{if $usertype eq "A"}
{ $orders[cat_num].provider }
{else}
{ $orders[cat_num].firstname } { $orders[cat_num].lastname }
{/if}

change it to:

{ $orders[cat_num].firstname } { $orders[cat_num].lastname }

bluecat 06-29-2004 04:15 AM

Thank you very much funkydunk.


All times are GMT -8. The time now is 01:22 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.