Q&A: Gift certificate module and error "discount name is empty"

Question

i use gift certificate module in my PrestaShop, and while it generates a voucher code i see this message:
[PrestaShopException]
Property Discount->name is empty
at line 878 in file classes/ObjectModel.php


PrestaShop expert answer

please follow the suggestions and fill out each available field on voucher configuration page
this will solve the problem you've got.
Error you've got means that voucher settings are not defined, or defined partially. Error says that "name" field is empty. Please fill it out (for each available language) and just save it. 

this will solve your problem with gift cards in prestashop.
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