WPPizza – A Restaurant Plugin for WordPress › Support › Feature Requests › Showing number of items in mobile mini cart
- AuthorPosts
- 2 December, 2017 at 11:48 pm #33279
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.
3 December, 2017 at 2:39 am #33280this 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)3 December, 2017 at 2:57 am #33281This reply has been marked as private.3 December, 2017 at 3:02 am #33282cannot see the minicart there being used/enabled ?!
(mobile view or not)3 December, 2017 at 3:27 am #33283If 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.
3 December, 2017 at 3:49 am #33284ok, 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 nevertheless3 December, 2017 at 3:54 am #33285Thank 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 : )
3 December, 2017 at 3:59 am #33289will 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)….3 December, 2017 at 4:01 am #33290>Have a good weekend : )
you too …3 December, 2017 at 4:01 am #33291Will do. Thanks!
3 December, 2017 at 4:50 pm #33323had 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
3 December, 2017 at 7:41 pm #33324That’s very awesome! Thank you very much 😀
- AuthorPosts
- The topic ‘Showing number of items in mobile mini cart’ is closed to new replies.