- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 19.03.24, 07:57
- Opened by: Vidmantas Dapkus
- Closed by: Anonymous Submitter
- Closed on:
- Reason: Not a bug
Ticket #25419 - Product videos module by SUNNYTOO
To show videos in product gallery I use Product videos module by SUNNYTOO. After PS/theme update the module started to duplicate the video thumbnail, you can see it in https://people-fashion.dk/uldtorklaeder/2011-100-kashmir-torklaede.html. I contacted the module developer and got answer
Let me explain, the video will be added to the product page when the product page is loaded. When something changes, like when the combination is changed, the product page will be updated by PrestaShop, PrestaShop will emit an “updatedproduct” event to every module, and the video module will add the video back again when it receives the message.
See the attached pic, but your theme emits an “updatedproduct” message for no reason, which would cause various unexpected issues. Contact your theme developers to fix it.
Comments
Hi, Vidmantas.
How he can know why the theme is emitting an event?
I can also say the they must check is the video already added to thumbnails and if so don't add it second time.
We will check is the even possible to remove emitting that event, but I do not consider that as a bug
I also can offer you temporary css fix:
Thanks, I used your temporary css fix.
Ok