Of course, for eVouchers, such as those generated by OpenCart, it is ridiculous to have this payment option. Is there a way to disable COD if the cart being checked out contains one or more vouchers?
BTW, similar scenario for downloadable products. If cart only has downloadable products, then too COD should be disabled.
OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Check out: All my extensions | My FREE extensions
Conditions for disabling COD option should be:
1. Disable if gift voucher present in cart
OR
2. Disable if only downloadable products present in cart
(this obviously included the condition where both gift voucher and download is in cart because this is covered by #1)
OC2PS
OC 3.0.3.7, vQmod 2.6.2, Journal3 theme
Arcfesték, Csillámtetoválás, Henna
Check out: All my extensions | My FREE extensions
I like this idea. I created an XML file.OC2PS wrote:Thanks, Jonathan. But that doesn't quite do it.
Conditions for disabling COD option should be:
1. Disable if gift voucher present in cart
OR
2. Disable if only downloadable products present in cart
(this obviously included the condition where both gift voucher and download is in cart because this is covered by #1)
Attachments
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I want same functionality to restrict COD when gift vouchure is in cart. Your above xml file doesnt Work for me. My opencart version is OC 1.5.2.1, vQmod 2.1.6, default theme.
I would greatly appreciate if you could help me sort out.
Thanks
Vj
Can Anyone help me with this or suggest any alternative?vj_sheta wrote:Hi Straightlight,
I want same functionality to restrict COD when gift vouchure is in cart. Your above xml file doesnt Work for me. My opencart version is OC 1.5.2.1, vQmod 2.1.6, default theme.
I would greatly appreciate if you could help me sort out.
Thanks
Vj
Thanks
Vj
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Thanks for sharing

It works great, but I would like to ajust this mod.
I just dont know how.
I'm looking to disable COD payment option in purchasing a voucher, and some other conditions.
This vqmod disables COD option if a voucher has been applyed.
Can this be done?
I dont have the knowledge to make such a change.
Any hints are appreciated.
Thanks in advance.
Such as ?I'm looking to disable COD payment option in purchasing a voucher, and some other conditions.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
It is also possible to implement the vouchers restrictions afterwards.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I would also like the COD option to be disabled if someone is purchasing a gift voucher (not with, but actually buying a gift code for someone else)
I'm in the testing phase currently and I'm interested in using OpenCart for a client.
Users browsing this forum: No registered users and 2 guests