Dynamically changing the SKU of a configurable product in Hyvä (Magento 2)

In Hyvä (and Magento generally), the displayed SKU does not change automatically when a shopper selects different options for a configurable product. A small code change can fix this. Override the file /vendor/hyva-themes/magento2-default-theme/Magento_ConfigurableProduct/templates/product/view/type/options/js/configurable-options.phtml in your Hyvä child theme as follows:…

Sorting order items by SKU (Magento 1)

To display ordered products sorted by SKU in the order view, override the app/design/adminhtml/default/default/template/sales/order/view/items.phtml in your theme and replace

with

That’s it. When you open an order containing two or more products, they will now be displayed in…