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