- This topic has 2 replies, 2 voices, and was last updated 8 years, 1 month ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.


Home › Forums › Pro Themes › Travel Eye Pro › Woocommerce Product gallery lightbox
Please can you tell me how to get the lightbox working correctly for product image and gallery
This is the site I’m working on http://testsite.snorkelingthailand.com/product/phi-phi-deluxe-plus-tour-6-islands/
Hello @paul614724,
As currently there is no light box feature included in the theme you have to add below given code in your child theme functions.php file .
You can even activate the child theme using the plugin given below :
https://wordpress.org/plugins/wp-child-theme-generator/
After activating the child theme in your child themes functions.php file please add below given code.
add_action( 'after_setup_theme', 'travel_eye_pro_setup' );
function travel_eye_pro_setup() {
add_theme_support( 'wc-product-gallery-zoom' );
add_theme_support( 'wc-product-gallery-lightbox' );
add_theme_support( 'wc-product-gallery-slider' );
}
Hope this helps .
Best Regards!!
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |



