• The badges are not showing on the product page when using WooCommerce Gallery Slider!.

    Is there a way to use the plugin and have the badges show?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support crodriguez1991

    (@crodriguez1991)

    Hello there,

    Thanks for contacting us and I hope you’re doing well 😀

    Maybe the plugin override the default gallery and doesn’t add the default hook that our plugin use.

    Could you tell me which plugin are you using?

    Is this plugin?

    https://wordpress.org/plugins/woo-product-gallery-slider/

    Please send me the product link where I can download and test the problem on my local installation.

    I’m looking forward your response.

    Have a good day.

    Thread Starter njinok

    (@njinok)

    It is this plugin that is being used:
    https://wordpress.org/plugins/gallery-slider-for-woocommerce/

    The link to one of the products:
    https://www.powrfood.com/product/powrshake/

    The badges are showing fine when the gallery slider plugin is deactivated.

    Plugin Support Facundo Arano

    (@aranofacundo)

    Hi there,
    Please, try to add the following code to the functions.php file of your current theme:

    if ( ! class_exists( 'YITH_WCBM_Frontend' ) ) {
    	add_filter( 'woocommerce_single_product_image_large_html', array( YITH_WCBM_Frontend(), 'show_badge_on_product_thumbnail' ), 99 );
    }

    This should display the badge in the product page.

    I’ll be looking for your reply.
    Best regards.

    Thread Starter njinok

    (@njinok)

    Thank you very much for trying to help. It is much appreciated.

    Unfortunately adding this filter to the function file of the child theme did not make the badges appear.

    Plugin Support Alessio Torrisi

    (@alessio91)

    Hi there,
    I checked the source code of that plugin but unfortunately it does not provide any hook that we can use to attach the badge.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not working with gallery slider’ is closed to new replies.