jasne Posted January 3, 2013 Share Posted January 3, 2013 Hi, How to do that ? My modification fail.... I've add new input field in order-carrier.tpl: <input type="text" class="hidden" name="dateDel" id="dateDel" value="22222" /> to Class/Order.php public $dateDel; protected $fieldsValidate = array('dateDel' => 'isString', .................... protected $webserviceParameters = array( 'fields' => array( 'dateDel' => array('xlink_resource'=> 'carriers'),...................... public function getFields() { parent::validateFields(); $fields['dateDel'] = $this->dateDel; to mysql table ps_orders: dataDel (varchar) Link to comment Share on other sites More sharing options...
jasne Posted January 4, 2013 Author Share Posted January 4, 2013 Ok I've solved this issue . Additionally I've added line in file classes\PaymentModule.php public function validateOrder($id_cart, $id_order_state, $amountPaid, $paymentMethod = 'Unknown', $message = NULL, $extraVars = array(), $currency_special = NULL, $dont_touch_amount = false, $secure_key = false) { $order->dateDel = $cart->dateDel; Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now