This is a discussion on Limit new products or bestsellers by date within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; I corrected some errors in the previous upload for best_seller.php Specifically, the clause {p.products_quantity = 1} was restricting the best ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| I corrected some errors in the previous upload for best_seller.php Specifically, the clause {p.products_quantity = 1} was restricting the best sellers list to products whose stock quantity is equal to 1, the clause {p.products_quantity < 4} was measuring total stock, not quantity ordered for a given order, et cetera. Also, though the date range restriction was working, the quantity sold was taken as total quantity sold for all time, not the quantity sold during the date period of the date range restriction. I fixed this too. best_sellers.php now works as intended. More...
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Select a delivery date (or a shipping date) | laura90059 | osCMax v2 Customization/Mods | 0 | 11-20-2007 08:30 AM |
| Products Purchased with Date Range | michael_s | New osCommerce Contributions | 0 | 09-08-2007 04:12 PM |
| Limit maximum number of products in basket | robroymedia | osCMax v1.7 General Mods Discussion | 2 | 07-07-2004 08:38 AM |
| How to limit 'new products' | SnowBord | osCMax v1.7 Discussion | 1 | 01-01-2004 03:32 PM |
| Upcoming Products reverse date sort | mdanby | osCommerce 2.2 Modification Help | 0 | 10-30-2003 09:05 AM |