Quantity?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #99461
    kateeloop
    Member

    does this plug-in eliminate the ability to choose a quantity of the item?

    #99462
    Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    Yes, quantity is disabled for open pricing products. However this is easily fixable. Please give me 1-2 days to release new version, where this will be optional. If you are in a hurry, you can temporary comment single line in “/includes/class-alg-wc-product-open-pricing-core.php” file in plugin’s folder. Just comment/remove line 29 there:

    add_filter( 'woocommerce_is_sold_individually', array( $this, 'hide_quantity_input_field' ), PHP_INT_MAX, 2 );

    Unfortunately I didn’t have time to test it, but this should be enough to re-enable the quantity field.

    Will get back to you as soon as new version is released.

    Best regards,
    Tom

    #99465
    Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    As promised, we’ve added the requested option to the plugin. Please update to v1.1.1. Now in plugin’s settings (in “WooCommerce > Settings > Product Open Pricing”) we’ve added new “Disable quantity selector” checkbox, which will disable/enable the quantity input.

    Please let me know if it’s not working as expected.

    Best regards,
    Tom

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.