To get just Featured Products from the current Category branch, you need to customize the file:
/includes/modules/featured_products.php
for the tpl_product_info_display.php you would need to copy it to your templates and overrides and change the IF from:
Code:
if ( (($manufacturers_id > 0 && $_GET['filter_id'] == 0) || $_GET['music_genre_id'] > 0 || $_GET['record_company_id'] > 0) || (!isset($new_products_category_id) || $new_products_category_id == '0') ) {
to read:
Code:
if ( $_GET['main_page'] != 'product_info' && ((($manufacturers_id > 0 && $_GET['filter_id'] == 0) || $_GET['music_genre_id'] > 0 || $_GET['record_company_id'] > 0) || (!isset($new_products_category_id) || $new_products_category_id == '0')) ) {
This should now produce the Featured Products for the correct category when browsing the Product Details ...
NOTE: Depending on the Layout of your Products and Categories, there may need to be additional tweaking to get just Featured Products from this branch of the Category Tree ...
Bookmarks