![]() |
Re: Show All Products in Catagory
Here is what I ended up using in init.php:
PHP Code:
I removed the {if $total_pages gt 2} condition in subcategories.tpl so navigation.tpl would always load. Then I put this at the end of navigation.tpl, after the last {/if}: Code:
{* View All mod *} |
Re: Show All Products in Catagory
Does anyone know if this works with the html catalog generation?
|
Re: Show All Products in Catagory
Quote:
I kind of doubt it, but you can always try it and see. |
Re: Show All Products in Catagory
Post 35 works for 4.1.11
|
Re: Show All Products in Catagory
I tried implementing Post #35's mod... and when I click on the View All link it loads a blank page..? Help?!
http://sweetshoppedesigns.com/sweetshoppe/home.php?cat=249 |
Re: Show All Products in Catagory
Quote:
I have the exact same problem with one of my subcategories. It has a lot more products than other subcategories, that might be part of the issue. Anyone knows how to solve this blank page? Secondly: I am using Smart Search from Alteredcart and noticed the "Show All" does not function on the search result pages. Anyone got that same thing working? |
Re: Show All Products in Catagory
Quote:
Did you realize that post 35 also takes a note from post 1? Make sure you did the Post 1 modification, that is noted in post 35 as well, which is below: Quote:
|
Re: Show All Products in Catagory
Working on version 4.1.10. I tried out this code and once 'View all' is clicked, all the products for a particular category are displayed. How can we make this page display the page no icons and view all link just like the other pages?
|
Re: Show All Products in Catagory
Quote:
Because this is how x-cart make $$$ |
Re: Show All Products in Catagory
Quote:
This is suck, a very simple feature! |
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 02:03 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.