I'm having an issue with updating the price on custom options. The code that I'm using is
$options = $product->getProductOptionsCollection();
foreach( $options as $option ){
$values = $option->getValuesCollection();
foreach( $values as $value ){
$value->setTitle("test")
->setSku("testsku")
->setPrice(23.00);
$value->save();
}
}
$product->save();
Right now I'm just using this as a test. The strange thing is that the sku, the title and other options like sort order that I had in there before would save fine, but the price will not. Do I need to do something specific for the price to save? Why would everything else update, but the price wont? Thanks for your help.