vanilophp / adjustments

Vanilo Adjustments Module (shipping fees, promotions, taxes)
MIT License
5 stars 1 forks source link

setAmount not updating data #2

Closed FusionPwN closed 2 years ago

FusionPwN commented 2 years ago

When updating an Adjustment shouldn't the function also update the amount value inside the json data field, instead of just updating the amount field? This way when you call a recalculateAdjustments the instanced adjusters will be instanciated with the old value... Either this is a bug or I'm not fully understanding how to use this module :D