Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Cart header icon qty update

    General Discussion
    2
    2
    108
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      Neilm last edited by

      What triggers the cart icon in the header to update with the qty. I have created a service screen thats a popup modal that allows a user to select the service associated with a product, it adds the item to the cart but the cart icon qty at the top right in the header does not update the qty - only when I refresh the screen does it show updated?

      1 Reply Last reply Reply Quote 0
      • Rishabh-Webkul
        Rishabh-Webkul last edited by

        Hello @Neilm

        This is the file path which is responsible to show the number.

        packages/Webkul/Shop/src/Resources/views/checkout/cart/mini-cart.blade.php

        GitHub Link: https://github.com/bagisto/bagisto/blob/2.2/packages/Webkul/Shop/src/Resources/views/checkout/cart/mini-cart.blade.php

        minicart.png

        Thanks & Regards

        1 Reply Last reply Reply Quote 0
        • First post
          Last post