Change your settings in the Admin>Configuration> Maximums> New Product Listing, Limited to ...
Change your settings in the Admin>Configuration> Maximums> New Product Listing, Limited to ...
that is not the problem, I can set it to show 3 items or 6 items with that setting. The issue here is, The heading of that segment is 'New Products for June', and the 3 or 6 items showing is added in in Jan or Feb, not Jun. So its not just New products, its showing everything...
Open your admin and follow my instructions above ^^^^
I believe what you might be referring to is that if you choose 120 days it still reads the current month ...
The code is designed to show the current month based on the define ...
You can alter this in the module using an override for the file:
/includes/modules/new_products.php
and changing this code to what you like ...
What Kim is referring to is the setting for the Actual New Products that are displayed based on when you added these products and what date period they should cover ...PHP Code:if ($new_products->RecordCount() > 0) {
if (isset($new_products_category_id) && $new_products_category_id != 0) {
$category_title = zen_get_categories_name((int)$new_products_category_id);
$title = '<h2 class="centerBoxHeading">' . sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')) . ($category_title != '' ? ' - ' . $category_title : '' ) . '</h2>';
} else {
$title = '<h2 class="centerBoxHeading">' . sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')) . '</h2>';
}
$zc_show_new_products = true;
}
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!