• Resolved idnr1

    (@rm04)


    Hi,

    If min value is 0 like with grouped products no value is shown at all and buttons don’t work untill u manually insert a value.

    I solved it by changing inside quantity-input.php;

    value="<?php echo esc_attr( $input_value ); ?>"

    to

    value="<?php echo esc_attr( $min_value ); ?>"

    After this change simple and grouped products both work as expected.

    Using latest woocommerce and plugin..

    Please change it in future update

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Niels Lange

    (@nielslange)

    Hello @rm04 ?? Thanks for letting me know. I’ll investigate this issue later today and will released a fixed version.

    Plugin Author Niels Lange

    (@nielslange)

    Hello @rm04 ?? I just release version 1.14 of the update which includes your suggested change. ??

    Thread Starter idnr1

    (@rm04)

    Thank u very much ??
    tested and confirmed working.

    Plugin Author Niels Lange

    (@nielslange)

    Hello @rm04 ?? It seems that the recent update had a negative impact for non-grouped products. I’ll address this issue later today and will create a new release. ??

    Thread Starter idnr1

    (@rm04)

    i reopened this issue since version 1.15 rerolled my fix, i suggested a new kind of fix on your github page. https://github.com/nielslange/smntcs-woocommerce-quantity-buttons/issues/21

    My former fix didnt had negative impact on simple or grouped products so probably only on variable products.

    So if u use my latest suggestion to make it something like this;
    if( $product->is_type( 'simple' ) && $input_value == '' ) then input value should always be 0.
    That should prevent any effect on other kind of products

    Kind regards

    Hi.

    This is also affecting woocommerce mix and match products.

    Thank you for the upcoming fix.

    Plugin Author Niels Lange

    (@nielslange)

    Hello @rm04 & @aaronbennett2097 ?? I just added a fallback mechanism to detect an empty value and then show 0 instead of keeping the quantity field empty. Can you confirm that release 1.16 fixes the issue and that both simple and grouped products work as expected again on your end?

    Hi Niels.

    That fixed it for me on WooCommerce Mix and Match.

    Thank you ??

    Plugin Author Niels Lange

    (@nielslange)

    Hello Aaron, I’m glad to hear that the issue is finally fixed! ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Input value incorrect’ is closed to new replies.