
Originally Posted by
Thannaree
There seems to be 2 little bugs:
- When there is no product on the Featured page, there is a TEXT_NO_PRODUCTS but not the actual text.
- When there is no product on the Specials page, there is nothing at all on the page (No title, Sort-by box etc).
Please advise
The issue where product listing pages (eg new products) display TEXT_NO_PRODUCTS instead of something like "More new products will be added soon. Please check back later" (TEXT_NO_NEW_PRODUCTS) is caused by the file
/includes/templates/westminster_new/templates/tpl_products_new_default.php
To fix that bug open that file and change line 19 from:
Code:
require($template->get_template_dir('tpl_modules_product_listing.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_product_listing.php');
to:
Code:
require($template->get_template_dir('tpl_modules_products_new_listing.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_products_new_listing.php');
I have only tackled the new products but not specials nor featured products listings.
Anne might have a solution along similar lines.
Cheers / Frank
Bookmarks