Results 1 to 9 of 9
  1. #1
    Join Date
    Aug 2015
    Location
    Melbourne, Australia
    Posts
    18
    Plugin Contributions
    0

    Default Sub Category is not appearing

    Just a quick question someone may be able to help me with.
    I have no problems creating a new product or sub-category.
    The problem I'm having is that the new Subcategory is not appearing when I hover the mouse over the "Products" tag.
    If I Click the "Products" tag the SubCategory is there along with all the other SubSategories and related products under those SubCategories.
    I have also added those new Products to the "Featured Products" on the home page...so all is good there too.
    Its probably something simple but I've tried a number of things but no go.
    Any help is much appreciated.

    Cheers

    Ian

  2. #2
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Sub Category is not appearing

    Typically hover over content is provided by javascript. Without additional information (perhaps a link to the page?) it is difficult to pin-point any one reason/issue.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Aug 2015
    Location
    Melbourne, Australia
    Posts
    18
    Plugin Contributions
    0

    Default Re: Sub Category is not appearing

    Hi,
    Here's the attached link.
    http://woodbits.com.au/
    If you "hover" over the "Products" tag you'll see a list of Sub Categories....or all the product categories we stock.
    However is you click on the Products Tag you get a detailed Sub Category and relevant product listing.
    Christmas / Xmas Products is in there but not when you "hover" over the Products Tag.

    Does this all make sense ?
    Cheers

    Ian

  4. #4
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Sub Category is not appearing

    Quote Originally Posted by igwell007 View Post
    Hi,
    Here's the attached link.
    http://woodbits.com.au/
    If you "hover" over the "Products" tag you'll see a list of Sub Categories....or all the product categories we stock.
    However is you click on the Products Tag you get a detailed Sub Category and relevant product listing.
    Christmas / Xmas Products is in there but not when you "hover" over the Products Tag.

    Does this all make sense ?
    Cheers

    Ian
    Yes and no... The data supporting the hover feature is generated in advance of actually clicking on the header. It seems that you may be able to find the generation code by searching for code groupings that include dd-menu, or mega-title, or mega-inner collapse, etc... These phrases appear to either be in the loop or before the loop. Clicking on the product link loads different code...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Sub Category is not appearing

    Some of the links are conventional zen style links
    Others are rewritten with a url rewriter
    The mega menu is NOT showing any of the rewritten links

  6. #6
    Join Date
    Aug 2015
    Location
    Melbourne, Australia
    Posts
    18
    Plugin Contributions
    0

    Default Re: Sub Category is not appearing

    Thanks for looking into this for me.

    So basically your saying unless I know what I'm doing, get someone who specialises in this as I have no idea what you just wrote apart from the code is in two languages.

  7. #7
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Sub Category is not appearing

    Quote Originally Posted by igwell007 View Post
    Thanks for looking into this for me.

    So basically your saying unless I know what I'm doing, get someone who specialises in this as I have no idea what you just wrote apart from the code is in two languages.
    Sorry if my reply was too cryptic
    You are using a URL rewriter to rewrite the URLS
    and its not working correctly...

    In the categories listing in the RHS column the first two entries are

    AXLE PEGS and BALL KNOBS
    The first URL has been rewritten by a url rewriter
    Code:
    http://woodbits.com.au/products/axle-pegs
    The second URL is
    Code:
    http://woodbits.com.au/index.php?main_page=index&cPath=4_31
    This link is a standard zen-cart style link

    Decide if you want to continue using the url rewriter?
    If so fix it first.
    If not then remove it.

    Then see if that fixes your hover issues?

  8. #8
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Sub Category is not appearing

    Alternatively, for the category to be displayed in the dropdown, some unique action may be necessary. This probably hasn't been recognized/realized for quite some time and in the midst of it, the uri rewriter was added. The fact that the uri rewriter is working in its entirety points to there being an issue with the code that generates the popup list or the data required to be included for that code to function.

    As to what a uri rewriter is: uri->web address, rewriter->alters the web address typically to support a "user friendly" address. Most uri rewriters do their work to provide a result when the ZC function zen_href_link is called. If the menu popup is using this result to determine whether to show the category or not, then it is not doing any justice as there are other internal variables available to obtain the necessary/desired information. So yes, if unable to follow all this talk or unable to determine how to proceed next, perhaps more assistance is needed. That said, some things can be determined by some simple Q&A.

    For example, to rule out the URI rewriter issue, you could try to create a new category that doesn't use the URI rewriter and see if that is added to the list. Also could ensure that a product is included in the category as that may be a criteria for the item to be populated in the list.

    Then could also look at the configuration of a category that is shown and compare to a category that is not to see if there are any special characters or content that is expected/needed.

    Those are less drastic of a move than to disable the URI rewriter or any other significant change to normal operation...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #9
    Join Date
    Aug 2015
    Location
    Melbourne, Australia
    Posts
    18
    Plugin Contributions
    0

    Default Re: Sub Category is not appearing

    Thanks for your input guys.
    I've copied both your responses and I'll forward to the guy looking after the tech side of the web site.
    I'd have a go myself but I'm dead scared I'd stuff it up ( computers and I really don't get along ).
    I do get the jist of what you are saying and we'll target this area and see if we can make it more uniform.

    Cheers
    Ian

 

 

Similar Threads

  1. Replies: 1
    Last Post: 1 May 2013, 10:20 PM
  2. Products appearing in more than one category/sub-category
    By Mana in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 3 Jul 2010, 06:09 PM
  3. How to NOT display sub sub category images?
    By magneteye in forum General Questions
    Replies: 19
    Last Post: 11 Apr 2009, 05:09 AM
  4. Sub-Category Images not Appearing
    By pholli4 in forum General Questions
    Replies: 3
    Last Post: 12 Feb 2009, 02:53 PM
  5. Category Images Not Appearing
    By coolglobal in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 24 Mar 2008, 02: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