Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Do not show featured products again in normal listing

Do not show featured products again in normal listing

Views: 625

Results 1 to 3 of 3
16 Oct 2014, 9:04 AM
#1
khejit avatar

khejit

New Zenner

Join Date:
Aug 2014
Location:
Polska
Posts:
20
Plugin Contributions:
0

Do not show featured products again in normal listing

Hello,
I have featured products listed over normal listing.
How to change the code in listing inside category to not show products which are chosen as featured?:cool:
Cheers
Nicolas

16 Oct 2014, 1:03 PM
#2
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Do not show featured products again in normal listing

khejit:

Hello,
I have featured products listed over normal listing.
How to change the code in listing inside category to not show products which are chosen as featured?:cool:
Cheers
Nicolas

Try admin--configuration--index listing

Thanks,

Anne

16 Oct 2014, 2:47 PM
#3
khejit avatar

khejit

New Zenner

Join Date:
Aug 2014
Location:
Polska
Posts:
20
Plugin Contributions:
0

Re: Do not show featured products again in normal listing

I don't see option for this. I can enable or disable featured below normal listing, but:

  1. I wanted them to be above normal listing, so i added
<?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php');  ?>

on the beginning of tpl_index_product_list.
2) Now I'd like them to appear ONLY above normal listing, marked as featured from this category. So I don't want them to be listed again in normal listing.
Something like: if product is marked as featured, do not show it in normal category listing.:wink: