Order Form for WooCommerce compatibility with WooCommerce 2.4

Order Form for WooCommerce version 1.4.1 has just been released. It fixes a bug with WooCommerce 2.4 and product variations, and extends a couple of filter hooks.

WooCommerce 2.4 is out and it brings some changes to product variations. This broke some product variations in order forms, which this release fixes. Forms without product variations will not be affected.

The orderform_woocommerce_product_row_template filter hook was passing an array of $products, which really wasn’t all that useful! It now correctly passes the $product for the row instead. Sorry about that!

The orderform_woocommerce_out_of_stock_msg filter hook now passes $product and $attrs (shortcode attributes) so that hookers can alter the Out of Stock message based on the product and the specific order form.

You can update to version 1.4.1 from your WordPress plugin admin page.

Tags:

Posted on