webdna / commerce-bulk-pricing

Other
2 stars 2 forks source link

Pricing is showing original price rather than this plugins pricing #15

Open deanfields opened 2 years ago

deanfields commented 2 years ago

Hi, for some reason, this plugin has stopped working correctly. I have upgraded to the latest version of commerce and Craft on 3.x (not 4) and the pricing is being pulled through for the app for a user set to a specific group.

deanfields commented 2 years ago

I did a bit of digging, I think this is occurring because we are using both your plugins Bulk and currency prices. I believe what has happened is the event for populate line item which both of these plugins are using is firing in a different order now. It used to be that current triggered first and then bulk, but it's now happening the other way around. I believe this must have something to do with them being updated or changing of ownership has caused the load order to change ?

However now when bulk runs and then currency, currency is changing the price back to using the normal price on the product instead of the bulk pricing field (set to a specific group)