| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Custom Sales Reports by Product (item total and by qty) | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#61
|
|||||||
|
|||||||
![]()
__________________
X-Cart Gold v4.1.11 |
|||||||
#62
|
|||||||||
|
|||||||||
![]() Hi, Actually this code on lists the sku. I have this implemented and it helps for sure. What I want to be able to do is to sort by sku so that my reports are always in the same order versus ranking by revenue or units.
Regards, Bob
__________________
All-Natural Healing Skin and Pet Care Products 4.6.0 Gold, ShipWorks 3 |
|||||||||
#63
|
|||||||
|
|||||||
![]() Code:
__________________
X-Cart Gold v4.1.11 |
|||||||
#64
|
|||||||
|
|||||||
![]() Added above to search by SKU, don't forget to add database access. Apologies for removing Created by Jeremy Eastburn etc, had to remove as forum limited by 10,000 characters
__________________
X-Cart Gold v4.1.11 |
|||||||
#65
|
|||||||||
|
|||||||||
![]() Using 4.1.10 the code above works after deleting the "require" lines. One bug though - if your date range is bigger than the days in month it shows sales for next month. Example - date range from April 1 to April 31 (April has 30 days not 31) it will show wrong output as it takes April 31 as May 1 I assume. Not a big deal just wanted to point out be careful when selecting date range.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#66
|
|||||||||
|
|||||||||
![]() I have the reports running, but it does not match my x-cart main page or my orders page. I ran the orders for this month that are complete and the report is much higher than what x-cart says by a few thousand $. When I run the orders in process, it matches perfectly.
As a fyi, we do use discount coupons and have used the "other discount" AOM feature. It seems like it has something to do with reporting on a pre-discounted sub-total.
__________________
All-Natural Healing Skin and Pet Care Products 4.6.0 Gold, ShipWorks 3 |
|||||||||
#67
|
|||||||||
|
|||||||||
![]() Quote:
Thanks for this code. Sorry when I responded, it looked like the old code. Your addition works great except per my other post, that the report does not take into account any discounts. It appears to be a price * amount report. I need to report actual revenue minus shipping and discounts. Unfortunately, these equations are not my forte. This should be a caution to all that use the reports and use discounts and coupons. Your reports are probably incorrect. Regards, Bob
__________________
All-Natural Healing Skin and Pet Care Products 4.6.0 Gold, ShipWorks 3 |
|||||||||
#68
|
|||||||
|
|||||||
![]() Is there anyway to modify the code to show either how much the discounts/coupons for that product were or to show what was actually paid for the product?
__________________
www.scraporchard.com X-Cart Pro Version 4.5.5 Altered Cart: One Page Checkout, OnSale, Buy Together, Download Expander, Smart Search, Shop by Filters Gahela: Gahela Support System The xCart Store: xBanners, xAccess, xMenus |
|||||||
#69
|
|||||||
|
|||||||
![]() Wow- what a great tool.
Thanks! Jason
__________________
JKW X-Cart 4.4.2 |
|||||||
#70
|
|||||||
|
|||||||
![]() Has anyone been able to get this to work for v 4.2.2?
__________________
Version 4.4.4 |
|||||||
|
|||
X-Cart forums © 2001-2020
|