• Resolved clb92

    (@clb92)


    Hi

    Great plugin, thanks!
    I have a problem though. All my products show 0 by default in the quantity selector now instead of 1. If I disable the plugin, they show 1 again as expected.

    I quickly looked at the code in wcmmq.php, and the default seems like it should be 1, but it isn’t working correctly.
    If I in set_max_min_quantity.php (line 141), manually replace WC_MMQ_S::getOption( '_wcmmq_s_min_quantity' )
    with just 1 instead, then it works perfectly. It is not getting the correct default value from the WC_MMQ_S instance, I think? I’m not sure.

    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Default 0 quantity on all products’ is closed to new replies.