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

[14.0][IMP] website_sale_product_item_cart_custom_qty #887

Conversation

dessanhemrayev
Copy link

Add a setting in /shop page > customize: Always display qty buttons
Qty and add to cart buttons are always visible (not only on rollover)
To improve the visualization, move the buttons below the image so that they do not overlap it, now it occupies about 20% of the image height.

@OCA-git-bot
Copy link
Contributor

Hi @CarlosRoca13,
some modules you are maintaining are being modified, check this out!

@CarlosRoca13
Copy link
Contributor

Please review tests

@dessanhemrayev dessanhemrayev force-pushed the 14.0-t3236-website_sale_product_item_cart_custom_qty-modify branch 5 times, most recently from 66d1fce to f837ef6 Compare January 18, 2024 00:50
Copy link
Contributor

@francesco-ooops francesco-ooops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functional ok!

@CarlosRoca13 can we merge?

Copy link
Contributor

@CarlosRoca13 CarlosRoca13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something does not work as expected.

image

When scrolling down, all the add-to-cart buttons have been stuck loading

@francesco-ooops
Copy link
Contributor

Something does not work as expected.

image

When scrolling down, all the add-to-cart buttons have been stuck loading

@CarlosRoca13 this issue is present in current runboat as well, so it's not due to this PR.

Would it be possible to merge? :)

Copy link
Contributor

@francesco-ooops francesco-ooops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually it shouldn't be merged,

@dessanhemrayev when I click on "add to cart" nothing happens

@dessanhemrayev dessanhemrayev force-pushed the 14.0-t3236-website_sale_product_item_cart_custom_qty-modify branch 2 times, most recently from 1bd9b65 to 82dc425 Compare January 22, 2024 19:51
Copy link
Contributor

@CarlosRoca13 CarlosRoca13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the option that has been introduced is very restrictive and should not eliminate the existing design. Previously, when the Add to cart option was active and the module installed, hovering over the products makes the buttons appear to indicate the quantity. I don’t want this to be lost.

The new feature should be just that, a new feature, but not break the previous behavior.

@dessanhemrayev dessanhemrayev force-pushed the 14.0-t3236-website_sale_product_item_cart_custom_qty-modify branch from 3f6804d to e0c8246 Compare January 24, 2024 20:09
Add a setting in /shop page > customize: Always display qty buttons
Qty and add to cart buttons are always visible (not only on rollover)
To improve the visualization, move the buttons below the image so that they do not overlap it, now it occupies about 20% of the image height.
@dessanhemrayev dessanhemrayev force-pushed the 14.0-t3236-website_sale_product_item_cart_custom_qty-modify branch from e0c8246 to 5a83605 Compare January 24, 2024 20:19
@dessanhemrayev
Copy link
Author

@CarlosRoca13 I returned the previous button behavior and combined them with the new one. Please take a look.)

Copy link
Contributor

@CarlosRoca13 CarlosRoca13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks

Copy link
Contributor

@francesco-ooops francesco-ooops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functional is ok!

@CarlosRoca13 can we merge?

@CarlosRoca13
Copy link
Contributor

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 14.0-ocabot-merge-pr-887-by-CarlosRoca13-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 073415b into OCA:14.0 Jan 25, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at a3794c2. Thanks a lot for contributing to OCA. ❤️

@ivs-cetmix ivs-cetmix deleted the 14.0-t3236-website_sale_product_item_cart_custom_qty-modify branch January 25, 2024 18:21
@francesco-ooops
Copy link
Contributor

@CarlosRoca13 a question: qty button is visibly unaligned with "add to cart" and "wishlist", resulting in a very "sloppy" feeling for the ecommerce:

image

anything that could be done to fix it?

@CarlosRoca13
Copy link
Contributor

@CarlosRoca13 a question: qty button is visibly unaligned with "add to cart" and "wishlist", resulting in a very "sloppy" feeling for the ecommerce:

image

anything that could be done to fix it?

Hmmm... Has the add to cart any margin top?

@francesco-ooops
Copy link
Contributor

@CarlosRoca13 I'm not technical and cannot say, so I thought to ask you as maybe you know better how it works :)

I see this is slightly affecting v15 (while in v16 it's fine)

image

@CarlosRoca13
Copy link
Contributor

I will take a look when i have a chance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants