Dear all,
Your method works like a charm, but I would like to disable one of payment method aacording to shipping in X-Shipping Pro module. Is it possible ? Please help me.
According to your instructions I'm able to disable payment method for the whole module: X-Shipping Pro.
I found out the solution, basically I duplicate xshipping pro module and set up desired shipments and blocked whole copied module.
Working in v2.3
I just add this code before if status
if (isset($this->session->data['shipping_method']['code']) && strpos($this->session->data['shipping_method']['code'], 'weight.weight') !== false) {
$status = false;
}
Thanks
I just add this code before if status
if (isset($this->session->data['shipping_method']['code']) && strpos($this->session->data['shipping_method']['code'], 'weight.weight') !== false) {
$status = false;
}
Thanks
Who is online
Users browsing this forum: No registered users and 8 guests