Access to PrestaShop corporate website French English Change language
Hello, Guest |
| Register
Remember me Forgot password ?
Site Map Site Map Contact us Contact us
PrestaShop job
 

Bug tracker



Attributes Does Not Include Tax
Last modified : 03 Dec 2008 at 14:35

Severity: Minor
Version: V1 (1.0.0.8)
Installation type: Full (with sample data)
Theme: Default
Project: Front Office
Reporter: Mauel A. Martinez
Report #: 545
Date created: 11 Oct 2008 at 01:47 (UTC+1)
Related to Report #:

Hosting service: BlueHost
Server OS: Linux
Web server: Apache 1.3 or later
PHP version: PHP 5.0 or later
5.2.6
MySQL: 5.0
Client computer OS: Linux
Web browser(s) tested: Firefox 2
 
Details:
I create a Product with a pre-tax price of $130. Then added additional attributes which one attributes is the default. The other 2 attributes have a price increase of 37 and 161.

Now, when I select the Product the default attribute is selected and the price with tax (7%) are correctly calculated, Price $130 + 7% tax ($9.10) is $139.10. Good so far.

The problem arise when I select a attribute that has a price increase. If I select the attribute with the $37 increase, it should be calculated to $178.69 ($130 + 37 + 7% [$11.69 based on $167], But it is calculating $176.10, which is the default attribute with tax included of $139.10 + $37 of price increase. So, the increase of attribute price are not getting added to the total of tax.

How to reproduce:
Go to http://www.borinquensecurity.com
goto Hidden Cameras category
select Alarm Clock, the default is $139.10. This is Correct.
now change attribute to HC-ALARC-W-X. It is just adding $37 to the default price and tax. THis is incorrect, the price increase of $37 should also include a tax.

The Correct Calculation
Base Price $130
Plus Attribute $37
-----
Sub Total of $167.00
plus 7% Tax $11.69

Grand Total of $178.69
 
Comments :

Hi Mauel!

This is not an issue.
The combination increase/decrease the product final price.
So the value you assign to them are “incl. tax”.

In order to make it understandable I just added a notice that indicates it.

Best regards,

By Matthieu Biart on 03 Dec 2008 at 14:35 (UTC+1)


Notify me of follow-up comments?

<< Previous | Next >>