• Resolved John Webber

    (@bilion)


    Hi, hope you are doing great ??

    I’ve created a header with a code snippet.
    I’m using the Main Menu inside of it.
    The cart is not showing.
    It was actually working for a while. I don’t know what I changed.

    If I add the same menu to the default theme header, the cart shows up in that header.
    I have tried setting up the same html elements, same tags, IDs and classes to get the identical structure. But, the cart still won’t display.

    Thank you

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support mivtt

    (@mivtt)

    Hi,

    We do support if you use the menu cart of WooCommerce by default. Unfortunately, we are unable to provide assistance in this case.

    Best regards.

    Thread Starter John Webber

    (@bilion)

    I don’t understand what you mean.
    I am using WooCommerce and I am using your menu cart.
    It was working for a while, but I changed something, while working on the header, so it stopped working.

    What I am asking for is to tell me what your plugin is looking for in order to attach the cart to the menu.
    Foe example, it’s looking for the class of the ul, or the id of the menu wrapper, the menu name, html tag of the header…
    Maybe I’m using the wrong hook for the snippet…

    How does the plugin identify which menu to attach the cart to?

    I gave the link to my page above, in the first post.
    This is the header markup: https://postimg.cc/hJGHGSyb
    What do I need to change?

    Plugin Support mivtt

    (@mivtt)

    Hi,

    Thank you for the picture you sent.

    Unfortunately, we are unable to assist you in this situation.

    Best regards.

    Thread Starter John Webber

    (@bilion)

    Hi @mivtt

    Please excuse me for being so persistent.
    But, I don’t understand why you can’t help me.
    Just ask the developer to look at the JavaScript file and see what the code is looking for when adding the cart to the header.
    It’s really that simple.
    Saying that we can’t have a custom built header is unprofessional.
    I am using the default WordPress Main Menu

    Plugin Support mivtt

    (@mivtt)

    Hi,

    In fact, we use this wp’s hook: 'wp_nav_menu_items'
    If you do custom code, but do not use this hook, the cart in the main menu will not work.

    Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Manu cart no showing up in custom header’ is closed to new replies.