Changelog

  • WooCommerce 3.4.0 RC2 is available for testing. We’ve fixed the following issues specific to 3.4 functionality:

    • Incorrectly closed table row in WP Admin. #20091
    • Fixed tooltip styling when outside label. #20084
    • Remove full stop after action name. #20087
    • Fixed terms and conditions preview when the terms and conditions option is unset.
    • Change token export format to match WordPress 4.9.
    • Updated some missing template file versions.
    • Use GET in external product form so query strings are preserved.
    • Escape and decode ampersands correctly for external products.
    • Preview checkout without a dummy product to prevent conflicts.
    • Remove . from strings for checkbox settings.
    • Data erasers; target shop_order only and added filters for 3rd parties.
    • Remove legacy PayPal meta data from orders.
    • When cleaning up CSV import, only remove product taxonomies. #20094

    And we’ve added the following to the changelog as it affects older versions also:

    * Tweak - In CSV exports, wrap cell in ' rather than just prepending to escape values. #20041
    * Tweak - Add JS listeners for reloading/reinitializing order items in edit-order page. #20082
    * Fix - When duplicating variation, set the date to null. #20083
    * Fix - Fix rounding of line items for orders to match cart. #20086
    * Fix - Remove hardcoded border in email template. #20090
    * Fix - Prevent autofocus on checkout. #20123
    * Fix - Recalc taxes if address changes in API. #20137
    * Dev - Made wc_query_string_form_fields handle strings. #20162
    * Localization - Fix missing Bahrain country code. #20061
    

    To test WooCommerce 3.4.0 RC2, you can use our WooCommerce Beta Tester plugin or you can download the release candidate here (zip).

    Think you’ve found a bug? Please post in detail to Github.

    The final version of 3.4 is due for release tomorrow, May 23rd 2018. Huge props to everyone who has sent feedback about this release so far or found bugs.


  • Storefront 2.3.1 has been tagged for release and uploaded to WordPress.org.

    Here’s what’s changed pulled directly from the changelog:

    * Feature - Add support for GDPR features soon to be introduced in WordPress 4.9.6.
    * Tweak - Removed inline CSS cache; WordPress autoloads options by default, there's no advantage to caching the CSS.
    * Fix - Made changes to `icons.scss` to address an issue where Font Awesome icons were not being displayed correctly on some sites.
    * Fix - Apply clearfix to `.col-full` globally.
    

    Download the latest release of Storefront here or venture over to Dashboard → Updates to update your theme from WordPress.

    As usual, if you spot any other issues, please log them in detail on Github.


  • Today, the release candidate for WooCommerce 3.4 is available! 3.4 is a minor release with several improvements and some new features.

    (more…)


  • Storefront 2.3.0 has just been tagged for release an uploaded to WordPress.org. That means it should be available to download very soon!

    While 2.3 is not a major release, you should not update live sites without adequate testing on a staging site. If you are using any additional Storefront products (child themes and/or extensions) be sure to check for updates for them before updating Storefront.

    What’s in the box

    Please read the previous post which includes all of the details of this release.

    For the condensed version, here’s the relevant info pulled directly from the changelog;

    Feature - Sticky Add-To-Cart.
    Feature - Product Pagination.
    Feature - WooCommerce Brands integration.
    Tweak - Increased size of branding section if secondary navigation not used.
    Tweak - Added a screen reader label to post navigation links.
    Tweak - Removed RGBaster and added Customizer controls to change the color of text in the homepage Hero section.
    Tweak - Removed NUX notice if coming from the WooCommerce wizard.
    Tweak - Updated My Account layout.
    Tweak - Removed column wrappers, unnecessary as of WooCommerce 3.3.
    Tweak - Removed Jetpack Infinite Scroll hacks; they are no longer needed as of the latest version of Jetpack / WooCommerce.
    Tweak - Removed "Free Extensions" column from Welcome page.
    Fix - Reduce padding on cart table to prevent sidebar from overflowing container.
    Fix - Hide handheld footer bar when an input is focused.
    Fix - Prevent entry meta author styles from being applied to the author archives.
    Fix - All included JavaScript is now compatible with Internet Explorer 11.
    Fix - Added styling for other buttons in the header mini cart added by extensions.
    Fix - Improved semantic HTML for pages and single posts.
    Fix - Removed negative margins in the primary navigation and breadcrumb containers to fix an overflow issue in the Linux version of Chrome.
    Fix - Removed 1px pixel margin on the product images gallery.
    Fix - Added missing styles to Composite Products integration.
    Dev - Upgrade to Font Awesome 5.
    Dev - Remove `composer.json` from production version.
    Dev - Added CSS style linting.
    Dev - Renamed the `sass` folder to `css`. All `.scss` files are now excluded from the production version.

    Gimme

    You can download Storefront now from your dashboard or from WordPress.org.

    I found a bug

    If you find a bug then as always, please be sure to report it on GitHub. If you have any other problems with Storefront please post on the WordPress.org support forum, or contact us if you’re a WooCommerce customer.


  • WooCommerce 3.4 beta 2 is now available. This beta release has a whole host of bug fixes and is ready for testing! To test WC 3.4 beta 2 you can use our beta tester plugin or download the release here.

    Thanks for testing WooCommerce, and if you find any bugs please open an issue!


  • Storefront 2.3.0 RC1 is available for testing. This includes some fixes for issues identified during Beta 1.

    To learn more about what’s new in 2.3.0, please read the Beta 1 announcement post.

    To test Storefront 2.3.0 RC1 you can download the release candidate here (zip).

    Think you’ve found a bug? Please post in detail to Github.

    The final version of 2.3 is due for release May 8 2018. Huge props to everyone who has sent feedback about this release so far or found bugs.


  • I’m happy to announce that Storefront 2.3 beta 1 is now available. You can download it and begin testing by clicking here.

    What’s changed in 2.3?

    Sticky Add-To-Cart & Product Pagination

    Sticky Add-To-Cart

    We reviewed the free extensions we have for Storefront and discovered that the Storefront Sticky Add-To-Cart and Storefront Product Pagination extensions were used by half of Storefront’s user base. Because of this, we’ve decided to integrate both these extensions directly into Storefront core.

    Product Pagination

    If you’re currently using any of these extensions, don’t panic; they won’t conflict. However, you should consider deleting the extensions once the final version of Storefront 2.3 is made available since they will no longer be supported or maintained separately.

    New Customizer controls

    It’s now possible to control the color of both the title and text of the “Hero” homepage section via the “Typography” section in the Customizer. Previously we tried to pick the appropriate color based on the background image, but the process often resulted in slow page loading times on the frontend.

    Also with the addition of Sticky Add-To-Cart and Product Pagination, there’s now a new “Product Page” section with toggles to enable or disable these features in the Customizer.

    Changes to the Header & Breadcrumb wrappers

    Due to repeated reports of issues with certain browsers, we decided to refactor the CSS for the Header and Breadcrumb sections, removing the negative margins applied to the containers.

    The following changes were made:

    • The ‘Primary Navigation’ was moved outside of the Header .col-full container.
    • The WooCommerce Breadcrumb was moved from the storefront_content_top hook to storefront_before_content.

    Enhanced WooCommerce Brands integration

    The WooCommerce Brands integration allows you to create, assign and list brands for products, and allow customers to view by brand. The enhanced integration includes:

    • Homepage section to display brands on your store.
    • Brand logo is now shown on the product pages, if the product has a brand.
    • New Brands archives design shows the logo and brand description.

    Technical changes

    Stylelint support

    Helps you avoid errors and enforce consistent conventions in your stylesheets. Read more here.

    Font Awesome 5 update

    Font Awesome 5 has been re-written and re-designed completely from scratch. We took the opportunity to also update all our Sass files with the provided Sass variables instead of manually using the unicode values for better readability.

    CSS/Sass file organization

    The sass folder, where the CSS files were located, has been renamed to css. All .scss files will now be excluded from the final download file available in the WordPress.org repository.

    Beta testing

    If you’re using any Storefront extensions, plugins or child themes, we’ll start updating all our products to provide compatibility with 2.3 in the next few days. We recommend that you check for updates to these products and run the updates as they become available to ensure your site is ready for Storefront 2.3.

    If you find issues we encourage you to open an issue on the Storefront GitHub repository with a clear description so we can resolve before the final release.

    Gimme!

    You can download Storefront 2.3 beta 1 right here.


  • Today we’re pleased to announce that WooCommerce 3.4 is available for beta testing!

    You can download it directly here or WooCommerce prerelease versions are also now available at WordPress.org.

    Release highlights

    3.4 is the second minor release this year. Being a minor release, all new functionality should exist in a backwards-compatible manner. Updating from any version since 3.0 should be hassle free!

    Here is what to look out for in the update.

    GDPR compliance

    Enforcement of the EU General Data Protection Regulation (GDPR) begins shortly after the release of WooCommerce 3.4. We have added tools and features to help store owners become GDPR-compliant and deal with GDPR requests from customers.

    Some of these features include:

    • Ability to add privacy policy text to checkout and account pages
    • Integration with the exporter coming in WordPress core (soon)
    • Tools to clean up (trash) and anonymize old orders which don’t need processing.
    • Tools to remove some optional fields from the checkout.

    You can read more about how we’re tackling GDPR in WooCommerce core here, or read the readme for the full list.

    GeoLite2 integration

    WooCommerce uses the MaxMind GeoLite database for geolocation during checkout to automatically select the customer’s correct country. The GeoLite database has been discontinued by MaxMind, and GeoLite2 is the replacement. This release adds support for and integrates WooCommerce with GeoLite2 to ensure geolocation will continue working correctly for the forseeable future. The whole process is automatic and no further action is needed on the store owner’s part to keep geolocation working correctly.

    The library that integrates with GeoLite2 requires a minimum PHP version of 5.4. As a necessary step WooCommerce will not support geolocation using GeoLite2 on PHP versions less than 5.4.

    On sites running those PHP versions geolocation will be done through the REST API. The API-based geolocation is a slower method, and it is recommended you update your PHP version if you are running a version less than 5.4.

    If you need help upgrading your PHP version, here is our handy guide.

    Beginning this release, the recommended PHP version for WooCommerce is 7.2.

    Multisite dashboard widget

    WooCommerce 3.4 introduces a new dashboard widget for multisite installs. This widget shows processing and on hold orders the user has access to from across the multisite network. This lets store owners and managers easily see orders that need action without having to manually go and check each site.

    This should be a big time-saver for anyone that runs multiple WooCommerce stores using multisite!

    Everything else . . .

    Other features include:

    • Wildcard email support for coupon restrictions. Using the wildcard character you can set up coupons restricted to groups of similar email addresses (.edu email accounts, corporate email accounts from a certain business, etc.).
    • Users can now set their display name on the My Account page.
    • Improvements to the admin product search, including stopword support and the ability to search for multiple products in the same query.

    On top of the new features, there are a variety of minor tweaks, new hooks, and fixes. We won’t go into detail here, but you can see the full list of changes in the readme if you’re interested!

    Template file changes

    • auth/form-login.php – Named nonces and used nbsp; to separate the * in required fields to prevent awkward line breaks.
    • cart/cart.php – Named nonces and added filter around backorder notification text.
    • cart/shipping-calculator.php – Named nonces.
    • checkout/form-coupon.php – Use no-js class to to hide forms/content that require JavaScript.
    • checkout/form-login.php – Use no-js class to to hide forms/content that require JavaScript.
    • checkout/form-pay.php – Named nonces.
    • checkout/payment.php – Named nonces.
    • checkout/terms.php – Make sure terms page exists and isn’t trashed. Used nbsp; to separate the * in required fields to prevent awkward line breaks.
    • emails/plain/email-customer-details.php – Fixed converting letters with accents to uppercase.
    • emails/plain/email-downloads.php – Make woocommerce_email_downloads_column_ hook format aware.
    • emails/plain/email-addresses.php – Fixed converting letters with accents to uppercase.
    • emails/plain/customer-reset-password.php – Removed user login from reset password link.
    • emails/plain/email-order-details.php – Fixed converting letters with accents to uppercase.
    • emails/customer-reset-password.php – Removed user login from reset password link.
    • emails/email-downloads.php – Make woocommerce_email_downloads_column_ hook format aware.
    • global/form-login.php – Used nbsp; to separate the * in required fields to prevent awkward line breaks.
    • global/quantity-input.php – Escape and strip tags to prevent broken HTML.
    • myaccount/form-add-payment-method.php – Named nonces.
    • myaccount/form-edit-account.php – Added autocomplete attributes. Used nbsp; to separate the * in required fields to prevent awkward line breaks.
    • myaccount/form-edit-address.php – Named nonces.
    • myaccount/form-login.php – Added class and autocomplete attributes to form. Used nbsp; to separate the * in required fields to prevent awkward line breaks.
    • myaccount/form-lost-password.php – Named nonces and added autocomplete attributes.
    • myaccount/form-reset-password.php – Named nonces and added autocomplete attributes. Used nbsp; to separate the * in required fields to prevent awkward line breaks.
    • order/form-tracking.php – Named nonces.
    • single-product/add-to-cart/grouped.php – Added woocommerce_add_to_cart_form_action filter and class to form.
    • single-product/add-to-cart/simple.php – Added woocommerce_add_to_cart_form_action filter.
    • single-product/add-to-cart/variable.php – Added woocommerce_add_to_cart_form_action filter and fixed variation URL bug when using special characters.
    • single-product/review-meta.php – Add escaping to publish date to prevent broken HTML.
    • templates/archive-product.php – Use woocommerce_product_loop instead of have_posts.

    Deprecated functions and methods

    • WC_Geo_IP has been deprecated since the legacy GeoLite database has been deprecated. See the begining of this article for more info.
    • WC_Widget_Product_Tag_Cloud::_get_current_taxonomy has been deprecated for WC_Widget_Product_Tag_Cloud::get_current_taxonomy.
    • WC_Widget_Product_Tag_Cloud::_topic_count_text has been deprecated for WC_Widget_Product_Tag_Cloud::topic_count_text.

    Release schedule and testing

    We’re hoping to keep WooCommerce 3.4 in beta for the next 5 weeks. If you’re a developer please check extensions and themes are compatible to be safe.

    Release Candidate 1 should be tagged on May 9th and will remain in RC for a further 2 weeks until May 23rd which is our target launch date.

    If you’d like to help us test, you can download the release from Github. We posted a nice little write-up on beta testing here which should get you started. Please read that and jump right in!

    If you’d like to help translate 3.4, you’ll find it on the development branch on translate.wordpress.org.

    Thanks to all of our testers and contributors!


  • WooCommerce 3.3.5 is now available. ~32 commits made it into this release and the full changelog is below.

    * Fix - Shop page notice should not appear when edting the "Hello World!" page.
    * Fix - Inconsistent order item refund sign.
    * Fix - Change `wc_get_price_excluding_tax` to not round the return value so calculations in admin are not pre-rounded.
    * Fix - Use minimum price instead of maximum price when ordering variable products from low to high on term archives.
    * Fix - `order` and `orderby` on shop page when using rewrite rules.
    * Fix - Ajax loading spinner when using twentyseventeen theme.
    * Fix - Out of Stock products change stock to On Backorder when imported to update existing products.
    * Fix - Visibility dropdown not responding in quick edit when stock management is disabled.
    * Fix - Featured paramenter in products endpoint on REST API.
    * Fix - Linebreaks in order item meta.
    * Fix - Product rating count when updated by admin.
    * Tweak - Define array before attempting to append to it.
    * Tweak - Change WC WP-CLI commands default per_page value to 100.
    * Tweak - Ensure background process class returns `data` as an array.
    * Tweak - Increase orders table checkbox column size on small devices.
    * Tweak - Better support for infinite scroll in Jetpack.

     

    Download the latest release of WooCommerce here or venture over to Dashboard → Updates to update your plugins from WordPress.

    As usual, if you spot any other issues in WooCommerce core please log them in detail on Github, and to disclose a security issue to our team, please submit a report via HackerOne here. Comments on this post are closed.


  • WooCommerce 3.3.4 is now available. ~30 commits made it into this release and the full changelog is below.

    * Fix - Fixed undefined index after running setup wizard two times on fresh install.
    * Fix - wc_get_loop_class; force columns to be a minimum of 1.
    * Fix - Added loading spinner to WC panels in menu admin. 
    * Fix - Use relative scheme for AJAX endpoint to avoid errors when using a mix of HTTP and HTTPS.
    * Fix - Fix SelectWoo templateSelection property.
    * Fix - Layered nav support on unsupported theme archives.
    * Fix - Prevent full refresh when editing store notice in the customizer.
    * Fix - Only append tax label in email content if taxes are enabled.
    * Fix - More reliable Jetpack detection.
    * Fix - Check if product has weight before calculate weight total in cart.
    * Fix - Correctly handle default ordering on the search page.
    * Fix - Fix default product category handling in installer.
    * Fix - Properly check slugs when updating attributes.
    * Fix - Use gallery thumbnail size for variation image switcher.
    * Fix - Clear subcategory cache when updating product categories.
    * Fix - Round fractional cents when out of base.
    * Fix - Inherit 'is variation' from existing attribute during csv import.
    * Fix - Set is_shortcode loop prop when outputting subcategories.
    * Fix - Reload gateways after updating the order.
    * Tweak - Use wc_get_default_products_per_row as the default for product shortcodes.
    * Tweak - Add post_excerpt to product search.
    * Tweak - Update the description of the user tracking notice in the onboarding wizard.
    * Tweak - Add extra data in order mobile view (status and date).
    * Tweak - Add profile link to order screen.

     

    Download the latest release of WooCommerce here or venture over to Dashboard → Updates to update your plugins from WordPress.

    As usual, if you spot any other issues in WooCommerce core please log them in detail on Github, and to disclose a security issue to our team, please submit a report via HackerOne here. Comments on this post are closed.