Bogdii Posted May 28, 2022 Share Posted May 28, 2022 Hello, I would like to disable the cash on delivery payment method if the buyer chooses the personal pick-up option as delivery. I'm using Prestashop 1.6.1.17. This is the website: https://www.oenoartis.ro/ Thanks! Link to comment Share on other sites More sharing options...
Bogdii Posted May 29, 2022 Author Share Posted May 29, 2022 This is the code for COD: <p class="payment_module"> <a href="{$link->getModuleLink('cashondelivery', 'validation', [], true)|escape:'html'}" title="{l s='Pay with cash on delivery (COD)' mod='cashondelivery'}" rel="nofollow"> <img src="{$this_path_cod}cashondelivery.jpg" alt="{l s='Pay with cash on delivery (COD)' mod='cashondelivery'}" style="float:left;" /> <br />{l s='Pay with cash on delivery (COD)' mod='cashondelivery'} <br />{l s='You pay for the merchandise upon delivery' mod='cashondelivery'} <br style="clear:both;" /> </a> </p> And the transporter ID is: 137 Doesn't it go with an if before the code? Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now