Okay
  Public Ticket #2268743
woocommerce cart icon
Closed

Comments

  • joe started the conversation

    do you have any way of handling the cart for woocommerce in your theme / menus?   i'm not seeing any option to show a cart icon

    trying to implement a custom solution here but that's not working either https://wpbeaches.com/add-woocommerce-cart-icon-to-menu-with-cart-item-count/

  •  1,103
    Max replied

    Hi,

    there are several ways to do it.

    The easiest one is to go to wp-admin > theme options > menu options and scroll down to hotlinks then add a Cart icon.

    tell me if it works.


    Thanks,


    Max from the Sonaar.io Crew

  • joe replied

    thanks for that info ....that hotlink area really came in handy for social icons which is great so that's what i'm using it for and i want the cart icon to be dynamic  ... cart icon that behaves this way :

    when a user adds something to the woocommerce cart then the cart icon appears in the menu with a number indicating the items in it 

    when there is nothing in the cart icon is not visible 

    any ideas on how to do this ...i thought i found a solution in that link i sent but i cant' get it to work 


  •  1,103
    Max replied

    Ok, have you tried what i've said in the previous ticket? See screenshot as an example of what it does: https://d.pr/i/CBZtYM

    You can see it live here: https://demo.sonaar.io/downbeat-elementor/

    The only downside that if you add an item to your cart, you will have to refresh the page to see the number of item update. But that is the only solution I know.



    Thanks,


    Max from the Sonaar.io Crew