View Single Post
  #33  
Old 06-01-2009, 09:19 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Redirect to Product Page when only One product in category

Quote:
Originally Posted by ChristineP
How would I use this code for a category without a subcategory, though there maybe 1 to 5 products?

You don't.

The purpose of this mod is so that your customer can simply choose a category (or subcat) and be taken to the ONLY product in the category (or subcat).

There is no other purpose for this mod.

If you have a category with 1 to 5 products, you could make a subcat per product, assign the product as the only product in the subcat, and then use this code.

Got it?
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote