Woocommerce Gallery Thumbnail Flexslider Navigation?

Hi,

I’m having trouble (and not enough time) locating where in PRO that the <ol> is added for the slider thumbnails. I want to add navigation arrows to a carousel version of the thumbnails (rather than the untidy stacked thumbnails, which gets messy when more than a few images are added to the product gallery in woocommerce), but see nothing in either product-image.php or product-thumbnails.php (both of which are only in the woocommerce plugin folder - no overrides in PRO?).

To save me a LOT of time hunting, would you please let me know where the <ol> is added (assuming this is added by PRO?) so that i can change the code and wrap it in a <div>?

Many thanks…

Hi There,

Try adding this custom code on your child theme functions.php file instead:
add_action( 'after_setup_theme', 'remove_woo_features', 999 ); function remove_woo_features(){ remove_theme_support( 'wc-product-gallery-slider' ); }

It is in the product-thumbnails.php file. The flexslider JS library converted that to <ol>. See that after adding above function it will go back to the original code on product-thumbnails.php file.

Since this is a custom code, further customization from here would be getting on to custom development which is outside the scope of our support. Thank you for understanding.

Not asking for custom development, nor how to disable 'wc-product-gallery-slider'

I just asked where your flexslider JS is loaded so that I can change it myself? Is that too much to ask?

Hi,

The code is in wp-content/themes/pro/cornerstone/includes/shortcodes/slider.php

Hope that helps.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.