Closed wernerkrauss closed 5 years ago
https://github.com/silvershop/silvershop-discounts/blob/master/src/Extensions/Constraints/ProductsDiscountConstraint.php#L57 sets the reading mode to Stage, but returns without recreating the current mode..
Wrap in Versioned::withVersionedMode() instead
Versioned::withVersionedMode()
Thanks!
https://github.com/silvershop/silvershop-discounts/blob/master/src/Extensions/Constraints/ProductsDiscountConstraint.php#L57 sets the reading mode to Stage, but returns without recreating the current mode..
Wrap in
Versioned::withVersionedMode()
instead