| ||||||||||
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 |
#51
|
|||||||
|
|||||||
Re: Show All Products in Catagory
I guess this is not one of the feature that X-cart can have. Try other shopping cart that might be a better chance.
__________________
X-Cart DB Version: 4.1.11 GOLD |
|||||||
#52
|
|||||||
|
|||||||
Re: Show All Products in Catagory
Has anyone managed to get the "View all products" function working on version 4.3?
Cheers
__________________
xcart v4.3.1 |
|||||||
#53
|
|||||||
|
|||||||
Re: Show All Products in Catagory
Hi,
Anyone got it working or share the code pls? Thanks,
__________________
Version 4.2.0 Testing v 4.4 |
|||||||
#54
|
|||||||
|
|||||||
Re: Show All Products in Catagory
I got this working in 4.3.2 like this;
after init.php (approx. line 471) Code:
I added (based on Westin Shafer's mod): Code:
Then in customer/main/navigation.tpl I changed it to look like this (thanks to pcparts #35 entry): Code:
It's basically #35 codes as a list (not a table) and I added an else statement that will allow the user to change page back to 6,12,24 once they are in the 'view all' state. (I wanted to add the 36 as is prepped in the init.php file but my client thought it was too many options.) I changed it to a list instead of table, so I had more leeway styling the arrows as css backgrounds with hover states. So FYI, this has to be styled with CSS and background images. my code for that is: Code:
This should be different for everyone... Ultimately, it would be nice if the view all status could be in a dropdown menu and if the products per page could be configured from the admin side instead of being hardcoded in like that, but... I'll save that for rainier days.
__________________
X-Cart v4.3.1 |
|||||||
|
#55
|
|||||||||
|
|||||||||
Re: Show All Products in Catagory
If you do not want to go with the View All in the stock navigation.tpl file add this to the the file just before the final {/strip}
Code:
This will put the "View All" three spaces to the right of the next arrow. Result pages: 1 2 3 4 5 > View All Dont forget the code in the init.php file from post before this post. |
|||||||||
#56
|
|||||||||
|
|||||||||
Re: Show All Products in Catagory
Works Great thanks!!!
__________________
PHP 5.2.11 MYSQL 5.0.45 WESH UK hosting --- Add-ons ----- X-RMA X-AOM X-FancyCategories X-Feature comparison BCSE Request a Quote BCSE Customer Testimonials BCSE Advanced ratings and reviews BCSE Customer reward points BCSE Reward points refferal BCSE Customer polls Cart Labs - Tabs |
|||||||||
#57
|
|||||||
|
|||||||
Re: Show All Products in Catagory
Quote:
I am a little confused... which file does the above code go? Also, I am working on 4.3.2, the init.php file has 874 lines... does the init.php code still need to be placed around line 471?
__________________
www.scraporchard.com X-Cart Pro Version 4.5.5 Altered Cart: One Page Checkout, OnSale, Buy Together, Download Expander, Smart Search, Shop by Filters Gahela: Gahela Support System The xCart Store: xBanners, xAccess, xMenus |
|||||||
#58
|
|||||||
|
|||||||
Re: Show All Products in Catagory
BCSE has a free View All mod.. I downloaded it yesterday and the instructions for v4.3 installation were actually the v4.1 instructions.. I emailed them and they promptly provided me with the correct instructions. So I am not sure if they have also, since, updated the zip file for the mod or not. But it was super easy to install and works wonderfully!
http://www.bcsengineering.com/store/view-all-mod-for-x-cart.html
__________________
www.scraporchard.com X-Cart Pro Version 4.5.5 Altered Cart: One Page Checkout, OnSale, Buy Together, Download Expander, Smart Search, Shop by Filters Gahela: Gahela Support System The xCart Store: xBanners, xAccess, xMenus |
|||||||
|
#59
|
|||||||
|
|||||||
Re: Show All Products in Catagory
This is great quick mod that even works with 4.5.4
Quote:
BCSE have upgraded this freebee to 4.5.x and is very easy to install, however I took a dislike to the URLs that it creates so went with the mod described in this thread.
__________________
X-Cart GOLD Plus v4.5.4 CDSEO Pro ewdhosting Dedicated Server Dedicated SSL Stone Edge OM |
|||||||
|
|||
X-Cart forums © 2001-2020
|