on 08-23-2018 1:02 PM
Hi All
I want to know whether my cart is modified i.e; adding a product, increasing quantity. is there any ootb support to know whether the cart is modified or not. If not modified I don't want to perform any other logic so as to reduce the database hits.
Thanks In Advance!!
Use de.hybris.platform.commercefacades.order.CartFacade#validateCartData
to check the modification in cart
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gopi,
You can use an interceptor to monitor this and avoid database load.
Reference: Interceptors Documentation.
Regards,
Luke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.