cancel
Showing results for 
Search instead for 
Did you mean: 

Configurable product - Update price

Configurable product - Update price

I am migrating from Magento 1.9.2 to Magento 2.2.4. The problem is that in Magento 1.9.2 we have many configurable products whose simple products (children) have different prices than the configurable ones because they were not used. Now we find that in Magento 2.2.4 the prices that are taken are those of the children products instead of the configurable ones.
Would there be a way in Magento 1.9.2 to put each child of a configurable product the same price as the configurable one?

2 REPLIES 2

Re: Configurable product - Update price

Hello @juanrdosil

 

you can do like the export price from Magento 1 and change SKU with the simple product and import it.

 

Hope it will help you.

 

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Configurable product - Update price

You could write a PHP script that would update the prices of the associated simple products of all the configurable products.

 

Here's a few resources:

https://stackoverflow.com/questions/23287407/attach-simple-products-to-a-configurable-product-progra...

https://stackoverflow.com/questions/41016327/magento-how-to-update-product-price-programmatically

Maxime Coudreuse, developer of Product Manager for Magento: User-friendly product editor with customizable grid interface and category tree for Magento 1 and 2