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.
|
Re: Show All Products in Catagory
Has anyone managed to get the "View all products" function working on version 4.3?
Cheers |
Re: Show All Products in Catagory
Hi,
Anyone got it working or share the code pls? Thanks, |
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:
{* $Id: navigation.tpl,v 1.16.2.1 2006/06/16 10:47:41 max Exp $ *} 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:
#navigation { 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. |
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. |
Re: Show All Products in Catagory
Works Great thanks!!!
|
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? |
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 |
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. |
All times are GMT -8. The time now is 11:33 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.