Post by wilek666 » Fri Jan 02, 2015 9:23 am

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.

http://www.ortopediko.pl
http://www.pszczelafarma.pl


User avatar

Posts

Joined
Sun Dec 07, 2014 2:26 am
Location - Warsaw, Poland

Post by wilek666 » Fri Jan 02, 2015 11:33 pm

I found out the solution, basically I duplicate xshipping pro module and set up desired shipments and blocked whole copied module.

http://www.ortopediko.pl
http://www.pszczelafarma.pl


User avatar

Posts

Joined
Sun Dec 07, 2014 2:26 am
Location - Warsaw, Poland

Post by garygajesjr » Tue Mar 14, 2017 8:31 pm

Hi,
Can some help me in this situation? im using v2.3


Posts

Joined
Sun Mar 05, 2017 9:18 pm

Post by garygajesjr » Tue Mar 14, 2017 8:45 pm

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


Posts

Joined
Sun Mar 05, 2017 9:18 pm