newage Posted March 7, 2013 Share Posted March 7, 2013 Hello! I my store I got two of carriers - a courrier company (used their own module) and surface mail that I manually added. The surface mail is cheap option for small items up to 1 kg. However they do not have Pay on Delivery (COD) option and I want to disable the "Pay on Delivery (COD)" payment option when the buyer selects surface mail option. How? Link to comment Share on other sites More sharing options...
bellini13 Posted March 8, 2013 Share Posted March 8, 2013 You would have to alter the payment modules hookPayment function. When invoked, it should check which carrier has been selected in the cart, and return false if the carrier is "surface mail" Link to comment Share on other sites More sharing options...
donorsi Posted October 16, 2014 Share Posted October 16, 2014 can some1 please post the exact code changes? I need to do this too and i am not a programmer... Link to comment Share on other sites More sharing options...
Matsu Posted October 30, 2014 Share Posted October 30, 2014 Did you try Ship2Pay module? 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