WOOCOMMERCE – HOW TO SHOW SKU IN CART & CHECKOUT


Updated February 20, 2025
Tested by Mark Eviota and working in WordPress versions 4.9.8 to 6.7.2 & WooCommerce Plugin versions 3.5.1 to 9.6.2.

You will need to insert these lines of codes in the theme functions.php.

This code snippet hooks into WooCommerce and displays the SKU in both the Cart and Checkout pages for each product.

Copy to Clipboard