cretbogdan Posted March 2, 2013 Posted March 2, 2013 I have installed this contribution http://addons.oscommerce.com/info/7728 . It is working with the mention that it does not add in the sales report the products without manufacturer . I have some products at which i have not selected a manufacturer and those products are not added to the sales report . If it possible to modify something and add to the sales report products without manufacturer too? Or i need to set a manufacturer at each product ?
peteravu Posted October 29, 2013 Posted October 29, 2013 I have installed this contribution http://addons.oscommerce.com/info/7728 . It is working with the mention that it does not add in the sales report the products without manufacturer . I have some products at which i have not selected a manufacturer and those products are not added to the sales report . If it possible to modify something and add to the sales report products without manufacturer too? Or i need to set a manufacturer at each product ? Did you find a fix for the problem? I have same problem, I don't have any manufacturers, and the report come with Thursday 24 October, 2013 0.00 $ 0.00 $ Friday 25 October, 2013 0.00 $ 0.00 $ Saturday 26 October, 2013 0.00 $ 0.00 $ Sunday 27 October, 2013 0.00 $ 0.00 $ Monday 28 October, 2013 0.00 $ 0.00 $ Tuesday 29 October, 2013 0.00 $ 0.00 $ Thanks to all that contributed to separate_price_per_customers_4.2.2_for_2.3.1, Add Multiple Products with plus/minus buttons, One Page Checkout for 2.3.1, Multi Attribute V2, Login Box Club osCommerce Shipping Date Chooser for 2.3.1, Quickly Update Product Stock 3.8.5 Español and order number in email subject Forum, Thanks Designing New Themes the Easy Way, how-to-set-backgrounds. my contributions Add Multiple Product In Product Listing 2.3.1 v.1.0 and Multiple Attribute entry boxes in product info page v1.0 for 2.3.1
peteravu Posted November 2, 2013 Posted November 2, 2013 Did you find a fix for the problem? I have same problem, I don't have any manufacturers, and the report come with Thursday 24 October, 2013 0.00 $ 0.00 $ Friday 25 October, 2013 0.00 $ 0.00 $ Saturday 26 October, 2013 0.00 $ 0.00 $ Sunday 27 October, 2013 0.00 $ 0.00 $ Monday 28 October, 2013 0.00 $ 0.00 $ Tuesday 29 October, 2013 0.00 $ 0.00 $ how to get the report working, without any manufacturers, as I don't have any manufacturers on any of the products? Thanks to all that contributed to separate_price_per_customers_4.2.2_for_2.3.1, Add Multiple Products with plus/minus buttons, One Page Checkout for 2.3.1, Multi Attribute V2, Login Box Club osCommerce Shipping Date Chooser for 2.3.1, Quickly Update Product Stock 3.8.5 Español and order number in email subject Forum, Thanks Designing New Themes the Easy Way, how-to-set-backgrounds. my contributions Add Multiple Product In Product Listing 2.3.1 v.1.0 and Multiple Attribute entry boxes in product info page v1.0 for 2.3.1
peteravu Posted November 10, 2013 Posted November 10, 2013 I think I got it to work but now have 2 new problems. 1. The attributes only count 1 per order like if 5 red it count only 1 in the report not 5. 2. The sort order are i think after orders_products_attributes_id and not attribute name or id this is what i made of changes for the to make it work without manufacturers $this->queryItemCnt = "SELECT op.products_id as pid, op.orders_products_id, op.products_name as pname, sum(op.products_quantity) as pquant, sum(op.final_price * op.products_quantity) as psum, op.products_tax as ptax " . " FROM " . TABLE_ORDERS . " o, " . TABLE_ORDERS_PRODUCTS . " op, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS . " p " . " WHERE o.orders_id = op.orders_id" . " AND op.products_id = p.products_id " . " AND p.manufacturers_id = m.manufacturers_id" . $filterString; to $this->queryItemCnt = "SELECT op.products_id as pid, op.orders_products_id, op.products_name as pname, sum(op.products_quantity) as pquant, sum(op.final_price * op.products_quantity) as psum, op.products_tax as ptax " . " FROM " . TABLE_ORDERS . " o, " . TABLE_ORDERS_PRODUCTS . " op, " . TABLE_PRODUCTS . " p " . " WHERE o.orders_id = op.orders_id" . " AND op.products_id = p.products_id " . $filterString; Thanks to all that contributed to separate_price_per_customers_4.2.2_for_2.3.1, Add Multiple Products with plus/minus buttons, One Page Checkout for 2.3.1, Multi Attribute V2, Login Box Club osCommerce Shipping Date Chooser for 2.3.1, Quickly Update Product Stock 3.8.5 Español and order number in email subject Forum, Thanks Designing New Themes the Easy Way, how-to-set-backgrounds. my contributions Add Multiple Product In Product Listing 2.3.1 v.1.0 and Multiple Attribute entry boxes in product info page v1.0 for 2.3.1
Recommended Posts
Archived
This topic is now archived and is closed to further replies.