Jump to content

Loyalty points voucher does not go into effect immidiedly.


Nick_K

Recommended Posts

I am using prestashop 1.5.6.2 and i recently installed the loyalty point module (ver 1.13) and i have an issue. When a costumer converts his points into a voucher the voucher does not go in effect immediately, and looking at back office i see that it goes in effect at midnight of that day!

 

I searched around and found someone who had a similar problem and in the loyalty-program.php he changed the code from 

$cartRule->date_from = date('Y-m-d H:i:s', $dateFrom);

to

$cartRule->date_from = date('Y-m-d H:i:s', $dateFrom - 86400);

and apparently for him it worked, but for me it doesn't. Is there any solution to that? How can i make the voucher to go into effect immediately?

 

Thanks in advance.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...