| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Adding fields to Search display results in Orders Management | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Adding fields to Search display results in Orders Management
Adding fields can help with bookkeeping. I'd like to modify the PHP code to display a few more fields in an Orders Management search result. Currently the search displays Order #, Status, Customer, Date, and Total.
I'd like to also add Country, Subtotal, Taxes, and Shipping Cost too. Does anyone know what files and what code changes could easily add these to search results? Any help is greatly appreciated. BTW, I'm using X-cart 4.4.5 (Unix).
__________________
4.4.5 |
|||||||
#2
|
|||||||
|
|||||||
Re: Adding fields to Search display results in Orders Management
Managed to solve this on my own tonight. For anyone else trying to do this, the code can be added to the orders_list.tpl file under the skin/common_files/main folder. It is beautiful now, I still have the columns as before, but have added columns for shipping country, shipper choice, coupon, discount (sum of discount and coupon discount), discounted subtotal, shipping cost, and tax, plus I summed the dollar totals at the bottom. Monthly bookkeeping is now just a few quick entries of totals for all the orders in a month.
__________________
4.4.5 |
|||||||
#3
|
|||||||||
|
|||||||||
Re: Adding fields to Search display results in Orders Management
Hi, Thanks for the post. I am trying to add the "company name" to the summary. Can you explain how you added the items of show a screen shot of the code changes. I am a bit lost of how to do this minor change.
Many of our wholesale customers have different locations but the same buyer at a single billing address. Bob
__________________
All-Natural Healing Skin and Pet Care Products 4.6.0 Gold, ShipWorks 3 |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Adding fields to Search display results in Orders Management
Quote:
As the topicstarter mentioned earlier, you will need to customize the /common_files/main/orders_list.tpl file. Here is the basic code change you should make ('-' means to remove the loc, '+' means to add one): Code:
Code:
Code:
__________________
Best regards, Igor Pudovkin X-Cart hosting team |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: Adding fields to Search display results in Orders Management
Thank You! Worked perfectly
Bob
__________________
All-Natural Healing Skin and Pet Care Products 4.6.0 Gold, ShipWorks 3 |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: Adding fields to Search display results in Orders Management
Quote:
Glad that you sorted it out
__________________
Best regards, Igor Pudovkin X-Cart hosting team |
|||||||||
|
|||
X-Cart forums © 2001-2020
|