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.