The request
“I inserted custom code to display the SKU and barcode on the product page. It doesn't change when the variant changes. It always shows the first variant's.”
A display stuck on the default.
The approach
We made the SKU and barcode display variant-aware so it updates the moment a customer changes their selection.
What we shipped
SKU updates on variant change
Barcode updates on variant change
Consistent in quick view