cancel
Showing results for 
Search instead for 
Did you mean: 

How to change SKU dinamically for configurable product

How to change SKU dinamically for configurable product

Hello,

 

I'd like that my child variations SKU to be shown upon selection on the configurable product page. I know Magento does not include this feature, which I find it odd as it's kind of a basic one usually for ecommerce systems, but anyway, I'm ok with implementing it and the problem is figuring it out how to do it. I'm quite new to Magento programming. Using latest version Magento 2.4.3.

 

I've tried this tutorial but it doesn't work https://magecomp.com/blog/switch-product-sku-according-selection-child-products-magento-2/

Any advice appreciated.

 

Thanks!

 

1 REPLY 1

Re: How to change SKU dinamically for configurable product

You just need to find the phtml file which is resposible for viewing product page content.

You can check that by enable Debug in configuration of Developer.

 

Saaaaa.PNG