Showing number of items in mobile mini cart

WPPizza – A Restaurant Plugin for WordPress Support Feature Requests Showing number of items in mobile mini cart

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #33279
    hansenL
    Participant

      Hi,

      I see that for each item added to the desktop shopping cart, it shows the number 1 on the left of the item indicating that the user just added 1 order of that item. If the user adds the same item again, then that number would be updated to 2, along with the price being updated.

      However, in mobile, if we add the same item twice, we only see the updated price, but do not know the quantity. This can be very misleading to users.

      Is there any way for us to see the quantity of each item in the mobile shopping cart?

      Thanks.

      #33280
      Olly
      Admin & Mod

        this sounds more like your theme is hiding certain things in mobile view as the plugin does not do that
        unless you are telling it to using the available (shortcode) attributes if adding the minicart by shortcode instead of using the widget
        (i cannot say any more without a link to your site I’m afraid)

        #33281
        hansenL
        Participant
          This reply has been marked as private.
          #33282
          Olly
          Admin & Mod

            cannot see the minicart there being used/enabled ?!
            (mobile view or not)

            #33283
            hansenL
            Participant

              If you scroll all the way down, do you see a shopping cart? That’s the one I am referring to. Hopefully we’re on the same page.

              #33284
              Olly
              Admin & Mod

                ok, i – mistakenly – assumed we are talking about something else (my fault)

                that out of the way, there is some css in there (i.e display:none) that tries to account for the more limited space available in the cart on small-screen devices.

                that said, at first glance at least , you might actually have a point that I might be overdoing things here.
                Though I am quite certain that “hiding” the quantity display (as that’s what we are talking about here) was done for a reason at the time , with all the adjustments done afterwards, this might now be the wrong thing to do.

                Allow me to think about this for a bit (taking into considerations several setup/theme possibilities), and if it turns out that this is somewhat overkill, I’ll gladly get rid of that declaration in the next update

                thinking out loud for a minute, i would think that this declaration still has a role to play, but should perhaps/probably only apply to screen/device sizes smaller than it is at the moment (which is 420)

                i’ll need to play wit that is for a bit.
                no promises – as i do not know yet the implications it might have – but thanks for flagging the issue nevertheless

                #33285
                hansenL
                Participant

                  Thank you very much!

                  Once you make up your mind, it would be nice if you can tell me whether you are going to make any change or not.

                  Have a good weekend : )

                  #33289
                  Olly
                  Admin & Mod

                    will post it here

                    and you can always override the css anyway if you want it done sooner
                    the one that does it is this
                    @media only screen and (max-width: 420px)….

                    #33290
                    Olly
                    Admin & Mod

                      >Have a good weekend : )
                      you too …

                      #33291
                      hansenL
                      Participant

                        Will do. Thanks!

                        #33323
                        Olly
                        Admin & Mod

                          had a mess around with things here for a bit
                          setting a limit of 300 as opposed to 420 as it is now, seems quite acceptable as well (always provided the theme itself is responsive to start off with)

                          will be added/updated in the next update

                          #33324
                          hansenL
                          Participant

                            That’s very awesome! Thank you very much 😀

                          Viewing 12 posts - 1 through 12 (of 12 total)
                          • The topic ‘Showing number of items in mobile mini cart’ is closed to new replies.