Forums / General Questions / Product page Displaying if Single Product in Category

Product page Displaying if Single Product in Category

Locked

Views: 1,424

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
27 May 2008, 1:58 AM
#1
tech_e avatar

tech_e

Zen Follower

Join Date:
Jan 2007
Posts:
159
Plugin Contributions:
0

Product page Displaying if Single Product in Category

I am putting the finishing touches on my first ZC store.

I notice that when there is only one product in a category and a use clicks on that category in the menu, the user is sent to the product page with a 302 redirect and not to the category page.

When there are multiple products in a category, the category page does display.

When there are no products in a category, the category page displays.

But when there is a single product, the product page is displayed.

I need to have the category page display even when there is only a single product in the category. How do I do that? Is this a configuration issue?

27 May 2008, 2:26 AM
#2
tech_e avatar

tech_e

Zen Follower

Join Date:
Jan 2007
Posts:
159
Plugin Contributions:
0

Re: Product page Displaying if Single Product in Category

I found the solution in http://www.zen-cart.com/forum/showthread.php?t=55877

I searched the forum for almost half an hour and couldn't find the answer. After starting this thread the post I needed showed up in the Similar Threads in the footer.

Configuration > Layout Settings > Skip 1-prod Categories

Skip 1-prod Categories
Skip single-product categories
If this option is set to True, then if the customer clicks on a link to a category which only contains a single item, then Zen Cart will take them directly to that product-page, rather than present them with another link to click in order to see the product.
Default: True

This needed to be set to False.