PrestaShop Forum

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum

Jump to content

 

Prices showing completely wrong with combinations...

6 replies to this topic
#1
yournamehere

    PrestaShop Newbie

  • Members
  • Pip
  • 21 posts
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

#2
yournamehere

    PrestaShop Newbie

  • Members
  • Pip
  • 21 posts
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)...

#3
tomerg3

    PrestaShop Superstar

  • US Moderators
  • 5750 posts
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.
Posted Image
For the latest updates discount coupons and new module information follow us on Twitter , Facebook ,and tips on our Blog
Please do not send general questions via PM, that is what the forum is for...

#4
yournamehere

    PrestaShop Newbie

  • Members
  • Pip
  • 21 posts
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

#5
diamond204

    PrestaShop Apprentice

  • Members
  • PipPip
  • 142 posts
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 you
By diamond204 on 01 Jul 2009 at 10:50 (UTC+1)

#6
cuisibella

    PrestaShop Newbie

  • Members
  • Pip
  • 7 posts
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!***

#7
o_delja

    PrestaShop Newbie

  • Members
  • Pip
  • 7 posts

View Posttomerg3, on 04 July 2009 - 06:02 PM, said:

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