Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block themes: minicart doesn't allow users to checkout #70204

Closed
Tracked by #8556
Robertght opened this issue Nov 19, 2022 · 11 comments
Closed
Tracked by #8556

Block themes: minicart doesn't allow users to checkout #70204

Robertght opened this issue Nov 19, 2022 · 11 comments
Labels
[Closed] Resolved Issue is resolved. Use for issues that can be closed but did not have an explicit fix with a PR. Mobile Web [Platform] Atomic [Pri] High Triaged To be used when issues have been triaged. [Type] Bug User Report This issue was created following a WordPress customer report

Comments

@Robertght
Copy link

Quick summary

If you use a Block theme like Blockase/Attar/etc and add the Mini cart block to the nav menu the footer of that mini cart won't show up on mobile, being covered by the browser bar

Steps to reproduce

  1. Activate Blockbase
  2. Add the Minicart block to the header
  3. Add a product to your cart and click on the cart icon
  4. You should see the cart section, but you won't be able to click on the bottom checkout option.

What you expected to happen

To see the entire section

What actually happened

The section was cut:
Uploading IMG_A92B650CE41B-1.jpeg…

Context

5719527-zen

5697160-zen

Platform (Simple, Atomic, or both?)

Atomic

Theme-specific issue?

Block themes

Browser, operating system and other notes

No response

Reproducibility

Consistent

Severity

Some (< 50%)

Available workarounds?

No but the platform is still usable

Workaround details

Change the theme or find a CSS workaround.

@Robertght Robertght added [Type] Bug User Report This issue was created following a WordPress customer report labels Nov 19, 2022
@github-actions
Copy link

github-actions bot commented Nov 19, 2022

Support References

This comment is automatically generated. Please do not edit it.

  • 5719527-zen
  • 5697160-zen
  • 5800852-zen

@kavyagokul
Copy link

📌 SCRUBBING : RESULT

  • Tested on P2 - Uncertain
  • Tested on Simple - Uncertain
  • Tested on AT - Uncertain
  • Tested on Self-hosted - Uncertain
  • Replicable on Core - Yes/No

📌 FINDINGS/SCREENSHOTS/VIDEO

📌 ACTIONS

  • Await author feedback

📌 Message to Author
@Robertght I see that you started adding a screenshot, but it didn't work. I was not able to replicate this as shown in my findings. Can you add your screenshot/screencast so we have more info to be able to replicate this?

@kavyagokul kavyagokul added Triaged To be used when issues have been triaged. and removed [Pri] High labels Nov 22, 2022
@Robertght
Copy link
Author

Robertght commented Nov 23, 2022

Sure! Here it is:

IMG_2CFF1EFC5A20-1

Please check the above on a mobile device.

@zachspears
Copy link

Testing the above issues on mobile I had a related issue, leaving this open for further testing. In both Firefox and Safari the Mini Cart did not not display the item in my cart, and was formatted incorrectly:

VQBsu9.mp4
Mgo8SO.mp4

@cuemarie
Copy link

cuemarie commented Nov 29, 2022

Thanks @zachspears for including your test results! This issue (with the blank cart) looks like a separate bug than the issue originally reported - perhaps one of these?

Update - I saw the same issue on my test site; deactivating Page Optimize restored the cart contents (though they ain't pretty), so I'm thinking that's the issue you were encountering as well

@cuemarie
Copy link

📌 SCRUBBING : RESULT

  • Tested on AT: Replicated

📌 FINDINGS/SCREENSHOTS/VIDEO

  • Thanks for the updates to your steps to replicate, @Robertght ! Here's what I was able to replicate:
  1. Add Mini Cart block to header in Blockbase
  2. Deactivate Page Optimize to avoid issue Mini Cart Block pop-out is blank when running Page Optimize #65662
  3. Open site on mobile browser - I tested with iOS Safari & Chrome
  4. Add multiple items to the cart
  5. Tap the Cart from the header and scroll down

Results - With only one item in my cart, I have to scroll down in the cart section to view and select "Go to Checkout". With multiple products in the cart, when I first scroll down to see the "go to checkout" button, only the contents of the cart scroll, and not the entire sidebar. This results in me not being able to view the button. When I scroll down a second time, the button appears. There seems to be a

iOS Chrome (single product vs multiple products):

RPReplay_Final1669742849.mov

iOS Safari (multiple products):

RPReplay_Final1669742955.MP4

📌 ACTIONS

  • Marked as Triaged for Quality Squad review

@Gustavo-Hilario
Copy link

Gustavo-Hilario commented Dec 19, 2022

Another report:

  • 5800852-zen

I could reproduce this issue on the Tsubaki demo site: https://tsubakidemo.wpcomstaging.com/

I've helped the user above with a CSS code workaround for now:

/* Fix the issue with the Checkout button missing on the mini-cart on mobile | XXXXXX-hc/zen GH */
@media (max-width: 600px) {
.wc-block-mini-cart__title {
    flex-basis: 10%;
}
.wc-block-mini-cart__items {
    flex-basis: 65%;
}
.wc-block-mini-cart__footer {
    flex-basis: 25%;
}
}
 
/* End  | XXXXXX-hc/zen */

I'm not sure if the code will work for all sites, and a different media query might be necessary. Please test the code before sharing.

@kavyagokul
Copy link

Context from closed duplicate

  • #38844553-hc

@kuropixel
Copy link

kuropixel commented Jan 24, 2023

Another report (Theme: Tsubaki):
39928718-hc

Sharing CSS workaround resolved the issue.

@Aljullu
Copy link
Contributor

Aljullu commented Feb 27, 2023

Howdy folks, have you received new reports of this bug? I think it was fixed in woocommerce/woocommerce-blocks#8351, so I guess we can close this issue?

@cuemarie
Copy link

Retesting today, Mini-Cart block on a Blockbase theme works as expected in both desktop and mobile responsive views:

Desktop

41cHJX.gif

Mobile Responsive View

6ZOU7e.mp4

📌 ACTIONS

  • Closing as resolved

@cuemarie cuemarie added the [Closed] Resolved Issue is resolved. Use for issues that can be closed but did not have an explicit fix with a PR. label Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Closed] Resolved Issue is resolved. Use for issues that can be closed but did not have an explicit fix with a PR. Mobile Web [Platform] Atomic [Pri] High Triaged To be used when issues have been triaged. [Type] Bug User Report This issue was created following a WordPress customer report
Projects
None yet
Development

No branches or pull requests

8 participants