November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
The switch was checked at ConfigureContainer which was way before your code. It seems to be a bug for me - I will create one so it will be looked into. Meanwhile you can use the workaround here Switching away from serializable cart mode – Quan Mai's blog (vimvq1987.com)
Thanks! With the code you provided the feature was successfully disabled :)
We're currently upgrading a solution from 13.31.1 to 14.15.6 and we're having some difficulties disabling the SerializedCarts feature wich is now enabled by default.
We've added the following initializable module that attempts to disable the SerializedCarts according to the documentation at https://docs.developers.optimizely.com/customized-commerce/docs/serializable-carts, we've also tried disabling the feature through appsettings.json.
The code executes successfully, but after e.g. adding a payment to the cart and calling
_orderRepository.LoadOrCreateCart<ICart>(..)
we get an exceptions with a stack trace that leads throughSerializableCartDB
, indicating that the feature is still enabled:Exception details:
During the call I checked the value of IFeatureSwitch.Features[0] and it seems to be disabled as it should be:
Is my assumption correct that serialized carts are still being used? How can I disable the feature propperly? Or is SerializableCartDB supposed to be used even when the feature is disabled?