Module to generate voucher codes in PrestaShop has error

Hi! 
When i try to generate Cupons it appears this message Property Discount->date_from is not valid at line 837 in file classes/ObjectModel.php 831. 832. $message = $this->validateField($field, $this->$field); 833. if ($message !== true) 834. { 835. if ($die) 836. throw new PrestaShopException($message); 837. return $error_return ? $message : false; 838. } 839. } 840. 841. return true; ObjectModelCore->validateFields - [line 265 - classes/ObjectModel.php] - [0 Argument] ObjectModelCore->getFields - [line 465 - classes/ObjectModel.php] - [0 Argument] ObjectModelCore->add - [line 125 - classes/CartRule.php] - [2 Arguments] CartRuleCore->add - [line 138 - classes/Discount.php] - [2 Arguments] DiscountCore->add - [line 893 - modules/vouchers/lib/voucherengine/engine.php] - [0 Argument] vouchersVoucherEngine::AddVoucherCode - [line 282 - modules/vouchers/vouchers.php] - [2 Arguments] vouchers->getContent - [line 675 - controllers/admin/AdminModulesController.php] - [0 Argument] AdminModulesControllerCore->postProcessCallback - [line 795 - controllers/admin/AdminModulesController.php] - [0 Argument] AdminModulesControllerCore->postProcess - [line 158 - classes/controller/Controller.php] - [0 Argument] ControllerCore->run - [line 349 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 50 - 4dmin/index.php] - [0 Argument]

Error in voucher generator module

Hello

Module configuration page has this suggestion:


Please fill out each available field - do not leave fields empty. Otherwise module will not generate coupon codes or these codes will not work properly. Below you can find links to YouTube videos where you can find more informations about this voucher code configuration tool.

Video description of advanced voucher configuration tool
https://www.youtube.com/watch?v=cyqsBQkS_fU

General settings
https://www.youtube.com/watch?v=ubg60yWuLMA

Conditions settings
https://www.youtube.com/watch?v=2L6DYcTo5n0

Actions settings
https://www.youtube.com/watch?v=JV4JXfYMVxY

So please fill out each available field on module configuration page - there where you define voucher settings, especially fields related to voucher code start / expiry date 

Share on Google Plus

About VEKIA

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a Comment