WooCommerce 8.0 changelog

Omdat de changelog van WooCommerce altijd ellenlang en quasi onvindbaar is gaan we voortaan de gehele changelog in een blogbericht plakken.
En we lijsten ook even de belangrijkste vernieuwingen op:

Belangrijkste nieuwigheden in WooCommerce 8.0

PHP minimum vereiste: 7.4:

WooCommerce is deels gebouwd met PHP-code. PHP is software dat op je webhosting draait. Net zoals bij WordPress/WooCommerce komen er ook nieuwe versies uit van PHP. Op dit moment is dat al PHP8 en zelfs PHP9 is al in de maak. De meeste WordPress websites draaien op PHP versie 7.4 alhoewel deze versie “end of life” is. Er worden geen bugs of security issues meer opgelost voor PHP 7.4. Toch kan je er van uitgaan dat PHP 7.4 zeker nog een veilige versie is.

WooCommerce gaat vanaf WooCommerce 8.0 een melding laten zien als je PHP-versie lager is dan 7.4. Want vanaf WooCommerce versie 8.2 zal je shop niet meer werken als je site nog op een lagere PHP-versie draait.

Op een termijn van 2023/2024 is het sowieso beter om over te schakelen naar PHP8.0, al dient er wel héél grondig getest te worden. PHP 9.0 is naar verluid op dit moment absoluut niet compatibel met WordPress. Hier is nog gigantisch veel werk voor de boeg.
Bij de meeste hosting providers kan je ook zelf je PHP-versie bepalen.

10 minuten periode om je bestelling te bekijken op de bedankt-pagina

Je valt soms achterover over bepaalde nieuwigheden, weliswaar in positieve zin. De bedank tpagina na een bestelling is vanaf WooCommerce 8.0 maar 10 minuten zichtbaar. Na 10 minuten krijg je een melding om je e-mail te valideren als je de pagina opnieuw wil zien. Wow, dat is cool. Hier denkt in feite niemand aan, maar toch is het een leuke security upgrade.

woocommerce_newly_installed instelling

Sommige features zijn out of the box enkel mogelijk op gloednieuwe WooCommerce websites. Bijvoorbeeld de nieuwe manier op bestellingen te bewaren in de database is binnenkort standaard. Op “oudere” WooCommerce shops is dat niet, je zal manueel voor de nieuwe feature moeten opteren. WooCommerce forceert dus niets op bestaande shops.
En daarvoor dient dus die nieuwe woocommerce_newly_installed parameter. Als die op “yes” staat is het een gloednieuwe installatie.

Changelog

169
170 * Fix – Adds a grace period during which email verification will not be needed before the order confirmation (or payment) page is rendered. #39191

171 * Fix – Fix turn off the new block experience when tracking is turned off #39317

172 * Fix – Restore woocommerce_variations_added jQuery trigger. #39301

