| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Customer chooses between multi column OR normal list view product listings | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Customer chooses between multi column OR normal list view product listings
Does anybody know how, or know of a mod, to modify the product listing page to give the customer a choice between the normal "list" view and the multi column thumbnail view? Ideally I would like to set up buttons/icons which customers can click on to switch views, but a drop down/select box could work too.
If anyone's unclear about what I mean circuitcity.com has their product listing pages setup this way and really like it, so take a look at that. Thanks in advance EDIT: This cart is v4.1.11
__________________
X-cart versions 4.1.11, 4.1.9 & 4.1.8 |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Customer chooses between multi column OR normal list view product listings
Quote:
Try to do this (but first make backup file auth.php): 1. Insert into the file "auth.php" after next lines: PHP Code:
next code: PHP Code:
2. Create new file "change.php" in x-cart root folder with next code: PHP Code:
3. Add in some tpl (head, customer/home or ...) links for a choice between the normal "list" view and the multi column thumbnail view (or change it on select box or images or what you needs): PHP Code:
That all |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Customer chooses between multi column OR normal list view product listings
SWEET! I will give that a try as soon as I can and post my results.
Am I correct in assuming that the 0 per row option will result in the normal list view? Thanks so much, you're awesome.
__________________
X-cart versions 4.1.11, 4.1.9 & 4.1.8 |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Customer chooses between multi column OR normal list view product listings
It works perfectly!
Only thing is it seems to default to the list view upon initial page load, is there any you can think of to make it default to the thumbnail view? Thanks for your help!
__________________
X-cart versions 4.1.11, 4.1.9 & 4.1.8 |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: Customer chooses between multi column OR normal list view product listings
Quote:
change php code in the file "auth.php" to this: PHP Code:
|
|||||||||
#6
|
|||||||||
|
|||||||||
Re: Customer chooses between multi column OR normal list view product listings
Thanks Yurij, but now it seems to be stuck on multi column and won't allow me to switch to list view.
Do you have any other ideas?
__________________
X-cart versions 4.1.11, 4.1.9 & 4.1.8 |
|||||||||
#7
|
|||||||||
|
|||||||||
Re: Customer chooses between multi column OR normal list view product listings
Quote:
Try to change option "Display products list in multiple columns (1-3) (leave empty to use standard format): " in admin area to "0" or empty. |
|||||||||
#8
|
|||||||||
|
|||||||||
Re: Customer chooses between multi column OR normal list view product listings
Thanks, that seems to have done the trick!
__________________
X-cart versions 4.1.11, 4.1.9 & 4.1.8 |
|||||||||
#9
|
|||||||
|
|||||||
Re: Customer chooses between multi column OR normal list view product listings
Wow, It's works great. Yurji, You are awesome! Do you know how to add View all and <Pre / Next> to the product page?
__________________
X-Cart DB Version: 4.1.11 GOLD |
|||||||
#10
|
|||||||
|
|||||||
Re: Customer chooses between multi column OR normal list view product listings
Quote:
Can I see how is it? what is you web site address? And is auth.php same as auth.tpl? is the located in the root folder?
__________________
X-Cart DB Version: 4.1.11 GOLD |
|||||||
|
|||
X-Cart forums © 2001-2020
|