elund Posted July 8, 2018 Posted July 8, 2018 After upgrading to version 1.0.4 I have problems with the price shown on the product page when using quantity discount as shown below. Is this a bug in vesrion 1.0.4 or a compatibilty problem with my theme and version 1.0.4? It worked fine with version 1.0.3.
0 the.rampage.rado Posted July 8, 2018 Posted July 8, 2018 Are you sure your config is correct - special price? Such bug was present on PS where the 'you save' amount was changed with the savings amount.
0 Traumflug Posted July 9, 2018 Posted July 9, 2018 Certainly a thing to test. Perhaps the bug is still present.
0 elund Posted July 10, 2018 Author Posted July 10, 2018 @the-rampage-rado said in Problem with price on product page after upgrade to 1.0,4: Are you sure your config is correct - special price? Such bug was present on PS where the 'you save' amount was changed with the savings amount. Yes, I am pretty sure - or at least - it worked fine before the upgrade ;-)
0 elund Posted August 17, 2018 Author Posted August 17, 2018 This is still a problem in version 1.0.6
0 Traumflug Posted August 17, 2018 Posted August 17, 2018 https://github.com/thirtybees/thirtybees/issues/574
0 Traumflug Posted August 18, 2018 Posted August 18, 2018 Hmm. @yaniv14 can't reproduce this on 1.0.6, see comment on the Github issue. Which leads to the question: what is different between your installation and Yanivs? Any additional modules? A custom theme? Does it happen with new products as well (it might be result of something stored in the wrong place in the database)?
0 yaniv14 Posted August 18, 2018 Posted August 18, 2018 What I did is to install a fresh new 1.0.6 with Hebrew language and all demo products. After that I've edited one of the products and added 2 different quantity discounts. Both shows fine in the quantity discount table and both changed the product price once reached the desire amount.
0 Traumflug Posted August 19, 2018 Posted August 19, 2018 community-theme-default just received the fix provided by @yaniv14, so it'll go into the next release. Thank you very much! P.S.: or was the fix provided by @datakick ? The commit message reads Petr Hučík, thanks go to this person :-)
0 elund Posted August 20, 2018 Author Posted August 20, 2018 @traumflug said in Problem with price on product page after upgrade to 1.0,4: Hmm. @yaniv14 can't reproduce this on 1.0.6, see comment on the Github issue. Which leads to the question: what is different between your installation and Yanivs? Any additional modules? A custom theme? Does it happen with new products as well (it might be result of something stored in the wrong place in the database)? I use the TB compatible Panda theme from https://www.sunnytoo.com/product/panda-creative-responsive-prestashop-theme. If the line below is the only change to the community theme, then it unfortunately doesn't help me, so I have to investigate further. ~~if (discountedPrice != 0) {~~ if (displayDiscountPrice != 0 && discountedPrice != 0) { SInce it worked before I would assume there must have been a correction to the core code causing this issue. The correction to the core can of course be the right thing to do.
0 elund Posted August 28, 2018 Author Posted August 28, 2018 Where is "displayDiscountPrice" defined and set?
0 doclucas Posted August 29, 2018 Posted August 29, 2018 @elund said in Problem with price on product page after upgrade to 1.0,4: Where is "displayDiscountPrice" defined and set?
0 elund Posted August 29, 2018 Author Posted August 29, 2018 Wauw, that fix my issue after the upgrade to 1.0.4. Thanks a lot :-)
Question
elund
After upgrading to version 1.0.4 I have problems with the price shown on the product page when using quantity discount as shown below.
Is this a bug in vesrion 1.0.4 or a compatibilty problem with my theme and version 1.0.4? It worked fine with version 1.0.3.
12 answers to this question
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