module that limits the number of payment options depending on the chosen shipping method.
For example When my client chooses pickup at store he should not be able to select bank transfer
PrestaShop Forum
The best place in the world to ask questions about PrestaShop and get advice from our passionate community!
From 1252836265:
From 1252839898:
{$base_dir_ssl}order.php?step=3$smarty->assign(array('HOOK_PAYMENT' => Module::hookExecPaymentFront(Tools::getValue('id_carrier')), 'total_price' => floatval($orderTotal)));$smarty->assign(array('HOOK_PAYMENT' => Module::hookExecPaymentFront(Tools::getValue('id_carrier', $cart->id_carrier)), 'total_price' => floatval($orderTotal)));