Hi al OC champs
Yesterday I wanted to increase the character limit of coupon codes from 10 - 20, I searched this forum and found very easy way to do it at file public_html/admin/controller/sale/coupon.php & changed it to 20 & it worked like charm.
But after that I added an additional mod/add-on [vQmod] - Batch Coupon Codes as shown here http://forum.opencart.com/viewtopic.php?f=131&t=49656
I can insert coupons in batches/multiple per line but now when I try to save it shows me same error message "Code must be between 3 and 10 characters!"
Any help in this would be highly appreciated.
Many thanks
Yesterday I wanted to increase the character limit of coupon codes from 10 - 20, I searched this forum and found very easy way to do it at file public_html/admin/controller/sale/coupon.php & changed it to 20 & it worked like charm.
But after that I added an additional mod/add-on [vQmod] - Batch Coupon Codes as shown here http://forum.opencart.com/viewtopic.php?f=131&t=49656
I can insert coupons in batches/multiple per line but now when I try to save it shows me same error message "Code must be between 3 and 10 characters!"
Any help in this would be highly appreciated.
Many thanks
Sorry to inform you but you can not directly update anything, its defined by opencart so it might has a reason. You have checked your database column capacity for coupon code? Its varchar(10) so you must need to update that too.
Most Useful Extensions || Most Selling Extensions
Opencart Development || Opencart Designing || eCommerce Project
✔ Join more than 5000 Happy Opencart Store Owners enjoying the extensions designed and developed by Opcrat, Opencart Partner.
Open your database through phpmyadmin than in the left side table list click on coupon tablet than go to Structure tab and edit(change) code field and update Length to according to your requirements.
Most Useful Extensions || Most Selling Extensions
Opencart Development || Opencart Designing || eCommerce Project
✔ Join more than 5000 Happy Opencart Store Owners enjoying the extensions designed and developed by Opcrat, Opencart Partner.
I am also looking to increase coupon code character limit, but the error showed by link on phpmyadmin doesn't allow me to do so, i am finding it difficult to reach the link and define coupon code character limits.
I did all this updating, but now when I try and save my new coupon code I get this message:
Notice: Undefined index: allowed_groups in /home/chry7483/public_html/webstore/admin/model/sale/coupon.php on line 21Warning: Cannot modify header information - headers already sent by (output started at /home/chry7483/public_html/webstore/admin/index.php:83) in /home/chry7483/public_html/webstore/vqmod/vqcache/vq2-system_engine_controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home/chry7483/public_html/webstore/admin/index.php:83) in /home/chry7483/public_html/webstore/vqmod/vqcache/vq2-system_engine_controller.php on line 29
Even with this error message the new coupon code works in the store. Any help here? Do I need to clear out something in the vqcache folder?
Notice: Undefined index: allowed_groups in /home/chry7483/public_html/webstore/admin/model/sale/coupon.php on line 21Warning: Cannot modify header information - headers already sent by (output started at /home/chry7483/public_html/webstore/admin/index.php:83) in /home/chry7483/public_html/webstore/vqmod/vqcache/vq2-system_engine_controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home/chry7483/public_html/webstore/admin/index.php:83) in /home/chry7483/public_html/webstore/vqmod/vqcache/vq2-system_engine_controller.php on line 29
Even with this error message the new coupon code works in the store. Any help here? Do I need to clear out something in the vqcache folder?
Who is online
Users browsing this forum: Majestic-12 [Bot] and 17 guests