For now, when user enters price in product editing general tab it is set to primary price bracket for "Everyone" group. This is good of course. I've expected, that such type of processing will also happen, when I manually load product object and try to set price like this:
$product =& $this->Application->recallObject('p', null, Array ('skip_autoload' => true));
/* @var $product kCatDBItem */
$product->Load(55);
$product->SetDBField('Price', 77.55);
$product->Update();
Unfortunately this doesn't work, because price processing code is located inside OnPreSave event only, and not in OnBeforeItemCreate/OnBeforeItemUpdate event pair.
I propose to change that to expected behavior.
- relates to
-
MINC-7 Ability to Change Price on Products "Advanced View" Grid
- New