WooCommerce 2.6.1

WooCommerce was updated to version 2.6.1, from version 2.5.5. Changelogs:

2.6.1

  • Fix – Added missing localized format for line taxes in orders screen to prevent total miscalculation in manual orders.
  • Fix – Improved the hour and time fields validation pattern on the orders screen.
  • Fix – PayPal does not allow free products, but paid shipping. Workaround by sending shipping as a line item if it is the only cost.
  • Fix – SKUs prop on products shortcode.
  • Fix – Layered nav counts when term_id does not match term_taxonomy_id (before splitting).
  • Fix – Fixed referer links from cart messages in WP 4.4.
  • Fix – Fix the showing/hiding of panels when terms do not exist by using wc_get_product_types() for retrieving product types.
  • Dev – content-product.php and content-product_cat.php contained the wrong version.
  • Dev – Show “matching zone” notice on the frontend when shipping debug mode is on.
  • Dev – Restored missing WC_Settings_API::init_form_fields() method to prevent potential errors in 3rd party gateways.
  • Dev – API – Fixed returned data from product images (changed title to name).
  • Dev – API – Fixed products schema for grouped_products.
  • Dev – API – Fixed products attribute options when contains ,.
  • Tweak – Hide ‘payment methods’ screen if no methods support it.
  • Tweak – If shipping method count changes, reset to default.
  • Tweak – Avoid normalization of zone postcodes so wildcard matching can be performed on postcodes with spaces. E.g. SP1 *
  • Tweak – Allow max_fee in addition to min_fee in flat rate costs fields.
  • Tweak – Wrap order_schema_markup() output in hidden div in case script tag is stripped.

2.6.0

  • Feature – Introduced Shipping Zone functionality, and re-usable instance based shipping methods.
  • Feature – Tabbed “My Account” area.
  • Feature – Cart operations now use ajax (item quantities/remove, coupon apply/remove, shipping options).
  • Feature – Layered nav; filter by rating.
  • Feature – On-hold order emails.
  • Dev – All new REST API based on the WP REST API. The old WC REST API is still available, but the new one is preferred.
  • Dev – Added ability for shipping methods to store meta data to the order.
  • Dev – Added Payment Gateway Tokenization API for storing and retrieving tokens in a standardized manner.
  • Dev – Migrated custom term meta implementation to WP Term Meta.
  • Dev – Added new wc_get_orders() function to get order objects and ids instead of direct get_posts() calls.
  • Dev – Made coupon optional in cart has_discount() method.
  • Dev – Made the review template more editable.
  • Dev – Allowed product constructors to throw exceptions if invalid.
  • Dev – Wrapped currency symbols in a span to allow styling or replacement.
  • Fix – Update download permission user and email when changed.
  • Fix – Fixed shipping method unregistration.
  • Fix – Stopped create and update webhooks firing at the same time for products.
  • Fix – Allow COD to set on-hold status if the order contains downloads.
  • Fix – Force CURL to use TLS 1.2 for PayPal connections.
  • Tweak – Improved lost password flow.
  • Tweak – Show payment dates on order screen.
  • Tweak – Ignore catalog visibility on products shortcode when specifying IDs or SKUs.
  • Tweak – Added context to checkout error messages.
  • Tweak – Added SKU field to grouped products.
  • Tweak – Moved SKU field to inventory tab.
  • Tweak – Support qty display in cart messages.
  • Tweak – Hide min order amount field when not needed in shipping settings.
  • Tweak – If shipping < 999.99, use ‘shipping’ arg when passing values to PayPal.
  • Tweak – Show net sales on dashboard.
  • Tweak – Replaced credit card icons with SVG.
  • Tweak – Enqueue scripts on pages with checkout shortcodes.
  • Tweak – Color code the manual, system and customer notes.
  • Tweak – Layered Nav Refactoring to improve performance.
  • Tweak – Removed tag/cat classes from loops since WP does the same.
  • Tweak – Added hash check for orders so that if the cart changes before payment, a new order is made.
  • Tweak – Removed unused ‘view mode’ under screen options.
  • Tweak – Added 110 new currencies (including Bitcoin).
  • Tweak – New background updater for data upgrades.
  • Tweak – Blank slates in admin post screens.
  • Tweak – Added blockui when variations are being retrieved via ajax.
  • Tweak – Hide empty taxes by default (filterable).
  • Tweak – Allow failed orders to be edited.
  • Tweak – If there are no shipping methods setup, don’t prompt for shipping at checkout.
  • Tweak – Allowed country exclusion, rather than just inclusion, in ‘sell to’ setting.