Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2009
    Location
    Dallas, Texas
    Posts
    19
    Plugin Contributions
    0

    help question how to make a product page show as home page?

    We are using Zen Cart 1.3.8a Patch: 1:: Database Patch Level: 1.3.8

    We get an error message: "WARNING: You have Products in the
    Top Level Category. This will cause pricing to not work properly
    in the Catalog."

    We copied one of our products from a category to the to top
    level. This makes it so that our best selling product shows up
    on our main home page. This is what we wanted it to do.
    It does not appear to have any adverse effect, but this is a
    scary error message.

    Is this an incorrect way to do this?

    Is there a better way to do this without getting this error
    message?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: how to make a product page show as home page?

    One way:

    a) create a new category ... it will hold only this one product.
    b) navigate to your best-selling product via Admin->Catalog->Categories/Products, and click the "c"(Copy) button. Make a "Linked copy" of this product into the category you created above.
    c) Change 3 settings:
    Admin->Configuration->Layout Settings->Categories - Always Show on Main Page = 1
    Admin->Configuration->Layout Settings->Main Page - Opens with Category = (enter the cPath for the category you created above)
    Admin->Configuration->Layout Settings->Skip 1-prod Categories = True
    Now your store will open to that category by default, and since that category has only 1 item, the item itself will open instead.

    d) If you'd like the category you created to NOT be visible in normal navigation, you can disable that category (click the green icon), and then go inside that category and re-enable the product (click the red icon).

    Then you won't need the product you've got in your top-level, so you can remove that one to get rid of the warnings and save yourself the trouble of pricing and sales and specials etc not working for it.
    .

    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.

  3. #3
    Join Date
    Jan 2009
    Location
    Dallas, Texas
    Posts
    19
    Plugin Contributions
    0

    help question Re: how to make a product page show as home page?

    Wow, that worked great, except for one little detail:
    The product displayed on the home page has the category name
    displayed just above it. Is there a way to hide that? Since this
    category does not display anyways, is there a way to turn
    that off?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: how to make a product page show as home page?

    Depends what you're referring to. Is it the breadcrumb?
    Or is it the usual category name+icon, which can also be disabled in the admin settings.
    What's the URL where it can be seen?
    .

    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.

  5. #5
    Join Date
    Jan 2009
    Location
    Dallas, Texas
    Posts
    19
    Plugin Contributions
    0

    help question Re: how to make a product page show as home page?

    It cannot be seen. It is not on a public server.
    It is right at the top of the center product area. I named the
    category "Home" and the word "Home" displays as a link.
    It is contained as an 'a' link inside a div:
    div id="categoryIcon" class="categoryIcon"
    Last edited by gnuzoo; 3 Nov 2009 at 06:32 PM. Reason: be more specific

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: how to make a product page show as home page?

    You can turn off the Category Icon section using the appropriate switch in the admin area. This will affect *all* pages.
    .

    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.

  7. #7
    Join Date
    Jan 2009
    Location
    Dallas, Texas
    Posts
    19
    Plugin Contributions
    0

    Idea or Suggestion Re: how to make a product page show as home page?

    I think I found it at:


    Configuration -> Product Info ->
    Previous Next - Navigation Includes Category Position

    Thanks DrByte !!!!

 

 

Similar Threads

  1. How to make featured items show up on home index page?
    By hookah in forum General Questions
    Replies: 7
    Last Post: 11 Jun 2011, 11:22 PM
  2. Make Categories show on home page? Please help
    By Mracer in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 3 Dec 2009, 11:31 AM
  3. How to make "home" page show up as https?
    By bensmumma in forum General Questions
    Replies: 1
    Last Post: 17 Jun 2009, 02:24 PM
  4. How Do I Make Whats New Show in Center Collum on Home Page?
    By DieselMinded in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 8 May 2009, 09:04 AM
  5. how to make it to show up on Home page only.
    By bumergroup in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Aug 2008, 12:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg