tarmouti Posted June 18, 2015 Share Posted June 18, 2015 (edited) Dear Users! I've found strange issue with validity of loyalty points. Even if i set 30 days as period of validity, it makes the voucher available from 2018. How could I change that? http://forge.prestashop.com/browse/PSCSX-5169 In my case this is the newest version of this module - 1.2.8 Thank you in advance. Edited June 18, 2015 by tcovoc (see edit history) Link to comment Share on other sites More sharing options...
johnwolf Posted June 18, 2015 Share Posted June 18, 2015 You are using default module of PrestaShop for loyalty points? Link to comment Share on other sites More sharing options...
tarmouti Posted June 18, 2015 Author Share Posted June 18, 2015 Yes, check this bug: http://forge.prestashop.com/browse/PSCSX-5169 I've found similar problem Link to comment Share on other sites More sharing options...
tarmouti Posted June 18, 2015 Author Share Posted June 18, 2015 Refresh. What do you think about adding if statement similar to this one: https://github.com/maximebiloe/loyalty/commit/54099c9e17bbecb4da7d9e44d5394fc51e2efb4f The only difference is related to ">" instead of "<" if ($date_from > time()) $date_from = time(); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now