| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Featured Products Not Showing? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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
__________________
X-Cart Gold 4.4.0 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() 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.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
![]() 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?
__________________
X-Cart Gold 4.4.0 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() 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}
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#5
|
|||||||
|
|||||||
![]() 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.
__________________
X-Cart Gold 4.4.0 |
|||||||
#6
|
|||||||
|
|||||||
![]() I suppose nobody knows how to show featured products on a category page that has products already?
__________________
X-Cart Gold 4.4.0 |
|||||||
|
|||
X-Cart forums © 2001-2020
|