[3.x]: Sale priority is incorrect or confusing #3103
Replies: 6 comments
-
Can you please reproduce these sales and products in a fresh install of commerce 3.x and send a db dump with steps to reproduce to [email protected] and we will reproduce and debug. -Luke |
Beta Was this translation helpful? Give feedback.
-
Ok, I will but I can't do it at the moment. @pdaleramirez if you want to try it you can just setup 1 product and apply 3 sales to it as described above. Try changing the order and the 'Ignore ...' settings and see. There's not much else to it really. |
Beta Was this translation helpful? Give feedback.
-
@pixelmachine I've tested this and based on the mapping you've created all are expected behavior. When you enable the |
Beta Was this translation helpful? Give feedback.
-
@pdaleramirez ok I understand that logic but in that case that wording doesn't make sense at all does it? It's not just previous sales it's "all other matching sales unless a subsequent sale also has 'ignore previous'". So the order does also matter. For example:
In this case Sale 2 is applied, so...
...is not really correct. I don't really understand the reason for the logic either:
= Sale 1 applies but it's not clear why, especially when you could use 'ignore subsequent' to achieve the same logic:
= Sale 1 applies in an intentional way |
Beta Was this translation helpful? Give feedback.
-
Also this should not be closed as the title is "Sale priority is incorrect or confusing" and the wording is confusing (or I would go as far as to say, wrong) as described in detail. |
Beta Was this translation helpful? Give feedback.
-
What I have outlined is literally the definition of an Issue not a suggestion or discussion, why has it been banished here? @pdaleramirez |
Beta Was this translation helpful? Give feedback.
-
What happened?
Perhaps I'm just not understanding but the sale priority does not seem to work as I would expect and the docs are pretty vague about it.
Here are some basic example scenarios (product cost is $100):
So there are two obvious issues I don't understand:
I don't really have an issue with either but the UI does not make it clear what's going to happen at all.
Craft CMS version
3.7.X
Craft Commerce version
3.4.18
PHP version
8.1
Beta Was this translation helpful? Give feedback.
All reactions