Changelog

Read the latest news about Order Form for WooCommerce.

1.8.0, 2016-09-03

  • changed: template order-form.php adds a data attribute supporting the responsive CSS width (customised templates should be updated to match)
  • changed: show new compound WooCommerce added-to-cart message when order form returns to form page on submit
  • added: attribute catmode for how categories are collated and displayed, defaults to 'leaves'; from 'leaves', 'roots', 'all'
  • added: filter orderform_woocommerce_responsive_width for changing the responsive CSS width
  • added: filter orderform_woocommerce_adjust_product_price for changing the product price (e.g. for custom discounting)
  • added: custom cart item meta $cart_item['orderform_woocommerce']['flag'] for cart items added from an order form
  • added: basic support for discounting in VarkTek Pricing Deals for WooCommerce

1.7.0, 2016-04-18

  • added: support for responsive CSS to better fit forms on small screens
  • added: filter orderform_woocommerce_responsive_css to enable/disable responsive CSS on form
  • added: attribute responsivecss to enable/disable responsive CSS on form

1.6.2, 2016-01-19

  • fixed: form was broken when website had no pretty permalinks

1.6.1, 2016-01-04

  • fixed: submitting empty order form with only checkbox single-order products getting white screen
  • updated: German translation (thanks, Phillip Franke!)

1.6.0, 2015-12-16

  • added: integration with WooCommerce Wholesale Prices plugin, for correct form total calculations
  • added: sort by SKU; orderby="sku" for alphabetic order, orderby="sku_numeric" for numeric order
  • fixed: correctly handle multi-line variation price HTML
  • changed: replace admin-ajax.php with custom endpoint for front-end form posts and AJAX (for better performance)

1.5.0, 2015-10-14

  • fixed: select more than 2 categories by id (cat='1,2,3')
  • fixed: variable product attribute names in checkout page
  • fixed: variable products with only one price point don't show price
  • fixed: variable product attributes that don't affect price should still be required
  • fixed: free products can be ordered
  • fixed: out-of-stock variations show "Out of stock", not price
  • fixed: redisplay order form page when no items were selected for order
  • fixed: since WooCommerce 2.4, error messages don't display on submit
  • added: French translation (thanks, Hugo Catellier!)
  • added: German translation (thanks, Phillip Franke!)
  • added: orderform_woocommerce_products_by_category filter for order-form-by-category template data
  • added: orderform_woocommerce_empty_order_message filter for error message on an empty order
  • changed: order-form-by-category template preserves order of categories from shortcode cat attribute

1.4.1, 2015-08-11

  • fixed: WooCommerce 2.4 compatibility for product variations
  • fixed: orderform_woocommerce_product_row_template filter passes $product, not $products
  • changed: orderform_woocommerce_out_of_stock_msg filter passes $product and $attrs (shortcode attributes)

1.4.0, 2015-06-09

  • added: form submit can return to form with submitredirect="form"
  • added: action hooks triggered before each column, add extra columns without customising template

1.3.3, 2015-05-02

  • added: support for +/- buttons on quantities for some themes that add their own (e.g. Enfold)
  • changed: security hardening against XSS attacks

1.3.2, 2015-03-13

  • fixed: variation attribute labels were displaying the attribute slugs, not their human-readable titles
  • fixed: Disable Cart now removes add-to-cart / variation options on Avia framework themes (e.g. Enfold)
  • changed: refactored some code out of the product variation row templates, simplify those templates

1.3.1, 2015-03-08

  • fixed: separated variation prices were taking wrong value on form

1.3.0, 2015-03-01

  • fixed: set minimum order quantity on product to 0, to avoid negative quantities in WC2.3
  • fixed: was getting ".undefined" on totals when currency settings had 0 decimal places
  • fixed: prevent cell movement when quantity changed, by setting size of row total column to 5em; themers can override this with CSS
  • fixed: allow other plugins to filter products query, e.g. Groups, WPML
  • added: support for product variations via drop-down selects
  • added: support for maximum order quantity on product, including Sold Individually (max = 1)
  • added: attribute individual="checkbox" to show a checkbox for Sold Indidually products
  • added: attribute include for including products by ID (comma-separated list)
  • added: attribute variations for separating product rows into one row per variation
  • added: attribute resettitle for "Reset selection" link text on variation selections
  • added: attribute showshortdesc for showing short description under the product title
  • added: attribute classes for adding CSS classes to order form table
  • added: wrapper div for order form, with classes for WC2.3 styling compatibility
  • added: trigger jQuery event qty-changed.orderform-woocommerce when item quantity changes in form
  • changed: split templates into smaller pieces, to facilitate reuse and customisation
  • changed: handle boolean attributes specified in yes/no true/false 1/0 etc.

1.2.0, 2015-01-22

  • added: option for new orders added to contents of WooCommerce cart, instead of replacing them
  • added: attribute exclude for excluding products by ID (comma-separated list)
  • added: attribute showstock for showing stock level on products with inventory management
  • added: template order-form-by-category for showing a category heading when there are multiple categories
  • added: Czech translation (thanks, Rudolf Klusal!)
  • added: Finnish translation (thanks, Peter Rosenberg!)
  • changed: better support for plugin updates on multisite

1.1.0, 2014-10-12

  • fixed: multiple category or tag terms, e.g. cat="flowers,chocolates"
  • fixed: check for WooCommerce supports WooCommerce v2.0.2
  • fixed: calculations when there are out-of-stock products in WooCommerce v2.2
  • added: Dutch translation (thanks, Thomas Borkent!)
  • added: specify a different template, e.g. template="product-grid"
  • added: trigger jQuery event recalculated.orderform-woocommerce with parameters: form, count, total
  • added: actions orderform_woocommerce_order_item_start and orderform_woocommerce_order_item_end on order form
  • changed: order form script isn't tied to table elements, utilises classes / data attributes; more flexible template structures

1.0.4, 2014-09-15

  • added: new attribute submitredirect allows redirect to cart on submit form

1.0.3, 2014-07-16

  • fixed: +/- buttons and quantity input are cut off on Elegent Themes Divi theme
  • fixed: products with no price generate error for line total / subtotal
  • updated: plugin update / license check module

1.0.2, 2014-06-05

  • fixed: WooCommerce version compatibility layer only loads when WooCommerce is loaded
  • changed: use WordPress AJAX API instead of URL parsing for form processing

1.0.1, 2014-04-29

  • added: link to support form (goes to same place as emails)
  • removed: pre-1.0.0 support code (all old clients have been upgraded)

1.0.0, 2014-04-27

  • initial release