Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Antonios VOulvoulis
    Guest
    Post count: 4

    Hi,

    When you select manage stock per product then doesnt work properly
    I test it also in your demo
    https://demo.softound.com/woo-custom-stock-status/wp-admin/post.php?post=18&action=edit&lang=en
    I change Low stock threshold on product and overrided by global setting ignore this case

    BR
    Antonis

    A. V.
    Guest
    Post count: 4

    Patch to fix the bug :

    woo-custom-stock-status/includes/class-wc-stock-base.php
    case ‘low_amount’ :
    // if ( $this_obj->get_stock_quantity() <= get_option( ‘woocommerce_notify_low_stock_amount’ ) ) {
    replace by
    if ( $this_obj->get_stock_quantity() <= $this_obj->get_low_stock_amount()) {

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Bug on plugin
Your information: