aleph Posted March 26, 2010 Share Posted March 26, 2010 Hi guys,when a customer returns an order what he can see in his points summery is:#xxxxxxxx date 2 validation#xxxxxxxx date 2 available#xxxxxxxx date -2 canceled#xxxxxxxx date 0 available#xxxxxxxx date -2 canceledAs you can see, the points are canceled two times and he remains with a negative credit.How to solve this?Thanks. Link to comment Share on other sites More sharing options...
rocky Posted March 27, 2010 Share Posted March 27, 2010 This bug has been reported and fixed. You can try downloading the module off SVN, or wait for Prestashop v1.3 final to be released. Link to comment Share on other sites More sharing options...
aleph Posted March 27, 2010 Author Share Posted March 27, 2010 Thank you, but I have no idea how to download the fixed module, moreover I have a Mac and I don't know which software to use.Is there anybody who would send me the fixed module via email?If there's someone so good, please send it to tbyte72[at]gmail.comThanks a lot! Link to comment Share on other sites More sharing options...
rocky Posted March 28, 2010 Share Posted March 28, 2010 Email sent. It should work unless the Prestashop team modified files outside of the loyalty module to fix the bug. If they did, you'll have to wait for v1.3 final. Link to comment Share on other sites More sharing options...
aleph Posted March 28, 2010 Author Share Posted March 28, 2010 Thank you very much, I'll try it right away!I was going nut with the SVN client for Macintosh (also because I have no idea of what SVN is and does ). Link to comment Share on other sites More sharing options...
tomi Posted June 4, 2010 Share Posted June 4, 2010 I tried install loyalty module from PS 1.3 on PS1.2.5 and it's working better but...there is a error on my shop:Fatal error: Call to undefined method Product::getIdProductAttributeMostExpsensive() in /home/.../public_html/modules/loyalty/loyalty.php on line 329The problem is with loyalty.php and LoyaltyModule.php files...only on one page with product. I think something is wrong with module were is text: "By buying this product you can collect up to..."Could somebody help me?Cheers Link to comment Share on other sites More sharing options...
rocky Posted June 4, 2010 Share Posted June 4, 2010 That's strange. From the error message, it appears that the getIdProductAttributeMostExpsensive() function doesn't exist on your site. It exists on mine though. Can you check classes/Product.php and make sure that a function called getIdProductAttributeMostExpsensive() exists about halfway through the file? If it doesn't, perhaps that file didn't overwrite or upload correctly. Link to comment Share on other sites More sharing options...
tomi Posted June 6, 2010 Share Posted June 6, 2010 thx rocky. I think module loyalty 1.7 (from PS 1.3.1) is not compatible with PS 1.2.5 and below.Ive changed some code line on loyalty.php and LoyaltyModule.php and now its working but... If somebody order 3 same items (50 points per item) and I cancel 2 items then system minus wrong pointsExample:Order:3 apple - 150 pointsCancelled 2 apple and leave 1 apple - 150 points - 100points = 50 points And Prestashop leave 100points to buyer and shoul leave 50 somewhere need change code Link to comment Share on other sites More sharing options...
rocky Posted June 6, 2010 Share Posted June 6, 2010 I thought that bug was fixed in PrestaShop v1.3.1, but I can't find the bug report. If you do a clean install of PrestaShop v1.3.1 and the problem still exists, you should post the issue on the bug tracker. Link to comment Share on other sites More sharing options...
tomi Posted June 6, 2010 Share Posted June 6, 2010 I can't coz I'm using v1.2.5 and only loyalty module from 1.3.1 (modified). maybe somebody know which line need changes, then will be great 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