| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
2-3 products per row viewing in product listing | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
![]() Flawless!!!
|
|||||||
#12
|
|||||||||
|
|||||||||
![]() ![]() Code:
to reference your thumbnail correctly. ![]() |
|||||||||
#13
|
|||||||
|
|||||||
![]() I am using this in my subcategories, i need the subcats that have icons to display in colums, and the other subcats with out icons i have them display in a row.
I have this working but when i go over 9 icons it list them in a row like the rest of the subcats. Can someone please help me with this. If it helps to see what i am doing here is the link. This is showing my subcats with icons, if you back up one subcat, it list in a row. if I add one more icon to this page it will list it in a row?? http://www.motorsport-depot.com/xcart/customer/home.php?cat=57 here is the code I am using. Code:
|
|||||||
#14
|
|||||||
|
|||||||
![]() OK i fuggered out that it is only letting list the same number of icons as there are top categories.
anyone know how i can write this if statement so that it will list my selected icons/subcats in the colums and if no icons are selected list the subcats in a row? {if $subcategories[cat_num].categoryid eq $icons} |
|||||||
#15
|
|||||||
|
|||||||
![]() Quote:
Hello Boome I also add youre pice of script into the products.tpl file but i get this errormessage Warning: Smarty error: unable to read template resource: "customer/main/product.tpl" in C:\www\shirtshop.nl\testroot\Smarty-2.1.1\Smarty.class.php on line 546 This will appear when i click on the products for selecting Do you what's get wrong? Regards Henk |
|||||||
#16
|
|||||||
|
|||||||
![]() Hi,
I can't find the code you guys are using... mine looks like this: Code:
What should I change to make my products list in 2 columns? Thanks, Guy |
|||||||
#17
|
|||||||
|
|||||||
![]() I can't make this work either. I'm using 3.3.1 is that the problem?
__________________
Gregg Osofsky Version 3.4.4 Gold |
|||||||
#18
|
|||||||
|
|||||||
![]() This works fine in 3.3.1
My code for this is: Code:
HTH
__________________
ex x-cart guru ![]() |
|||||||
#19
|
|||||||
|
|||||||
![]() I'll echo funky - I use the same logic for rows in my featured products, and it's working great.
deb |
|||||||
#20
|
|||||||
|
|||||||
![]() The thing to remember with this 'is odd' thing is that the first item index is 0.
__________________
ex x-cart guru ![]() |
|||||||
|
|||
X-Cart forums © 2001-2020
|