Hi,
How to detect cart contains Gift Certificate by code? I am using below cod module and wants to disable cod payment method if cart contains Gift Certificate:
https://www.opencart.com/index.php?rout ... n_id=11301
Thanks
No OC version posted. Contact the extension developer to resolve this issue.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Using opencart 2.0.3
Their is an option already in module to : Enable/Disable this extension by writing custom conditions. I want to know the code thru which I can write the condition to disable this payment method if cart has Gift Certificate.
I want to know How I can check if the cart has Gift certificate by writing code in enable/disable condition.
Their is an option already in module to : Enable/Disable this extension by writing custom conditions. I want to know the code thru which I can write the condition to disable this payment method if cart has Gift Certificate.
I want to know How I can check if the cart has Gift certificate by writing code in enable/disable condition.
As mentioned on the above, contact the extension developer to resolve this issue since your request is about an installed extension.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
this detect gift certificate:vssoft wrote: ↑Tue Mar 13, 2018 9:36 pmHi,
How to detect cart contains Gift Certificate by code? I am using below cod module and wants to disable cod payment method if cart contains Gift Certificate:
https://www.opencart.com/index.php?rout ... n_id=11301
Thanks
Code: Select all
$this->session->data['vouchers']
Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here
Who is online
Users browsing this forum: No registered users and 395 guests