-
Notifications
You must be signed in to change notification settings - Fork 111
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
Remove harmful modal styles and fix product buttons #239
Conversation
@SharakPL I made a related issue at PrestaShop/hummingbird#594. |
@leemyongpakva are you certain that you implemented all the changes correctly? blockwishlist.mp4 |
@SharakPL I tested with these steps |
Maybe all the products on your wishlist are customizable 🤔 |
@SharakPL No, I have only 1 customizable product on my test site, the rest are not. |
Wrong steps @leemyongpakva ! You did pr checkout inside modules instead of modules/blockwishlist so you probably checked out PrestaShop/PrestaShop#239 😉 Try like this:
beforeafter |
@SharakPL You're right about Step 4 @ Step 5 order 👍 By the way, with these correct steps, all Product buttons are still Customize (FYI, I use sample data of a fresh PS 8.1 install and there is only one Customizable product - Customizable mug). |
OK let me check it out. I only tested it on develop branch. |
@leemyongpakva I checked branch 8.1.x (basically 8.1.5 soon to be released) on php 8.1 and Classic theme v.2.1.3 before PRafter PRSo it's all good! I really have no idea why would you get all buttons labeled |
@SharakPL I see your view. We need a third view from QA. If they can reproduce the second issue then we can ignore my different view ;) |
I'll take your advice and make 2 separate PRs of this. |
Product buttons in wishlists didn't get proper styling, because of invalid checks.
2. Sign in and add few products to your wishlists
3. Go to My Account > My wishlists
Check that elements in the center of the browser screen can't be accessed because invisible modal is hanging there:
There are already styles for modals so inline vue overrides are useless here
blockwishlist/_dev/front/scss/_modal.scss
Lines 19 to 29 in dbaf532
As for the buttons, these checks simply don't work and are always false because
product.customizable
is an INT, not a STRING:blockwishlist/_dev/front/js/components/Product/Product.vue
Lines 118 to 121 in dbaf532
Examples for Classic and Hummingbird themes:
Before
After