If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / I only have one product-Can I have it show up on the index?

I only have one product-Can I have it show up on the index?

Locked

Started by schwimwastaken on 29 Aug 2006, 2:28 PM · Views: 1,067

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
29 Aug 2006, 2:28 PM
#1
schwimwastaken avatar

schwimwastaken

New Zenner

Join Date:
Aug 2005
Posts:
88
Plugin Contributions:
0

I only have one product-Can I have it show up on the index?

Hi there everyone,

I originally set up the product to be outside a category, and it popped up on the index nice & pretty. Since then, I was told that it's not good to have a product not under a category, so I put it in the category. Now I just get a box on the index that they have to click to get to the sole product.

Is there a way to have either a category or product show up by default when someone visit's the shop's index?

thanks,
json

29 Aug 2006, 2:40 PM
#2
schwimwastaken avatar

schwimwastaken

New Zenner

Join Date:
Aug 2005
Posts:
88
Plugin Contributions:
0

Re: I only have one product-Can I have it show up on the index?

I've tried Main page/Opens with category

Main Page - Opens with Category
0= Top Level Categories
Or enter the Category ID#
Note: Sub Categories can also be used Example: 3_10

And I've placed "1" in the text box(the only cat ID number), and it still shows a box to click on the product that will take you to the product info page. What I'm trying to do is get the product info page to show up automatically. Is there any way to do this?

thanks,
json

29 Aug 2006, 3:14 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: I only have one product-Can I have it show up on the index?

Using Zen Cart 1.3.xx

Go to: Admin->Configuration->Layout Settings

  1. Categories - Always Show on Main Page ... set to 1
  2. Main Page - Opens with Category ... set to the number of your category.
  3. Skip 1-prod Categories ... set to True

.
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.

30 Aug 2006, 3:03 AM
#4
schwimwastaken avatar

schwimwastaken

New Zenner

Join Date:
Aug 2005
Posts:
88
Plugin Contributions:
0

Re: I only have one product-Can I have it show up on the index?

Thank you very much for that. It worked great!

thanks,
json