Open StampixSMO opened 11 months ago
Hi! Have you tried implementing something like this yourself as a custom PromotionAction? I think it should be possible using existing APIs.
I have not tried this yet since we didn't need it just yet, rather I just noticed it wasn't possible.
A custom PromotionAction with a custom input field too then? Which does allow multiple currencies? Since the current one hardcodes the channel's default currency. Doesn't it make more sense to add this to the existing actions?
Yes, it can be added to the default actions, but I suggested it as something you can do if you need support right now and cannot wait for core support. I'm not 100% certain of the best implementation for this, but you could eg define a string list arg which can be used to encode currencyCode/price pairs which are then used by the action to select the correct discount.
Yes, it can be added to the default actions, but I suggested it as something you can do if you need support right now and cannot wait for core support. I'm not 100% certain of the best implementation for this, but you could eg define a string list arg which can be used to encode currencyCode/price pairs which are then used by the action to select the correct discount.
Ah okay, yep that's definitely possible with a custom promotion action as a workaround for the time being. Thanks for the suggestion!
Describe the bug When using channels with multi-currency, creating promotions is not very straightforward because only the default currency is supported. This results in potential unexpected discounts, since you can't define a monetary value per currency.
To Reproduce Steps to reproduce the behavior:
Expected behavior The promotion condition & action to be multi-currency supportive, i.e. you can enter the monetary value in multiple currencies and the condition/action will act accordingle.
Environment (please complete the following information):