on ‎2020 Sep 03 3:41 PM
Hi all,
While using ProductCarouselComponent, products are sorted if a product is added or removed. However, if no product is added and removed, and the products are re-ordered in the list, product codes are not updated accordingly. We want for products to be ordered on drag and drop reordering, and show in order in the frontend accordingly. However, I have no idea how to do this, or where it is triggered. ProductCarousel has a service but I couldn't find anything of use. how can I achieve this?
Hybris version is 1905
Request clarification before answering.
Hello,
The easiest way in think, is to implement a ,PrepareInterceptor<ProductCarouselComponent>, before saving modification on your component, in which you can intercept the new order maked by drag&drop on the list of products, and put this new order in the list of product codes.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 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.