![]() |
Featured Products Not Showing?
Hello,
I think we may have modified a template somehow removing featured products from displaying. When I add a featured product to a category it just doesn't show. Any ideas where to start? I see nothing in the home.tpl file. Thanks |
Re: Featured Products Not Showing?
Are they appearing on the home page as they should?
Home page featured products are called from skin1/customer/main/welcome.tpl Featured products on the categories pages are called from skin1/customer/main/subcategories.tpl Look for this code at the bottom: {include file="customer/main/featured.tpl"} Don't forget, featured products only appear on the categories pages when there are no actual products, ie just subcategories. |
Re: Featured Products Not Showing?
Thanks paul,
No, they're not showing on the home page, but that's probably because I've altered something there. Our home page is different now. How do I get it to show featured products at the top of the page regardless of if there are products in a category? |
Re: Featured Products Not Showing?
Try removing the if statement around it that says "if there are no products, show the featured products".
So: {if $products eq ""} {if $f_products ne ""} <p /> {include file="customer/main/featured.tpl"} {/if} {/if} becomes: {if $f_products ne ""} <p /> {include file="customer/main/featured.tpl"} {/if} |
Re: Featured Products Not Showing?
I tried this different ways and it still won't work. I did test it in an empty category and they did show up though. I just need this on pages with products.
|
Re: Featured Products Not Showing?
I suppose nobody knows how to show featured products on a category page that has products already?
|
All times are GMT -8. The time now is 05:55 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.