janvl Posted September 12, 2016 Share Posted September 12, 2016 (edited) Hi, is it possible to limit the payment methode to pay-in-advance for the first order? So only if one orders in the same country and it is the first order it will have to be paid in advance. Regards, Jan Edited September 12, 2016 by janvl (see edit history) Link to comment Share on other sites More sharing options...
seofax Posted September 13, 2016 Share Posted September 13, 2016 i have same question, please help us Link to comment Share on other sites More sharing options...
bellini13 Posted September 14, 2016 Share Posted September 14, 2016 nothing that you can configure, but you can certainly customize your payment modules to make this work. First, what payment module is "pay in advanced"? Second, what other payment modules do you use? Link to comment Share on other sites More sharing options...
tomasmezei Posted September 29, 2016 Share Posted September 29, 2016 Hi, I have same question. Let's say, I want to use for first order of new client only Bankwire payment. Can you please help me? Link to comment Share on other sites More sharing options...
rocky Posted September 30, 2016 Share Posted September 30, 2016 I suggest overriding all your payment module payment.tpl files inside your theme (except for the Bank Wire module) and add the following to the top of the files: {if Order::getCustomerNbOrders($cookie->id_customer) > 0} and the following to the bottom: {/if} This should only execute the code if the customer has previously ordered. Link to comment Share on other sites More sharing options...
tomasmezei Posted September 30, 2016 Share Posted September 30, 2016 It works great, thank you very much. 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