Remove the text OR for express checkout buttons in cart and checkout page if the browser doesn't support Apple Pay
Opened this issue · 0 comments
tsetend commented
Describe the bug
There is the text OR
in the bottom when the browser doesn't have Apple Pay configured in the cart and checkout page.
Image Link: https://d.pr/i/QsVeAa
To Reproduce
Steps to reproduce the behavior:
- Make sure you have express checkout enabled in Stripe settings
- Disable Apple Pay if you have configured it or use a browser that doesn't have Apple Pay configured like Chrome
- Add a product in cart and go to the cart or the checkout page
- You will notice there is no buttons but
OR
is still shown
Expected behavior
It would be great to disable or hide OR
if there is no express checkout option in the browser