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
New member

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
New member

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

New member

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

New member

Posts

Joined
Sun Mar 05, 2017 9:18 pm

Post by agamelas » Wed Nov 07, 2018 11:56 pm

hi!

I would like to use the XML to disable payment methods according to shipping i choose... but i do not know what variables i must change. can someone help?

New member

Posts

Joined
Mon Oct 24, 2016 8:22 pm
Who is online

Users browsing this forum: No registered users and 8 guests