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

feat(add-to/cart): Let it be shown for unavailable products #5

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

jtomaszewski
Copy link

@jtomaszewski jtomaszewski commented Apr 12, 2023

If the button is shown in some tiles and in some not, and if the button affects the dimensions of the tile (e.g. when it's shown as a additional block in the bottom of the tile, extending its' height), it will cause some tiles to be taller than the others.

An example of that can be seen on the screenshot below - unavailable products have their title not aligned with the available products:

image

This commit allows the dev to enforce the button to be shown for all products (including unavailable ones) by setting an option in xml (and styling it differently through css, when the product is unavailable).

…ailable

If the button is shown in some tiles and in some not, and if the button affects the dimensions of the tile
(e.g. when it's shown as a additional block in the bottom of the tile, extending its' height),
it will cause some tiles to be taller than the others.

This commit allows the dev to enforce the button to be shown for all products (including unavailable ones)
by setting an option in xml (and styling it differently through css, when the product is unavailable).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant