Home > database >  Wrong discount calculation on Shopware 6 Price Collector/Processor
Wrong discount calculation on Shopware 6 Price Collector/Processor

Time:09-27

I implemented a price collector / processor exactly as described in the docs (enter image description here

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.

  • Related