| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Featured Products in Sub-Categories | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() In another thread I was testing variants and featured products list when I noticed this strange little thing. I'm not entirely sure if I misunderstood the X-Cart documentation but my understanding is in any category including root category we can have a seperate featured product lists which is viewable upon viewing the category. Now I'm not sure if it is viewable on the 2nd page of a particular sub-category but I'm not too worried about that just now, what I am concerned with is the fact that I'm not able to view ANY "featured product list" on my sub-category. At first I thought it was because one of the featured products was listed in that category already so I added another product from another category which yielded the same results. Looking at Webmaster Mode, it didn't show the featured product list's TPL so I'm wondering if I misunderstood something. I've looked on both the printable and regular pages and tested it on the demo X-Cart site and could not see the featured product list in my sub-category. Root category displays without any problems.
I'm not sure if one of the settings I have enabled/modified for X-Cart made it so but I'm using multiple columns (X-Cart demo isn't). If someone could verify or clarify the issue, that would be great.
__________________
4.1.8 |
|||||||
#2
|
|||||||
|
|||||||
![]() Open up customer/main/subcategories.tpl. Replace this:
{if $products eq ""} {if $f_products ne ""} <P> {include file="customer/main/featured.tpl"} {/if} {/if} with this: {if $f_products ne ""} <P> {include file="customer/main/featured.tpl"} {/if}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Hm...I'm sorry I forgot to mention this was for a 4.1.3 site. Not sure if it makes a difference but it doesn't seem to include the featured product lists.
Thanks for the reply ![]()
__________________
4.1.8 |
|||||||
#4
|
|||||||
|
|||||||
![]() Ahhh...no, that was for the version in your signature
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() Guess it's time for the inevitable....time to update the signature :S
__________________
4.1.8 |
|||||||
#6
|
|||||||
|
|||||||
![]() Looks like 4.1.3 has the same code...it didn't fix anything?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() Nope, I even added a little "Hello" message inside the IF like below and that didn't show. Cleared my cache too. Let me output $f_products to see what's in it.
Code:
EDIT: Yup $f_products is empty.
__________________
4.1.8 |
|||||||
|
|||
X-Cart forums © 2001-2020
|