Support » Theme: Customizr » Add WOOCOMMERCE CART in the menu ? How to do ?

  • blliem

    (@blliem)


    hello,

    Is it possible to add WOOCOMMERCE CART in the menu ?

    How would you do ?

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there,
    you can add the WooCommerce cart to the theme header, if you have WooCommerce enabled, e.g. as shown in the demo: https://demo.presscustomizr.com/
    Please navigate through the various sections under
    Appearance -> Customize -> Header
    to set its visibility the way you need.

    Hope this helps.

    blliem

    (@blliem)

    Thank you but I want it in the horizontal menu, not in the header.

    And I do not really need a cart that shows what has been added, I just would like to have only the cart icon in the menu, if it is possible ?

    If I had to use your theme cart in the header, can you tell me how to disable the function that shows what is in the cart when I move the mouse on the icon ? I just need to be able to click on the cart icon. I also do not want that it shows how many items are in the cart, I just want the cart icon.
    https://demo.presscustomizr.com/shop/

    Thanks again.

    Hi there,
    the theme allows you to show the cart icon in the header.
    Showing it in the menu, as a simple link, can be possible of course and I’m sure there are plugins that allow that, which makes sense as menus are theme independent, and can be also placed in widgets.

    About disabling the cart details dropdown on hover and number of items:
    There’s no option in the theme to do that.
    You can anyways either override the header cart template (templates/parts/header/parts/woocommerce_cart.php) in your child theme, or add some custom CSS to hide both the cart details dropdown on hover and the cart count.

    Hope this helps.

    hello, I am trying to disable the ajax cart and it might be related to this post.
    I want to use this function:

    
    /**
    * xxxxxx FUNCTION TO DISABLE cart fragment on all pages
    */
    add_action( 'wp_print_scripts', 'nuke_cart_fragments', 100 );
    function nuke_cart_fragments() {
        wp_dequeue_script( 'wc-cart-fragments' );
        return true;
    }
    

    Do you think that if I disable the ajax cart with this function (because it slows every single page of any woocommerce shop), I can still show the cart with your theme ?

    I mean that even if your theme displays the cart, it won’t be updated when someone clicks ADD TO CART, but people will still be able to click on the cart icon to reach the cart page ?

    Thank you for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add WOOCOMMERCE CART in the menu ? How to do ?’ is closed to new replies.