Support » Plugin: WooCommerce Product Video Gallery » WooCommerce shortcode product_page

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Nuno Sarmento

    (@nunosarmento)

    I can see why the plugin is not loading the styles and scripts for the Woo shortcode is because you are doing a check on line 453 product-video-gallery-slider-for-woocommerce.php

    if (class_exists( 'WooCommerce' ) && is_product()){

    Is there any way you can update the plugin and make it work for page templates

    Thread Starter Nuno Sarmento

    (@nunosarmento)

    I fixed my issue by changing line 453 with the code below, but this is not really good if I update the plugin my changes will be lost 🙁

    if (class_exists( 'WooCommerce' ) || is_product() || is_page_template('page-templates/template-products.php') ){

    Plugin Author NikHiL Gadhiya

    (@nikhilgadhiya)

    Don’t worry we will add this condition with update.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.