I implemented a price collector / processor exactly as described in the docs (
CodePudding user response:
I think your problem is that you registered your Collector with the same priority as in documentation (4500).
Shopware PromotionProcessor
is registered with priority 4900, so your code is called after PromotionProcessor
.
So what do you need is to register your OverwritePriceCollector
with higher priority e.g. 5000.