Home › Forums › WoodMart support forum › Component image lightbox not working with Composite Products plugin
Component image lightbox not working with Composite Products plugin
- This topic has 13 replies, 3 voices, and was last updated 1 year, 5 months ago by Artem Temos.
-
AuthorPosts
-
July 7, 2023 at 10:05 pm #480007
wildguitarsParticipantGreetings Xtemos team
I have recently installed the Composite Products plugin which is an official WooCommerce plugin.
When adding components to a composite product, clicking on the component’s thumbnail image does not open in a lightbox, rather the image is opened in the same page. When switching to an official WooCommerce theme (for example Twenty Twenty-Three) the issue is resolved. I am currently running the WoodMart Parent theme on our staging site so it seems to be a conflict with the theme itself and not the customizations in our child theme – I may be wrong, though.Please see the following screen recording, and the information I have provided in the private content.
https://we.tl/t-fFTIZuTgAhThanks in advance for your support.
Best regards,
TomJuly 8, 2023 at 1:58 pm #480069
Aizaz Imtiaz AwanKeymasterHello,
Please share the WP admin login details of your site so I will check and give you the possible solution.
Best Regards.
July 8, 2023 at 3:11 pm #480082
wildguitarsParticipantSorry I forgot to include the admin login
Please see the private contentJuly 8, 2023 at 4:04 pm #480091
Aizaz Imtiaz AwanKeymasterHello,
Sorry to say we have not tested any plugin in this regard and not give full compatibility of this.
Please contact the plugin support, perhaps they would offer a valid solution.
Best Regards.
July 8, 2023 at 5:32 pm #480101
wildguitarsParticipantHi Aizaz,
The plugin developer actually instructed me to contact XTemos, since the feature I am having an issue with works fine with default themes such as Twenty Twenty-Three. Is there anything you can do to assist me?Best regards,
TomJuly 11, 2023 at 12:04 pm #480637
Artem TemosKeymasterTry to add the following PHP code snippet to the child theme functions.php file to fix this
add_action( 'after_setup_theme', 'woodmart_add_wc_gallery_lightbox', 100 ); function woodmart_add_wc_gallery_lightbox() { add_theme_support( 'wc-product-gallery-lightbox' ); }
July 12, 2023 at 1:20 pm #480867
wildguitarsParticipantHi Artem,
I have asked our developer to add the code to the functions.php file, but I don’t see any changes on the front end.
Can you please confirm that the code has been implemented properly?
https://dev2.wildguitars.co.il/product/prs-se-standard-24-guitar-pack/I apologize for the extra work.
Thanks,
TomJuly 13, 2023 at 4:18 pm #481257
Artem TemosKeymasterHello,
You didn’t put the code as we asked. Now this code is added to your website. Please, test how it works from your end.
Kind Regards
July 14, 2023 at 12:00 pm #481490
wildguitarsParticipantHi Artem, thanks again for your prompt reply
Unfortunately it doesn’t look like the issue has been resolved – clicking on the thumbnail image still opens it up in the same window rather than in a lightbox.
Screen recording: https://we.tl/t-mvtFE43BV7July 14, 2023 at 3:03 pm #481538
Artem TemosKeymasterSorry for the confusion. We didn’t add the code. And it should be there. Please, test it from the end and let us know if it works.
Thank you
July 15, 2023 at 10:24 pm #481786
wildguitarsParticipantIt works great now, thank you Artem!
Can you please send me a screenshot of exactly where the code needs to be, so that I may add it to the functions.php file of our live site?July 17, 2023 at 10:20 am #481922
Artem TemosKeymasterJuly 19, 2023 at 11:40 am #482570
wildguitarsParticipantThanks so much
July 19, 2023 at 12:22 pm #482588
Artem TemosKeymasterYou are welcome. Feel free to contact us if you have any further questions.
-
AuthorPosts
The topic ‘Component image lightbox not working with Composite Products plugin’ is closed to new replies.
- You must be logged in to create new topics. Login / Register