This should only be called when order is transformed from
Cart to Order, aka being 'placed'.
public onPlacement ( ) |
public function onPlacement() { parent::onPlacement(); if ($product = $this->Product(true)) { $this->ProductVersion = $product->Version; } }