WooCommerce 3.0.1

WooCommerce was updated to version 3.0.1, from version 2.6.14. Changelogs:

3.0.1

  • Fix – Show catalog hidden products within grouped products.
  • Fix – Fade in the gallery in if no images are set or it’s custom.
  • Fix – Use wc_deprecated_function in WC_Deprecated_Hooks so notices aren’t output in ajax requests.
  • Fix – Added back the ability to include extra items to the System Status using the woocommerce_system_status_environment_rows filter.
  • Fix – Coupon category restrictions and limits for variations.
  • Fix – Allow shortcodes and HTML in variation descriptions like in 2.6.
  • Fix – Unset post date when duplicating products.
  • Fix – Show a sale price on variable products if on sale and all prices are the same.
  • Fix – Corrected download links when a product has multiple downloads.
  • Fix – Prevented potential errors if the product type was not posted for any reason on save.
  • Fix – Updated single-product/up-sells.php, loop/add-to-cart.php, loop/rating.php, checkout/form-billing.php, and content-product.php template version to 3.0.0.
  • Fix – Included clearfixes on billing and shipping field wrappers,
  • Fix – Fixed styling of logs table in some languages.
  • Fix – Fixed display of variation attributes on old orders.
  • Fix – Use placeholder text for external products add to cart button text if left blank.
  • Fix – Fallback to home URL if no shop page is set for system status security check for HTTPS.
  • Fix – For variations, pull tax status and sold individually from the parent since there is no UI to set this at variation level.
  • Fix – Moved cron emails to background processing to avoid multiple sends.
  • Fix – Wrapped structured data in a hidden element when added to emails.
  • Fix – Missing gateway information in queued emails.
  • Fix – Fixed a bug that caused pages to permanently reload if “Default customer location” was set to “Geolocate (with page caching support)”.
  • Fix – When forcing shipping to billing, set the shipping fields in the order itself.
  • Fix – Check for invalid objects in WC_Register_WP_Admin_Settings.
  • Fix – Check for error object in wc_get_object_terms.
  • Fix – Removed slashes in shipping meta data on the order edit screen.
  • Fix – Prevented permalink rewrites for attributes with missing names.
  • Fix – Fixed saving of meta data when multiple extensions use the save_post action.
  • Fix – Allow search customers by ID in edit order screen.
  • Fix – Prevents session data overwriting customer data on login.
  • Fix – Fixed cross-sell column display and variation support.
  • Fix – Fixed variable product stock syncing on save.
  • Fix – Included try/catch wrapper to prevent issues with Select2.
  • Fix – Prevented a bug that deleted all variations when the product type was change from variable to simple.
  • Fix – Switched to WPDB to quicker update when syncing titles for variations.
  • Fix – Exclude deprecated properties when loading a customer object.
  • Fix – Fixed notices while trying to order again.
  • Fix – Fixed notices when $wpdb->prefix is empty.
  • Fix – Prevent errors when loading a product with an invalid download file types.
  • REST API – Fixed missing array declaration in CRUD controller.
  • REST API – Removed extra exclude, include and search parameters from taxes endpoint.
  • REST API – Fixed variation description formatting.
  • REST API – Fixed incorrect attribute check in products endpoint in Legacy REST API.
  • REST API – Allow variation image to be unset.

3.0.0

  • New gallery on single product pages with better mobile support, using PhotoSwipe and Zoom. Declare support with add_theme_support() – wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider
  • Made the store notice dismissible on the frontend.
  • Variable products no longer show striked out prices in combination with ranges for clarity when on sale.
  • Prices no longer display as ‘free’ instead of 0, to fix issues with ranges and localization and for consistency.
  • Improved structured product data by using JSON-LD instead of inline Microdata.
  • Improved downloads list layout (template file).
  • Respect stock status and prevent the “out of stock threshold” setting affecting existing in-stock products.
  • Improved handling of shop page rewrite rules to allow subpages.
  • Redirect to login after password reset.
  • When using authorizations in PayPal Standard, automatically capture funds when the order goes processing/completed.
  • On multisite, when a user logs into a store with an account on a site, but not the current site, rather than error, add the user to the current site as a customer.
  • Show variable weights/dimensions even when parent values are not set.
  • Automatically sort tax rates rather than allow clunky manual sorting.
  • When deleting a tax rate class, remove it’s tax rates.
  • Made WC_Logger pluggable via wc_get_logger function.
  • Use ‘average rating’ post meta for ‘rating’ product sorting option.
  • Show better labels in nav menus metabox.
  • Sort “Recently Viewed” products by the view order.
  • Removed internal scroll from log viewer.
  • Add reply-to to admin emails.
  • Improved the zone setup flow.
  • Made wc_get_wildcard_postcodes return the orignal postcode plus * since wildcards should match empty strings too.
  • Use all paid statuses in $customer->get_total_spent().
  • Move location of billing email field to work with password managers.
  • Option to restrict selling locations by country.
  • Added tool to clear orphaned variations in system status.
  • Remove checkbox options in system status tools and replace with constants.
  • Added security section in system status report.
  • Add image_url setting to PayPal Standard.
  • Fixed attribute registration. Attributes are non-hierarchical by default (parent is not supported).
  • Add sort parameter to checkout fields to aid with sorting per locale.
  • Merged percent and percent product coupon types (they provide the same discount).
  • Prevent payment details being cleared after update_checkout events.
  • Performance – Converted _featured and _visibility meta data to terms for faster catalog queries. Upgrade routine handles migration. Developers may need to update queries to reflect this change.
  • Includes product attributes archives links in “Additional Information” tab.
  • Select2 has been upgraded to v4.
  • Improved logging system for extensions.
  • Tax suffix is now hidden on non-taxable products.
  • Grouped products are linked from the parent rather than the children. Children can be in more than one group.
  • Removed coupon usage link in coupons admin screen.
  • Performance – Converted rating filters to visibility terms.
  • Performance – Added visibility term for outofstock products to speed those queries up also.
  • Performance – Introduced a new CRUD (create, read, update, delete) system for Products, Orders, Customers and Shipping Zones.
  • Performance – Optimised variable product sync. Upper/lower price meta is no longer stored, just the main prices, if a child has weight, and if a child has dimensions.
  • Performance – Removed WP_Query from up-sells.php and related.php and replaced with PHP foreach loop (since we already have the product IDs).
  • Performance – Removed the feature where old orders get access to new downloads on product edit. Looping potentially thousands of orders to do this is too much of a performance burden for stores and this can sometimes be unexpected behavior too. This does however updates edited downloads.
  • Performance – Removed ‘items’ column on orders screen due to loading excessive data.
  • Performance – Deferred email sending for faster checkouts. Now uses CRON.
  • API – New Rest API v2 with support for meta_data amongst other things.
  • API – Removed last order from customers part of the API due to performance concerns – use orders endpoint instead. Other order data on the endpoint is now transient cached.
  • API – Allow oAuth1.0a authentication using headers.
  • API – New Shipping Zones endpoints.
  • API – New variations endpoints.
  • API – New settings endpoints.
  • API – Payment gateways and shipping methods endpoints.
  • API – Prevented the (broken) ability to manipulate variations directly on the products endpoints.
  • CLI – New CLI which uses the REST API endpoints rather than it’s own functions.
  • Localization – Improved RTL support.
  • Localization – Added a language independent permalink setting function.
  • Localization – Added inline comments for placeholder strings.
  • Localization – Added Nigerian and Pakistan Provinces to i18n/state.
  • Localization – US and Poland postcode validation.