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

Setting tiered price in one variant is showing tables for all variants #75

Open
mpysiak opened this issue Oct 31, 2023 · 3 comments
Open

Comments

@mpysiak
Copy link

mpysiak commented Oct 31, 2023

1

2

Tested on latest Sylius version

@mamazu
Copy link
Collaborator

mamazu commented Oct 31, 2023

Oh yeah, thanks for reporting this issue. I think the plugin was never tested with product variants. Does it at least calculate th price correctly based on the variant selected?

@mpysiak
Copy link
Author

mpysiak commented Nov 6, 2023

Hi,

I've tested a little more. There is a problem only in javascript on the product page. When you add tier price for one variant, table shows for every variant. Also when changing product quantity - the price dynamically changes for other variants. But it in the cart the prices are correct.

The above problems occurs only when (in the product settings) option for Variant selection method is set to Options matching (then Sylius reneders select form), when option is set to Variant selection everything works perfectly

Screenshot 2023-11-06 at 07 47 20

@mamazu
Copy link
Collaborator

mamazu commented Nov 13, 2023

Oh yeah, you are right. Looks like this feature isn't implemented yet. It only works when it's variant selection.

But if you want to I'd be happy to accept contributions.

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

No branches or pull requests

2 participants