After submitting the 1.2 release, I noticed an error in "catalog/includes/modules/product_listing.php" and "catalog/includes/modules/new_products.php". I had intended to remove products from the catalog listing on the day the expire. The original code, insted, removed them the day after.
in "catalog/includes/modules/product_listing.php"
and "catalog/includes/modules/new_products.php"
find
// BEGIN EXPIRED PRODUCTS 1.1
if ($listing['products_does_expire'] == 0 || ($listing['products_does_expire'] == 1 && $listing['products_date_expire'] >= date('Y-m-d'))) {
// END EXPIRED PRODUCTS 1.1
replace with
// BEGIN EXPIRED PRODUCTS 1.2a
if ($listing['products_does_expire'] == 0 || ($listing['products_does_expire'] == 1 && $listing['products_date_expire'] > date('Y-m-d'))) {
// END EXPIRED PRODUCTS 1.2a
File included is a FULL package
More...




LinkBack URL
About LinkBacks









Bookmarks