changed length to 25 (oc_coupon>structure)
in admin/language/english/sale/coupon.php
was changed toCode must be between 3 and 10 characters!
Code must be between 3 and 25 characters!
in admin/controller/sale/coupon.php
Code: Select all
if ((utf8_strlen($this->request->post['code']) < 3) || (utf8_strlen($this->request->post['code']) > 10)) {
$this->error['code'] = $this->language->get('error_code');
Code: Select all
if ((utf8_strlen($this->request->post['code']) < 3) || (utf8_strlen($this->request->post['code']) > 25)) {
$this->error['code'] = $this->language->get('error_code');
when entering code I still get the
error not 25 like it should be.. am i missing some steps?Code must be between 3 and 10 characters!
version 2.0.2.0
SOLVED
in admin/controller/marketing/coupon.php
also change :
Code: Select all
if ((utf8_strlen($this->request->post['code']) < 3) || (utf8_strlen($this->request->post['code']) > XX)) {
$this->error['code'] = $this->language->get('error_code');