0

I am trying to update all my simple products linked to a configurable product with the configurable product price.

Note: I am not trying to update the configurable options with the parent price, but the linked products.

How can this be achieved?

  • have you tried some thing? – Amit Bera Oct 1 '15 at 11:56
  • I have tried this code: gist.github.com/mystix/5277464 But even though the output indicates that the code is working, no prices are actually changed. – loeffel Oct 1 '15 at 12:04
  • Use this Mage::setIsDeveloperMode(true); ini_set('display_errors', 1); umask(0); Mage::app('admin'); Mage::register('isSecureArea', instead of require_once('app/Mage.php'); // path to magento umask(0); Mage::app()->setCurrentStore($store_id); // TODO - 3 echo 'loading store id: ' . $store_id . '<br />'; – Amit Bera Oct 1 '15 at 12:20
  • Sadly this isn't doing anything. Was some of your code cut off? – loeffel Oct 2 '15 at 11:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.