Cross Out of Stock options

You are here:
← All Topics

This article belongs to our plugin : Woocommerce Color or Image Variation Swatches

Please remember that this feature is still in beta. By default plugin do not crossout out of stock options. If you wish to enable this feature use below given php snippet code.

add_filter('wcva_cross_outofstock_options','wcva_cross_outofstock_options',10,2);

function wcva_cross_outofstock_options() {
    return "yes";
}

You may use Code Snippets plugin to insert any extra php code.

Sidebar