loyalty voucher for next order is not generated + question about email variables

Нi, what to set in module Voucher codes after orders if I want to send voucher for each order with amount more 5000. I set up Orders from 1 to 10000 and min amount 5000, but it generates only one voucher for first order and doesn't generate voucher for second order.

I have another question. If I put to mail template {voucher_date_to},  it send in customer letter something like 2018-04-30 02:44:50. How to remove time from it? To send like this 2018-04-30.

Expert answer

Regarding to your question about:
what to set in module Voucher codes after orders if I want to send voucher for each order with amount more 5000. I set up Orders from 1 to 10000 and min amount 5000, but it generates only one voucher for first order and doesn't generate voucher for second order. 

the way of how module will deliver the coupons depends on selected counter method. There are two methods:

Reward counter based on VALID ORDERS

This option will count all orders of user, even old ones. If you will define range: (for example) to generate reward for 0-5 orders - module will generate it only one time if number of placed orders is between 0 and 5

Reward counter based on GENERATED COUPONS

This option will count rewards that customer received, it will not count old orders. If you will define range: (for example) to generate new reward for 0-5 orders - module will generate it each time the counter will fit to defined range 

so in your case you need to select option to "generated coupons": 

regarding to your question about email variables
to make it work like you described i had to update the module.
i added new email variables: {voucher_dateonly_to}, {voucher_dateonly_from}

as a customer you can download free upgrades of the module.
To download upgrade please log in to your customer account, and open "my orders" page: http://mypresta.eu/my-account/orders/
Download module there in the same way as you downloaded it first time. You will download there always recently released version of the module.

How to proceed?
- please update the module, download new .zip and upload it to your shop back office
- then go to localization > tarnslations and select "email tranlations"
- on the next page you will be able to manage the email contents,
- edit the templates of email that module sends, replace {voucher_date_to} and {voucher_date_from} with new variables i added to the module {voucher_dateonly_to}{voucher_dateonly_from}
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