Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2007
    Posts
    8
    Plugin Contributions
    0

    Default Domain name directs to a product page instead of define_main_page.php

    Hi.

    I'm having an issue with the domain name directing to a product page instead of the home page (define_main_page.php).

    My client has successfully been adding products to her inventory for the last few days, but when I typed in the domain name (mylittletackshop.com) this evening to see how she's doing, it directs to a product page (index.php?main_page=product_info&products_id=299) instead of the home page (define_main_page.php).

    How could this have happened and how can I fix it? The rest of the site works fine. Just the home page and "Home" links aren't working.

    Any help is much appreciated!

    Thanks,
    Amy

  2. #2
    Join Date
    Aug 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Domain name directs to a product page instead of define_main_page.php

    Wow! All it took was asking for help and I figured it out.

    My client had accidentally posted an item in the "TOP" level of her catalog and not in it's proper sub-category. As soon as I moved the item out of the "TOP" level, the home page shows up as it should. Odd, but at least it's fixed and I'll make sure she'd more careful about placing her products.

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Domain name directs to a product page instead of define_main_page.php

    What caused that was placing a Product in the Top Level Category and the setting in the Configuration ... Layout Settings ...
    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
    You said skip the listing when only 1 product ... so it did, and went to the product _info page ...

    NOTE: Categories hold Products or Categories ... never both ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Aug 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Domain name directs to a product page instead of define_main_page.php

    Thanks, Ajeh!

    I made that change in the Configuration --> Layout Settings and put a test product in the top-level of the catalog and the home page still showed.

    Thanks so much!

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Domain name directs to a product page instead of define_main_page.php

    I am hoping you mean in a Category and not in the absolute Top of the categories ...

    Products really should never use categories_id 0 ...

    Categories should only hold Categories or Products and never both ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Aug 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Domain name directs to a product page instead of define_main_page.php

    The problem occurred after the client had placed an item in the absolute Top of the categories.

    So after making the change in Configuration --> Layout Settings and placing a test item in the absolute Top of the categories, it did not have the problem.

    I believe she placed the item there by accident, so with some education it shouldn't happen again.

    Thanks.
    Amy

 

 

Similar Threads

  1. Help My domain rewrites to http://domain.com instead of www
    By toussi in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 21 Aug 2008, 03:55 AM
  2. php check domain name and then redirect
    By forced in forum General Questions
    Replies: 4
    Last Post: 16 Aug 2008, 01:15 AM
  3. Series of numbers displayed instead of domain name?
    By MeltDown in forum General Questions
    Replies: 7
    Last Post: 23 May 2008, 06:30 AM
  4. URL shows ip address instead of domain name
    By wcws in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 11 Feb 2008, 08:32 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR