Page 1 of 1
How to disable coupon code discount on payment method or mod
Posted: Fri Sep 02, 2016 9:28 pm
by juslintek
Intelligent Opencart Community,
I would like to know if I can disable payment method on specific payment method or module which does discounts, like "
Multi discount pack". If it needs coding, where should i look at and what should I modify or if there is the module, how is it called?
Looking forward to hearing from you good people of the opencart.
Re: How to disable coupon code discount on payment method or
Posted: Fri Sep 02, 2016 9:40 pm
by knowband.plugins
Your requirement is not completely cleared to us, do you want to remove applied coupon if some specific payment method is selected at checkout page?
Please let us know exactly which version of Opencart are you using, also let us know if you are using any third party checkout page module.
Re: How to disable coupon code discount on payment method or
Posted: Fri Sep 02, 2016 9:52 pm
by juslintek
knowband.plugins wrote:Your requirement is not completely cleared to us, do you want to remove applied coupon if some specific payment method is selected at checkout page?
Please let us know exactly which version of Opencart are you using, also let us know if you are using any third party checkout page module.
OpenCart version 1.5.6.4
Yes I want to remove coupon or atleast remove its applied values if they are available in a property or array or some variable. As well I'm fine by applying ammount of discount as agregator if it is still available in $_COOKIE, $_SESSION, $GLOBAL or localStorage.
As final result I must get final price, before coupon was applied if given payment method or product has a product, category, cart discount activated.
Looking forward to hearing from you.
Re: How to disable coupon code discount on payment method or
Posted: Fri Sep 02, 2016 10:01 pm
by knowband.plugins
Based upon on your description, below is our understanding, kindly confirm it.
You are looking for some module lets say "X" that gives you an option to create a list of payment methods with one or more payment methods into it.
Now in front end if a customer applies some coupon code from cart page and goes to checkout page. After he select payment method in the second last step of checkout page, his coupon code value should be removed if his selected payment method is in the list that you have created from the Module "X".
Is it what you are looking for?
Re: How to disable coupon code discount on payment method or
Posted: Mon Sep 05, 2016 6:19 pm
by juslintek
knowband.plugins wrote:Based upon on your description, below is our understanding, kindly confirm it.
You are looking for some module lets say "X" that gives you an option to create a list of payment methods with one or more payment methods into it.
Now in front end if a customer applies some coupon code from cart page and goes to checkout page. After he select payment method in the second last step of checkout page, his coupon code value should be removed if his selected payment method is in the list that you have created from the Module "X".
Is it what you are looking for?
Exactly, as well an extra option, discount codes shouldn't be applied to any already discounted via third party modules products. For example Product has discount set via Multiple Discount Pack and shouldn't not get discounted as extra unit via coupon code.
Re: How to disable coupon code discount on payment method or
Posted: Tue Sep 06, 2016 5:46 pm
by juslintek
knowband.plugins wrote:To fulfill this requirement, a module need to be implemented. If you are interested in Opencart custom module development, we can develop such module for you.
Contact us if you are interested.
I want to do it myself. And I need to know, what should I know before I start. Where to look at and so on.