WooCommerce Max Quantity, the WordPress WooCommerce plugin that allows you to limit quantities per order, has been updated to version 1.4.
The two most important changes are:
- The plugin now allows you to set different max quantity limits for each individual product. See the new setup instructions and documentation for an explanation of the new setting.
- The max quantity limit now works with Variable products (products with variations). Previously, the plugin only worked with Simple products. Now, the plugin works with all products, Simple and Variable.
In addition to those two changes, there has been some code refactoring. Some functions were renamed. If you have added any custom code that uses any of these function handles, this list will apply to you.
Here is a list of the function names which were changed in version 1.4. If your custom code uses any of these, you should replace the name of the function with its new name.
isa_get_qty_alread_in_cartwas changed to
isa_max_item_quantity_validationwas changed to
add_isa_max_quantity_optionswas changed to
isa_woo_max_qty_load_textdomainwas changed to
isa_woo_max_qty_update_cart_validationwas changed to
isa_woocommerce_quantity_input_argswas changed to
In addition, one function was removed:
isa_woocommerce_available_variation, which was hooked to
woocommerce_available_variation, was removed.
See more: Customize WooCommerce