Forums / Templates, Stylesheets, Page Layout / 1 product in category; redirect straight to product

1 product in category; redirect straight to product

Locked

Started by eccentric on 26 Jul 2006, 6:30 AM · Views: 1,620

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
26 Jul 2006, 6:30 AM
#1
eccentric avatar

eccentric

New Zenner

Join Date:
Jul 2006
Posts:
31
Plugin Contributions:
0

1 product in category; redirect straight to product

Hi,

It seems that when there is only 1 product in a category, when a visitor clicks a link to view that category, they will be taken straight to the description for that product (whereas normally, you see a listing of all the products in the category).

Is there an option to stop the redirect if there is only 1 product in a category? Or will I have to hack the code?

Cheers.

26 Jul 2006, 6:40 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: 1 product in category; redirect straight to product

Admin->Configuration->Layout Settings->Skip 1-prod Categories

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

26 Jul 2006, 6:41 AM
#3
eccentric avatar

eccentric

New Zenner

Join Date:
Jul 2006
Posts:
31
Plugin Contributions:
0

Re: 1 product in category; redirect straight to product

Excellent, I knew it'd be in there somewhere (: Thank you very much.