yournamehere Posted July 4, 2009 Share Posted July 4, 2009 I have assigned colour combinations to various products (which are available in 3 colours), and although I input the price as £49.95, the price displayed in red is £38.96.However...When I add the item to the cart, the correct price of £49.95 is added like here. Why is this? And how do I stop it?Cheers,Sam Link to comment Share on other sites More sharing options...
yournamehere Posted July 4, 2009 Author Share Posted July 4, 2009 The combinations are removing 22% of the total price whien you add a combination, however once the item is placed into the cart it adds it back (giving the correct figure)... Link to comment Share on other sites More sharing options...
tomerg3 Posted July 4, 2009 Share Posted July 4, 2009 This is to do with the way the tax is calculated....I have made changes to the tax (to display them separately), and also addressed the the problem of attributes that change the price.You can email me if you want my changes. Link to comment Share on other sites More sharing options...
yournamehere Posted July 10, 2009 Author Share Posted July 10, 2009 Hi,Thanks for your response.yes I would really appreciate your coding if thats ok. I really can't work out how to make the price display correctly.My email is samjslater[at]g00glemail.com (with an @ and o's)...Cheers,Sam Link to comment Share on other sites More sharing options...
diamond204 Posted July 13, 2009 Share Posted July 13, 2009 Tomerg3 - have you done your coding on PS version 1.2 yet? THat is what I am using.More info on the issue with taxes in 1.2:PS 1.2 has added a "tax excluded option" which is nice but it still has a big issue with tax computation (or at least with the way US State tax is computed) - I have reported this as a bug to the Prestashop developers - here is what I found regarding PS 1.2:Prestashop is passing incorrect state tax to Paypal. The issue lies in the order in which the computation is completed (note PS is using TWO different tax computations in PS 1.2) and what data is passed to Paypal. For our example, we are buying 10 items that are $1.50 at a 9.75% State tax rate. Method one of computing (which PS uses in the cart): unit price*qty*tax rate for our example {1.50 * 10} = 15 * 1.0975= $16.46 product with tax Method Two (which is on the product pages and is passed along to Paypal): unit price * tax rate * qty for our example [1.50 * 1.0975} = 1.65 * 10 = $16.50 product with tax I took pictures of this if you would like. Usually in the US, the state tax is computed by taking the complete taxable product subtotal and then multiplying by the state tax rate. By trying to compute the tax the earlier stage, the Paypal cart is charging too much for tax. Method 1 is closer to US tax rate computation than Method 2. Thank youBy diamond204 on 01 Jul 2009 at 10:50 (UTC+1) Link to comment Share on other sites More sharing options...
cuisibella Posted August 2, 2009 Share Posted August 2, 2009 Hi there,thank you Tomer for sharing this tax fix. However i had problem with price display and old retail price when reduction was applied. I reworked the files so that % reduction now work in tax calculation. I did not find a way with price reduction. And to have the right price displayed in the product listing and homefeatured, i added a field in adminproduct just under the final price where you can write the price to be displayed in product listing and homefeatured, which will obiviously be the same as final price. Take note this work with tax based on location and might not work with product tax. If you try, please BACKUP FIRST!!!***if someone know how to post a file please let me know, it don't seem to work!*** Link to comment Share on other sites More sharing options...
o_delja Posted April 24, 2012 Share Posted April 24, 2012 This is to do with the way the tax is calculated.... I have made changes to the tax (to display them separately), and also addressed the the problem of attributes that change the price. You can email me if you want my changes. Would it be possible if you could email me your solution too? Or please share the idea where to put the changes. Thanks. OlegD Link to comment Share on other sites More sharing options...
Recommended Posts