| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Show All Products in Catagory | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Show All Products in Catagory
I know there have been a couple of mods that do this but most of them require alot of hacking the system.
Heres a quick mod to give you a "Show All" link next to your page results. Quick and painless like. (Please note this mod is for 4.1.2! i do not know if this will work on older versions as I have never used them) Instructions: Locate this section in the init.php around line #329: Code:
Add this right after the closing if statment: Code:
Next open up /customer/main/navigation.tpl around line 4 locate: Code:
Add this right after the /td: Code:
Hope this helps |
|||||||
|
#2
|
|||||||
|
|||||||
Nice one!
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
Works great in 4.1.0.
Thanks.!
__________________
Mike Kenzie X Cart Gold Ver. 4.1.3 X-RMA X-AOM X-Product Comparison |
|||||||
#4
|
|||||||
|
|||||||
Did you get this to work in the admin side? It works in the customer side, but not in the admin side.
Thanks
__________________
Mike Kenzie X Cart Gold Ver. 4.1.3 X-RMA X-AOM X-Product Comparison |
|||||||
#5
|
|||||||
|
|||||||
Works great in 4.0.17 if you order config.php instead of init.php
Thank you very much! |
|||||||
#6
|
|||||||
|
|||||||
hi folks. version 4.07. I cannnot find init.php.. i looked in config.php.. but the snippet of code is not the same as in init.php
can someone advise on how to make this work??? tia garz 4.07 php linux
__________________
xcart ver 4.xx/linux/php |
|||||||
#7
|
|||||||
|
|||||||
To get this to work in the admin screen... Change the following line from the mod:
Code:
To this: Code:
As for getting this to work in 4.0.7... I've never used it.. But all you should need to do is locate the section of code that pulls in the config info from the database... Right after it, change the varriable that sets the displayed products to some un-reachable number... I set it to 500 as I can't see how any more then that would even load on the page. But you're welcome to set this number to any number you wish. |
|||||||
#8
|
|||||||
|
|||||||
Re: Show All Products in Catagory
One more question -
Know how to either not show the "Show All" link on the manufacturers page or have it work on the manufacturers page? Thanks.
__________________
Mike Kenzie X Cart Gold Ver. 4.1.3 X-RMA X-AOM X-Product Comparison |
|||||||
#9
|
|||||||
|
|||||||
Re: Show All Products in Catagory
Thanks for pointing this out...
Heres the updated init.php to fix the admin orders screen and the manufaturers page. Code:
To turn this off for both the orders screens and the Manufactureres screens go back to the section in /customer/main/navigation.tpl and change this: Code:
To this: Code:
|
|||||||
#10
|
|||||||
|
|||||||
Re: Show All Products in Catagory
Did anybody get this mod to work for 4.0.18 on the customer side?
__________________
Skateboards.com/Surfboards.com ------------------------------------------ X-Cart Pro 4.0.18 ------------------------------------------ phpMyAdmin 2.6.4 ------------------------------------------ MySQL 4.1.12 ------------------------------------------ CentOS release 4.4 |
|||||||
|
|||
X-Cart forums © 2001-2020
|