Disable Cash on Delivery for Vouchers
Posted: Tue Nov 18, 2014 6:23 pm
In catalog/model/payment/cod
I used the code
$method_data = array();
if (isset($this->session->data['vouchers']) && $this->session->data['payment_method'] == 'cod.cod') {
$status = false;
}
But its not working. Could anyone help me ?
I used the code
$method_data = array();
if (isset($this->session->data['vouchers']) && $this->session->data['payment_method'] == 'cod.cod') {
$status = false;
}
But its not working. Could anyone help me ?