• Resolved gibbers

    (@gibbers)


    Hi there

    I’ve installed this plugin but the cart icon is not appearing on the main navigation menu. I’ve read through the support forum for this topic and tried some of the solutions but nothing has worked.

    Many thanks.

    Clare

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

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hello Clare,
    Could you provide us with the following 2 screenshots:

    1. The WP Menu Cart settings (WooCommerce > Menu Cart)
    2. Your menu configuration for the main menu on your site (Appearence > Menus)

    Hopefully this will show us if this is a configuration issue or if it’s something that is theme related.

    Thread Starter gibbers

    (@gibbers)

    Hi Ewout

    Thank you for your response. Please find attached screenshots as requested.

    I look forward to your reply.

    Many thanks.

    Clare

    View post on imgur.com

    View post on imgur.com

    Plugin Contributor Ewout

    (@pomegranate)

    Hi Clare,
    I don’t know if you have just changed something, but it’s showing up for me on your site now!

    Thread Starter gibbers

    (@gibbers)

    Hi Ewout

    I didn’t change anything but also noticed it’s showing up now so thank you very much, looks great! I’ve removed the other basket menu item.

    Thanks again.

    Clare

    Thread Starter gibbers

    (@gibbers)

    One thing I have noticed is that when the basket is empty and you click around the site, doesn’t seem to matter which page you click on – even going back to home page, the cart briefly changes to show “1 item £12.00” then clears itself. This item is possibly a standard concert ticket, or possibly a CD plus postage? Anyway I wonder if you could please check to see what is causing this.

    Many thanks.

    Clare

    Thread Starter gibbers

    (@gibbers)

    So just been checking, when you click on the basket icon page, even though it appears empty, it’s going to the Christmas CD page. I’ve cleared cache and cookies. Please can you advise.

    Many thanks.

    Clare

    Thread Starter gibbers

    (@gibbers)

    This only appears to happen if the basket is empty, if you add items it appears to work ok?

    Is it something to do with the Woocommerce default Shop page?

    Many thanks.

    Clare

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @gibbers,

    I tested the menu cart in your site and appears to be working well in my end, did you change some settings in your WordPress dashboard or your server? If not, it could have been a cache issue on your browser.

    Please note WooCommerce stores the dynamic data in?SessionStorage?in the browser. This is different from regular browser cache, in the sense that it is?not?cleared when you do a hard refresh.

    In short:?to see your latest changes, when you’re testing settings,?close your browser tab and?reopen it ??

    Plugin Contributor Ewout

    (@pomegranate)

    @gibbers in addition to my colleagues message above (which was mainly about client side cache) – in your earlier screenshots I noticed it said “Themify cache” in the admin bar at the top and I wonder if what you are seeing is perhaps the result of server side caching. If the state that Themify has cached contains the cart you had at the time of caching, it explains why you’re seeing the flashing. It means that everybody would initially be served the cached status of your site pages, whatever it looked like at the moment you cached it, and then the dynamic elements get updated live. In most caching plugins it captures a ‘clean’ state of the pages, but I haven’t worked with Themify cache before so maybe it’s a bit different.

    But if the issues you were experiencing were primarily with the empty cart, you could disable the option “Always display cart” – it will then only show the item after the client has added something to the cart.
    Don’t forget to: clear themify cache and close & reopen the browser tab to see the result.

    I’m sorry for the inconvenience, caching can sometimes be quite a headache in sites where there’s also non-static information on all pages!

    Thread Starter gibbers

    (@gibbers)

    Thanks for all your help. I will probably disable the empty cart if the remaining issue is not resolved, which is detailed below (I’ve left it enabled for now so you can see):

    When you click on the empty basket icon it goes to the Christmas CD page https://tamesischamberchoir.com/product/christmas instead of the basket page. I’ve cleared cache and cookies and themify menu cache (thanks for this tip) and regenerated CSS. I have, via snippets, modified the destination of the woocommerce “back to shop” page to the site home page (because I don’t really have a shop page as you can add CDs and concert tickets), might this be a factor?

    Many thanks.

    Clare`

    Plugin Contributor Ewout

    (@pomegranate)

    Hello Clare,
    Can you share that snippet with us here?

    And can you also check what the shop page is set to in the WooCommerce settings?
    You can find this setting under WooCommerce > Settings > Products, the first setting is “Shop Page”. It sounds like you will want to set that to the home page on your site?

    Thread Starter gibbers

    (@gibbers)

    Hi Ewout

    Thank you again.

    All Woocommerce snippets here:

    function store_mall_wc_empty_cart_redirect_url() {
            $url = 'https://tamesischamberchoir.com/'; // change this link to your need
            return esc_url( $url );
        }
        
    add_filter( 'woocommerce_return_to_shop_redirect', 'store_mall_wc_empty_cart_redirect_url' );
    
    add_filter( 'woocommerce_product_tabs', 'misha_rename_description_tab' );
     
    function misha_rename_description_tab( $tabs ) {
     
    	$tabs['description']['title'] = 'Track Listing';
     
    	return $tabs;
     
    }
    add_filter( 'woocommerce_product_description_heading', 'misha_description_heading' );
    function misha_description_heading( $heading ){
     
    	return 'CD Tracks';
     
    }

    I changed the shop page in Woocommerce to the Home page, now the empty cart goes to https://tamesischamberchoir.com/?page_id=9 which is an empty page with Shop as the title. I’d like it go to the basket page?

    Thanks in advance.

    Clare

    Plugin Contributor Ewout

    (@pomegranate)

    I just checked your site and everything appears to be working (empty cart redirects to the homepage and cart with items redirects to /basket), so I guess you managed to change the settings to your liking? Let me know if I can close this ticket.

    Thread Starter gibbers

    (@gibbers)

    Hi sorry I’ve just seen your reply. Would it be possible for the empty cart to redirect to the basket?

    Many thanks.

    Clare

    Plugin Contributor Ewout

    (@pomegranate)

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Cart icon not showing on menu’ is closed to new replies.