Home › Forums › WoodMart support forum › Archive products element – Pop-up with the video opens in a new page.
Archive products element – Pop-up with the video opens in a new page.
- This topic has 8 replies, 2 voices, and was last updated 1 year, 6 months ago by
Elise Noromit.
-
AuthorPosts
-
July 27, 2023 at 4:00 pm #484590
supp0rtParticipantHello,
I have created a Product Archive Layout using the Layout Builder. The problem is if the pagination is set to Infinite scrolling, then on the second page, if I press the Play button with the video, the pop-up does not load and instead the video opens in the same tab in youtube.
Let me know if this can be fixed and if a script is called on a page, regardless of the pagination, to load correctly.
Best Regards
-
This topic was modified 1 year, 7 months ago by
supp0rt.
July 27, 2023 at 4:26 pm #484611
supp0rtParticipantI wanted to add something else that I noticed.
If I use “Pagination” as the product’s pagination from the global settings, and then go to the product archive page and try to choose the second page, nothing loads. I have to reload the page manually in order for it to appear.
Probably, something does not work as intended with the AJAX call and the Layouts builder.
Let me know of your thoughts.
Best Regards
July 28, 2023 at 3:49 am #484726
Elise NoromitMemberHello,
When you create a template, the Theme Settings are not applied.
Please insert the site admin access into the Private content below the message area. We will take a closer look at the video issue.
Please, confirm the permission for plugin deactivation, and switching to the parent theme. As soon as we complete the testing we will enable all back, however, the site would be without plugins for 15-20 min. You would better make the full backup of your site.
Best Regards
July 28, 2023 at 11:26 am #484805
supp0rtParticipantThank you for your reply. I have provided the credentials below for a staging site.
As this is a staging site, you have permission to make any changes you want. Let me know if you need anything else.
Let me know if you need anything else.
August 1, 2023 at 1:28 am #485512
Elise NoromitMemberHello,
Video button on the product is customization and this customization is not correct.
Insert this code into your code:
jQuery(document).on('wdShopPageInit wdLoadMoreLoadProducts wdArrowsLoadProducts wdProductsTabsLoaded', function() { //your custom code. });
If you have any questions please feel free to contact us.
Best Regards
August 18, 2023 at 4:04 pm #489654
supp0rtParticipantExcuse my late response. This is indeed a customization based on the code and the libraries provided. Can you please elaborate more as to what code you are referring to and where should i insert the sniper provided? I am not referring if this must go to the functions.php file, but if I should encapsulate the div that has the video button or something elese
Thank you
-
This reply was modified 1 year, 6 months ago by
supp0rt.
August 21, 2023 at 3:07 pm #490133
Elise NoromitMemberHello,
The code should be added to the Theme Settings > Custom JS. We check and we see you have added the code correctly: https://monosnap.com/file/wqaONSWbkl1eDX1WGUT3S9gDBRwvXU
If you have any questions please feel free to contact us.
Best Regards
August 21, 2023 at 3:30 pm #490149
supp0rtParticipantI didn’t get to reply back in time, but I found the function productVideo that was inside the woodmartThemeModule object, so as it was global I could access it and apply it to the snippet you provided.
You may close the ticket.
Thank you for your assistance.
August 23, 2023 at 3:32 pm #490761
Elise NoromitMemberIf you have any questions please feel free to contact us.
Best Regards
-
This topic was modified 1 year, 7 months ago by
-
AuthorPosts
The topic ‘Archive products element – Pop-up with the video opens in a new page.’ is closed to new replies.
- You must be logged in to create new topics. Login / Register