Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Location
    North Carolina
    Posts
    98
    Plugin Contributions
    0

    Default v1.5.7b Not Showing Categories on Main Page

    Categories do no show on main page when the setting in Layout Settings > Categories - Always Show on Main Page is set to "1". This worked in Zen Cart 1.5.7. I have tried with my custom template and the base Zen Cart template and neither one shows the categories on the main page.

    I am no PHP coder but it appears to be an issue with includes > modules > pages > index > header_php.php. When I replaced the 1.5.7b version of this file with the one from 1.5.7 (just to see what would happen), the categories do show on the main page (though the dots separating the rows and columns don't appear).

    Not sure if this is a bug or I am being dumb about how to make this work.

    Test Site:
    https://www.moonrivercardstore.com/test_OPCO/

    Zen Cart 1.5.7b
    PHP 7.4

  2. #2
    Join Date
    Oct 2007
    Location
    North Carolina
    Posts
    98
    Plugin Contributions
    0

    Default Re: v1.5.7b Not Showing Categories on Main Page

    And here's a link to the current working site:
    https://www.baldwinbrassornamentstore.com
    Zen Cart 1.5.7ppatch1
    PHP 7.2

  3. #3
    Join Date
    Jun 2009
    Location
    Sparta, TN
    Posts
    158
    Plugin Contributions
    0

    Default Re: v1.5.7b Not Showing Categories on Main Page

    They are working on my desktop Chrome.

  4. #4
    Join Date
    Oct 2007
    Location
    North Carolina
    Posts
    98
    Plugin Contributions
    0

    Default Re: v1.5.7b Not Showing Categories on Main Page

    The original 1.5.7 site (www.BaldwinBrassOrnamentStore.com) is showing the categories on the main page on all browsers.

    The test site with 1.5.7b installed (www.MoonRiverCardStore.com/test_OPCO/) is not showing the categories on the main page in any browser.

  5. #5
    Join Date
    Jun 2009
    Location
    Sparta, TN
    Posts
    158
    Plugin Contributions
    0

    Default Re: v1.5.7b Not Showing Categories on Main Page

    Oh! I thought you were referring to the left bar of categories. I don't know how to fix it, but I did F12 both pages and there is quite a difference between the two pages after the:
    <body id="indexHomeBody"> ==$0

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

    Default Re: v1.5.7b Not Showing Categories on Main Page

    Admin->Configuration->Product Listing->Show SubCategories on Main Page while navigating

    Compare that setting between your stores.
    .

    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.

 

 

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