Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

woocommerce php product gallery change to carousel

add_filter( 'woocommerce_single_product_carousel_options', 'cuswoo_update_woo_flexslider_options' );
/** 
 * Filer WooCommerce Flexslider options - Add Navigation Arrows
 */
function cuswoo_update_woo_flexslider_options( $options ) {

    $options['directionNav'] = true;

    return $options;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #woocommerce #php #product #gallery #change #carousel
ADD COMMENT
Topic
Name
3+3 =