PetShop Posted September 26, 2017 Share Posted September 26, 2017 Good morning in my shop I have been active for years: Price and Promotions Customer loyalty and prize v1.2.9 - from PrestaShop After years the accumulated loyalty points are so many and the user to see the last has to scroll through the pages. I would like to delete the old ones and see that they are written in the table: ps_loyalty Do I make a mistake if I delete records from the past? Does anyone have experience? Thank you Link to comment Share on other sites More sharing options...
bellini13 Posted September 26, 2017 Share Posted September 26, 2017 I've never actually used the loyalty module before, and I do not believe it is a supported module anymore. However looking at the module code, I believe the module does a sum of all the records for the given customer in that table. So if you remove all the old ones, then it will effect how many points the customer has. You can also change the module so that it does not show all of the points. Perhaps instead you can show the points from the last 6 months, and then show a sum of all the points older than 6 months. Link to comment Share on other sites More sharing options...
PetShop Posted September 26, 2017 Author Share Posted September 26, 2017 Hi ok I will try to make a backup of the table and clean it thank you 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