public static function getSettings($param = null) { $ret = parent::getSettings($param); $ret['orderProductData'] = 'Kwc_Shop_VoucherProduct_AddToCart_OrderProductData'; $ret['productTypeText'] = trlKwfStatic('Voucher'); return $ret; }
protected function _beforeInsert(Kwf_Model_Row_Interface $row) { parent::_beforeInsert($row); $row->shop_product_price_id = $this->_getProduct()->current_price_id; }