| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Color coded order status... | ||||
|
|
Thread Tools | Search this Thread |
#31
|
|||||||
|
|||||||
Trying to further mod this mod....
Well ,this mod has been working very well for me. However, I wanted to improve it but I'm having some troubles. What I would like to do is the following:
We have obviuosly had success color coding this table. However, I want to be able to display some order data within that table. Example: Lets say your color coded table shows two orders. One is complete (green) the other is pending (yellow). On the pending order, I want to be able to see a list of the products associated with that order. http://www.stargatecinema.com/new_table.gif Basically, I need to pull info from the "history_order.tpl" and place it into the "order.tpl". Seems pretty simple, but I think these two tpl's call different php files. *The toggle triangle would be a bonus, but it's above the scope of what I'm trying to do. Any help would be great! Pipercub |
|||||||
#32
|
|||||||
|
|||||||
I think you would have to find where the history_order.tpl posts its data in the sql db. My site isnt live yet so I have no orders but im guessing you would ahve to take that persons order number and search the order_details table and pull all the info you want for each order that matches that # in the table.
I might write something but It would be useless on my site since some of my orders are going to be 1000 items +
__________________
Gibberish [Unix] X-Cart 4.0.12 |
|||||||
#33
|
|||||||||
|
|||||||||
Do you expect many customers will spend the time to add over 1,000 items to their cart one by one?
Not being sarcastic, but quite serious. Do you have something special planned so they can purchase faster? |
|||||||||
#34
|
|||||||
|
|||||||
Re: Trying to further mod this mod....
Quote:
This would be useful... any ideas? |
|||||||
#35
|
|||||||
|
|||||||
is there a way to highlight orders that are shipped 2nd day so those stand out more?
__________________
----------------------- x-cart v4.7.6 [LIVE] x-cart v4.0.18 [retired 2004-2016] x-cart v3.5.13 [retired] x-cart v3.4.14 [retired] |
|||||||
#36
|
|||||||||
|
|||||||||
You need to modify this code in the orders_colors.tpl
Code:
Something like this (this is only a starting point, I'm too busy to develop your mod for you, it's easy you can do it.) Code:
Hope this helps. Good luck. |
|||||||||
#37
|
|||||||
|
|||||||
hey thanks! I couldnt figure out the fields that were in the orders struct. Is there a place where they are defined?
i did something like this in orders.tpl (only support ups): Code:
works good!!! thanks man! [/code]
__________________
----------------------- x-cart v4.7.6 [LIVE] x-cart v4.0.18 [retired 2004-2016] x-cart v3.5.13 [retired] x-cart v3.4.14 [retired] |
|||||||
#38
|
|||||||
|
|||||||
FYI -- These mods worked fine in 3.5.10 -- Thanks everyone!
__________________
Thanks, Phil X-Cart Gold Version 4.4.5 |
|||||||
#39
|
|||||||||
|
|||||||||
No problem. I can't live without this mod. I do a modest # of orders, I have no idea how people who pump 100's a day through their site keep track visually.
|
|||||||||
#40
|
|||||||||
|
|||||||||
This is one of the most underrated mods for everyday users. Nothing is better than visual representation of order status. Especially when you want to browse through a list to see how many are queued, declined etc all in one screen without using filters.
Implementing this in V4.0.5 You need to modify skin1/main/orders_list.tpl Around line 53 change Code:
to Code:
Please also note that you will have to update your orders_colors.tpl file to account for V4 changes. Code:
Please also note that no status colour has been set for Declined "D". You can just copy one of the if statements and add your own. I will follow up with product colour mod as soon as possible. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|