so i have a page that is slow to load.
I have tried various alterations to this code but nothing has seemed to work for me. I read that 'Switchee' may be a solution, but i am not so sure.
So I have six 'product' channels, and within each there is one field that asks 'is this a new product?' It is a dropdown field, with 'NO' being the default. If a new entry in any channel is created, and the user selects 'YES' for this field, the product will appear on the 'What's New' page.
{exp:channel:entries channel="fprod" disable="category_fields|member_data|pagination|trackbacks" dynamic="no"}
{if f_wn == "YES"}
Product title, thumbnail, category (brand), etc.
{/if}
{/exp:channel:entries}
{exp:channel:entries channel="bprod" disable="category_fields|member_data|pagination|trackbacks"}
{if b_wn == "YES"}
Product title, thumbnail, category (brand), etc.
{/if}
{/exp:channel:entries}
{exp:channel:entries channel="nprod" disable="category_fields|member_data|pagination|trackbacks"}
{if n_wn == "YES"}
Product title, thumbnail, category (brand), etc.
{/if}
{/exp:channel:entries}
{exp:channel:entries channel="hprod" disable="category_fields|member_data|pagination|trackbacks"}
{if h_wn == "YES"}
Product title, thumbnail, category (brand), etc.
{/if}
{/exp:channel:entries}
{exp:channel:entries channel="eprod" disable="category_fields|member_data|pagination|trackbacks"}
{if e_wn == "YES"}
Product title, thumbnail, category (brand), etc.
{/if}
{/exp:channel:entries}
{exp:channel:entries channel="aprod" disable="category_fields|member_data|pagination|trackbacks"}
{if a_wn == "YES"}
Product title, thumbnail, category (brand), etc.
{/if}
{/exp:channel:entries}
This works fine but apart from the slow load time, the client wants the most recently added 'new' product to appear at the top of the page (not just at the top of its related channel results.
Could someone please help in improving this, if possible? Would be much appreciated!