173 * Fix – Add wrapper to the content generated by wc_empty_cart_message [#38738]

174 * Fix – Allow to add custom metabox to custom order edit page by setting the correct screen id. [#38938]

175 * Fix – Bootstrap server side block definitions [#39027]

176 * Fix – Comment: Fix “Used for variations” checkbox being disabled on Variable products [#39106]

177 * Fix – Convert DatabaseUtil::get_index_columns() to use SHOW INDEX FROM instead of INFORMATION_SCHEMA query [#36427]

178 * Fix – Decrease product total sales when an order is reversed [#37842]

179 * Fix – Do not show “Adding new attribute failed” error message when loading of product screens is interrupted by page unload. [#38815]

180 * Fix – do not use image size cache while in customizer [#38875]

181 * Fix – Fix attribute taxonomy templates when a templates for specific product attribute exists. [#37552]

182 * Fix – Fixed failing shipping zones tests and cleaned up locators [#38949]

183 * Fix – Fix grey background when menu is collapsed #38887 [#38941]

184 * Fix – Fix links under “Help” panel on Home screen [#38817]

185 * Fix – Fix Minimum Requirements in readme.txt file [#39078]

186 * Fix – Fix the issue of stores sending frequent Helper API requests when the store databases disk is full. [#37378]

187 * Fix – Fix the layout of View Cart link on the posts/pages [#38950]

188 * Fix – Fix undismissable store alert when using language localization [#38967]

189 * Fix – Fix unexpected gap on ipad and ipad mini [#39108]

190 * Fix – Linting fix to webpack config. [#38920]

191 * Fix – Make WC_Order::get_item_subtotal() always return a float. [#36760]

192 * Fix – OrdersTableDataStore: capture and log errors when populating order properties [#38840]

193 * Fix – Revert “Always show pricing group fields, disable if not available for a product type” [#38964]

194 * Fix – Support dynamic prop setting to use in refunds for setting correct props. [#39219]

195 * Fix – Trigger “woocommerce_newly_installed” hook for new installations [#38694]

196 * Fix – When dormant customer accounts are removed, their content should be preserved. [#38837]

197 * Fix – [HPOS] Backfill to post table only after order has persisted in orders table. [#39196]

198 * Add – Add support for BG, CZ, HR, HU, RO and SE in WCPay [#38109]

199 * Add – Add synchronization of deleted orders for HPOS [#37050]

200 * Add – Add Variations tab to Product block editor [#38921]

201 * Add – Allow registered React-powered pages to specify a parent navigation menu item to highlight when active.
[#39116]

202 * Add – Introduce the add and edit view Tracks events in the new form [#39186]

203 * Add – Register woocommerce/product-variations-fields block [#39038]

204 * Add – Removed Avalara from Tax task list item [#39238]

205 * Add – Show create campaign button when there are campaign types in marketing page. [#38825]

206 * Update – Fix grammar in data-sharing agreement copy #39327

207 * Update – Update WooCommerce Blocks to 10.6.1 #39299

208 * Update – Add Klaviyo into onboarding marketing task list. [#39087]

209 * Update – Analytics API: A new filter_empty parameter that allows to remove from result customers with given empty fields [#38827]

210 * Update – Analytics API: Search for customers by all of the available fields instead of having to choose one [#38628]

211 * Update – Branding rollout – change WooCommerce Payments to WooPayments [#39188]

212 * Update – Change button text from “Install plugin” to “Install extension” in Marketing page. [#39130]

213 * Update – Remove Tiktok from plugin suggestion list [#39135]
214 * Update – Update the call to marketing extensions recommendations API from version 1.2 to version 1.3 with new recommendation Klaviyo. [#38974]

215 * Update – Update WooCommerce Blocks to 10.6.0 [#39144]

216 * Update – Use wp_json_encode instead of print_r in output for HPOS-related WP CLI commands. [#38699]

217 * Dev – Add more assertions to can add custom product attributes E2E test. [#39139]

218 * Dev – Add pnpm commands for easier PHP linting [#38727]

219 * Dev – Cleanup global state after testing wc_load_cart(). [#39136]

220 * Dev – Enable HPOS through the wp option command. [#39095]

221 * Dev – Ensure can discard industry changes when navigating back to "Store Details"' can run independent from previous tests
[#38715]

222 * Dev – Fix skipping of core profiler in page-loads.spec.js. [#39084]

223 * Dev – Improvements to the DI related unit testing infrastructure [#38849]

224 * Dev – Replace deprecated page methods. [#38344]

225 * Dev – Skip failing e2e test preventing PRs being merged. GH fails but local works [#38855]

226 * Dev – Update locators in order-emails and order-email-receiving specs so that they pass on WP 6.3. [#39159]

227 * Dev – Update locators in order-emails spec, and use the latest version of WP Mail Logging. [#39013]

228 * Dev – Update pnpm monorepo-wide to 8.6.5 [#38990]
229 * Dev – Update wp-env to version 8.2.0. [#39100]

230 * Dev – Use grunt-contrib-uglify-es to handle legacy es6″ [#38342]

231 * Tweak – Add autoFocus attribute to product-name-field block [#39050]

232 * Tweak – Corrects a minor issue (incorrect HTML markup) in the System Status Report. [#39053]

233 * Tweak – Remove letter-spacing from the core profiler headers; Use 500 for font-weight. [#39042]

234 * Tweak – Replace “Proceed” with “Continue” to be more consistent [#38961]

235 * Tweak – Restore user’s plugin selection when there is an installation error [#38922]

236 * Tweak – Update CSS styles for the core profiler header [#39059]

237 * Tweak – Use existing table instead of ‘DUAL’ to support hosts which do not support ‘DUAL’. [#39111]

238 * Tweak – When detecting which plugins are WooCommerce-aware, improve accuracy by ignoring cached plugin data. [#38836]

239 * Tweak – When displaying partial consumer keys in the REST API settings, replace ellipses with asterisks.
240 * Enhancement – Add action for ‘order_edit_form_top’ as a replacement to edit_form_top for HPOS. [#39165]

241 * Enhancement – Add filter woocommerce_redirect_order_location for consistency with posts and HPOS. [#39193]

242 * Enhancement – New product block editor modal text enhancements [#39055]

243 * Enhancement – Refresh UX to enable HPOS to make it user friendly. [#38993]



Over de auteur: Dave Loodts

Full-time creatieve maker van doelgerichte websites en webshops sinds 2006 en gek van WordPress en WooCommerce. Actief lid in WordPress Community sinds 2014. Mijn grootste voldoening: ondernemers die succesvol aan de slag gaan met m'n WooCommerce tips.

Volg me op: