mehnihma Posted March 14, 2013 Share Posted March 14, 2013 Hi When I apply reduced price to any products I get wrong reduced price. I use PS 1.5.1 Example: In BO I go to prices and set special price (Prices-drop): price is 716,55 and I set discount to 10% and I get 644,89 and it should be 651,40 !!!!!!!!!! I have tried this also on PS 1.5.3 and I get same error. I get same error with voucher code, discount is wrongly calculated. Whey voucher is applied in cart. All prices are with tax How is this possible? I was trying to find where these calculations are done, but could not find it. Strange thing is that all discounts are wrong. Link to comment Share on other sites More sharing options...
mehnihma Posted March 14, 2013 Author Share Posted March 14, 2013 Am I the only one with this problem? Link to comment Share on other sites More sharing options...
frague Posted April 7, 2013 Share Posted April 7, 2013 (edited) HI, i'm using PrestaShop™ 1.5.4.0 and i have find similar bug: i have create an article with price 100, and using combinations i have crated 4 articles. the first one have price 100 the second one 110 the third 115 the fourth 120 Using Specific prices in prices, i have applied a discount of 25%. the results are: - 81,25 instead 75 for price 100 - 91,25 instead 82.50 for price 110 - 96,25 instead 86.25 for price 115 - 101,25 instead 90.00 for price 120 If i use a single price, result is correct: 25% for 100 is 75, and the product show it. nobody find it ? Edited April 7, 2013 by frague (see edit history) Link to comment Share on other sites More sharing options...
JodyOH Posted May 8, 2013 Share Posted May 8, 2013 I have a similar problem with discounting a combination (or just one option). If I discount a dollar amount, then it leads to a lot of muck in the pricing. If I discount a percentage, it displays the incorrect price, ie: Reduced price! CAD $0.00; however, it DOES put the correct pricing into the shopping cart. Link to comment Share on other sites More sharing options...
fitri musa Posted May 28, 2013 Share Posted May 28, 2013 i'm using prestashop 1.5.3.1 and i have problems with specific price. when i set specific price a product, the price doesnt change. it used to be ok, now it failed to change the price based on my setting. please help. Ive been trying to solve this problem since months ago.. and now i 'm stuck. i cant run promotion due to that problem.. pls help. tq Link to comment Share on other sites More sharing options...
JodyOH Posted May 28, 2013 Share Posted May 28, 2013 (edited) i think there is a big bug with taxes/specific pricing and combinations. does the price change to the correct price after it gets added to the cart section? a) try finding the setting 'show taxes in shopping cart' and disabling that. i think it is in one of the tax sections, but not positive. i think that is resolving it for me for now, but i've yet to fully test it. b.) whichever you are discounting by: percentage or by amount.. try the opposite. Edited May 28, 2013 by JodyOH (see edit history) Link to comment Share on other sites More sharing options...
fitri musa Posted May 28, 2013 Share Posted May 28, 2013 On 5/28/2013 at 7:36 PM, JodyOH said: i think there is a big bug with taxes/specific pricing and combinations. does the price change to the correct price after it gets added to the cart section? a) try finding the setting 'show taxes in shopping cart' and disabling that. i think it is in one of the tax sections, but not positive. i think that is resolving it for me for now, but i've yet to fully test it. b.) whichever you are discounting by: percentage or by amount.. try the opposite. Thanks for your reply.. ive checked the tax section, it's already disabled.. as i dont use tax in my sales...because it's all included...and i tried the options you suggested, it still doesnt work with both amount and percentage... it used to work.. but suddenly it didnt. do you know what else can i do? thanks for your help Link to comment Share on other sites More sharing options...
JodyOH Posted May 28, 2013 Share Posted May 28, 2013 i'm still a noob so not much else i can say other than check odd things you wouldn't suspect: a.) is it possible to upgrade prestashop to 1.5.4 (or newer?) b.) contact your hosting provider. it is -possible- that the host site did some changes that affected you in an odd way. seems strange, but for me, my host had a funny issue with categories. c.) create a new test item, and then do a special on that. same problem? d.) make sure you have your own 'customer account', to view the cart. maybe logged-in users see the specific pricing? e.) i don't know about your version, but make sure in specific pricing, for Customer, it says 'All Customers' Link to comment Share on other sites More sharing options...
JodyOH Posted June 6, 2013 Share Posted June 6, 2013 Hi, just some followup, i believe i discovered the culprit. first back up your database : ) Try changing your shop theme to 'default' and see if that solves the problem. For me, the default theme has radio boxes (little circles), and the prestashop theme has combo boxes. My bet is the radio boxes have slightly different code than the combo boxes. perhaps you can choose between the two in your theme? Link to comment Share on other sites More sharing options...
vankata.be Posted September 22, 2013 Share Posted September 22, 2013 (edited) Hi guys!I have the same problem and let me summarize it so we have the whole info in one post (as far as I understood): Preconditions: 1. I have Prestashop v.1.5.4.1 2. Applied discount with percentage or with amount (e.g. 3$ discount) on different products 3. My theme is derived from the default theme with alterations I made over time for changing colors, bug removal, etc. 4. Taxation option is OFF Behavior observed: 1. With both percentage or amount discount, the prices are not displayed correctly in the product page. 2. However the prices are displayed correctly BOTH in the catalog (let's say if you open the page with the whole category or list of products, there the prices of the products will be ok) and in the shopping cart. 3. When from the catalogue page I click on the product to open the product page and the internet connection is slow, for a second in the product page I can see the price correctly calculated! And then it becomes the incorrect (higher) one. 4. If I change to default theme, the discount is correct but my theme doesn't differ so much! Well, colors and shapes mainly - see here http://crewstockings.com Actions taken: 1. Renaming my theme to default did not solve the issue. But since there is no error with discounts with the genuine default theme, this means (as someone above said) that the problem is within my theme folder. 2. Removing the file product.js in the js folder in my theme solved the error with the discounts! I saw this topic talking about js and how it messes up with php: http://www.prestashop.com/forums/topic/251266-reduction-type-amount-but-front-office-shows-in-percentage/?view=findpost&p=1250747. Still no clue for me since i am a total LAME in programing. 3. I replaced the product.js in my theme\js with the same file from default\js folder. First it seemed it worked. The default .js file was 2 days newer (27 April 2013) than my theme .js (25 April). I guess due to shop update or I don't know, the default got updated and mine didn't. 4. Now the PROBLEM is that if there are combinations of the product and only one is discounted, the discounted price shows up to all of them in the product page view! Well, good news is that in the shopping cart the prices are correct. 5. Solution - I took the product.js file from the new version 1.5.5.0 and put it into my theme. If you have free time, you can see in the file what is different. This bull$#&$t cost me 1 day of my life but hey, this is the price of free software. And I am sure the paid one is not better either. Please hit LIKE THIS if it helped you. Thanks. Edited September 23, 2013 by vankata.be (see edit history) 2 Link to comment Share on other sites More sharing options...
vankata.be Posted September 22, 2013 Share Posted September 22, 2013 (edited) --I moved the text to the above comment for clarity-- Edited September 23, 2013 by vankata.be (see edit history) Link to comment Share on other sites More sharing options...
vankata.be Posted September 23, 2013 Share Posted September 23, 2013 I suggest the person opened the topic to mark it solved if it solves this issue. Unless someone wants to go deep into that js and see the tiny reason there. How to add [sOLVED]: press "Edit" at original Question, press "Use Full Editor" and edit the header line. Voilá!Please, always tell/add the final solution working for your problem, so others can re-use it :-) Please like the useful posts :-) Link to comment Share on other sites More sharing options...
kasprzak Posted September 23, 2013 Share Posted September 23, 2013 Hi, My discounts don't show up at all. I created a group that should get a 10% off and they see the same, unchanged prices. Link to comment Share on other sites More sharing options...
JodyOH Posted September 23, 2013 Share Posted September 23, 2013 There is a new version of prestashop, that although i haven't been brave enough to install it, doesn't mean you shouldn't Anyway and maybe i'm recapping stuff said earlier but: a) Your theme should be compatible with prestashop 1.5. I tried multiple themes, and they all perhaps have code mostly designed for 1.4 prestashop (guessing here). The theme for some reason has the code responsible for pricing and showing sales. The theme i had most success was ..google thgr00027o, or graphileom. This isn't an endorsement, just saying sales prices worked -better- and is worth a try just to see what happens. Create a customer account (with address) and view your shop that way! Without logging in, i see 'guessed' prices including taxes. Logged in, i see correct prices. Hopefully this helps, after this i got nothin! Link to comment Share on other sites More sharing options...
kasprzak Posted September 23, 2013 Share Posted September 23, 2013 Well, I'm new to it - this is my firt PS installation giving me quite a hard time I have PS 1.5.5.0 and I use default template - I only managed to change backround color a bit. Of course I keep checking the prices being logged in as a customer - all I see is just regular price. Link to comment Share on other sites More sharing options...
kasprzak Posted September 23, 2013 Share Posted September 23, 2013 I did what vankata here suggested - removed product.js file from my themes/default/js folder. Nothing changed. I got rid of all the default folder and had it replaced by the original, downloaded one and still nothing. I have a group defined. The group has a 10% discount defined. Plus I have products with special price for this particular group also defined as 10% off the base. I must have done something wrong - some silly mistake I guess... Link to comment Share on other sites More sharing options...
PascalVG Posted September 25, 2013 Share Posted September 25, 2013 Hi Kasprzak, Did you create a 'customer account' with the correct group and did you login using these credentials to really see the discounted prizes? Can you show a screenshot of the discount info you filled in? pascal Link to comment Share on other sites More sharing options...
dtcllc Posted October 22, 2013 Share Posted October 22, 2013 (edited) I'm having a similar problem. Your current prestashop version 1.5.6.0 The Tax should calculate at the end? What am I doing wrong? Edited October 22, 2013 by dtcllc (see edit history) 1 Link to comment Share on other sites More sharing options...
dtcllc Posted October 23, 2013 Share Posted October 23, 2013 Any ideas? THis has something to do with the discount? I took the discount off and it works fine. Very strange? It has to be a bug? Please help? Link to comment Share on other sites More sharing options...
Microame Posted October 28, 2013 Share Posted October 28, 2013 I got the same problem in 1.5.6, not noticed in the previous versions. What I have done is deleted the product and created a new one. Works well till now. Link to comment Share on other sites More sharing options...
PascalVG Posted October 30, 2013 Share Posted October 30, 2013 dtc, Did Microame's suggestion help you? Let us know, pascal Link to comment Share on other sites More sharing options...
dtcllc Posted October 30, 2013 Share Posted October 30, 2013 Same issue. So it looks like the discount is applying incorrectly. I made it very simple. I added a new item for $500. I applied a discount of 250 which should be $250. I just don't get it. Someone please help. I'm doing this for a client. My first time with this cart? I may have to go somewhere else. Ideas Jerry Link to comment Share on other sites More sharing options...
Shano Posted May 15, 2014 Share Posted May 15, 2014 post #10 fixed the issue for me . I have a California based website and when applying a percentage discount to a manufacture it was showing a the correct discounted price on the manufacture page with all the products but when going to the ctual product page it showed a higher price. Thank you for the fix/ Link to comment Share on other sites More sharing options...
ghostbaby86 Posted October 14, 2014 Share Posted October 14, 2014 (edited) I know this problem when fix site of my client, prestashop have mistake in code php of file classes/product.php line 2687 $reduc = !$use_tax ? $product_tax_calculator->removeTaxes($reduction_amount) : $reduction_amount; we need change it to $reduc = $use_tax ? $product_tax_calculator->removeTaxes($reduction_amount) : $reduction_amount; -> right code after it is work good. Here is error of prestashop core Edited October 14, 2014 by ghostbaby86 (see edit history) 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