Woocommerce

How to add a new custom product type at WooCommerce Admin

WooCommerce has four product types, Simple Product, Grouped Product, External/Affiliate Product and Variable Product. In many cases, the default product types are not enough. You might need to add new product types such as Subscription product, Membership product, Bookable product & so on. In this post, we will try to add a new custom product […]

Disable Zoom, Gallery Slider & Lightbox at Single Product in Woocommerce

If you want to disable zoom, Gallery Slider & Lightbox effect on single product page in woocommerce than add this code to your theme’s functions.php file of your active child theme (or theme). add_action( ‘after_setup_theme’, ‘wp_remove_zoom_lightbox_theme_support’, 99 ); function wp_remove_zoom_lightbox_theme_support() { remove_theme_support( ‘wc-product-gallery-zoom’ ); remove_theme_support( ‘wc-product-gallery-lightbox’ ); remove_theme_support( ‘wc-product-gallery-slider’ ); } Twitter Facebook Pinterest LinkedIn

How to add color filter in woocommerce

step 1 : Open your functions.php file of your active child theme (or theme) and add the code below to it. Make sure the code is added before the closing PHP tag. // Register a custom taxonomy for color add_action(‘init’, ‘custom_taxonomy_color’); function custom_taxonomy_color() { $labels = array( ‘name’ => _x(‘Colors’, ‘taxonomy general name’, ‘textdomain’), ‘singular_name’

Scroll to Top