Viewing 1 post (of 1 total)
  • Author
    Posts
  • #29974
    Profile photo of Hebstreit
    Hebstreit
    Participant

    I found after updating Symbiostock 4.0 one Code Snippet WooCommerce Quanitity is not longer working and led to a fatal error. This code should prevents changing the option quantity in the cart. In my view it seems not a topic of Symbiostock than more one of WooCommerce 3.0 interaction ?!

    You should deactivate if it looks like:

    ss_storelic(‘ss_exp_lic.php’,trailingslashit(plugin_dir_path(__FILE__)));

    add_filter( ‘woocommerce_is_sold_individually’, ‘wc_remove_all_quantity_fields’, 10, 2 );

    function wc_remove_all_quantity_fields( $return, $product ) {

    return( true );

    }

    Unfortunately i’m not a programmer. If someone provided a working code for this task I would be very happy! 🙂

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.