prunycb / magento-w2p

Automatically exported from code.google.com/p/magento-w2p
0 stars 0 forks source link

Incorrect price calculation #567

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
0.9.7b multiplies the base price the quantity giving incorrect price 
calculation on 1.5.1.

It multiplies the qty by the package price in the shopping cart.

Access details to the customer site sent via email.

Original issue reported on code.google.com by ad...@zetaprints.com on 27 May 2011 at 10:29

GoogleCodeExporter commented 9 years ago
The site in question was copied to d1.
Update progress here.

Original comment by ad...@zetaprints.com on 28 May 2011 at 6:12

GoogleCodeExporter commented 9 years ago
Which is that site?

Original comment by jamb...@gmail.com on 28 May 2011 at 7:34

GoogleCodeExporter commented 9 years ago
I got the details, will copy some of the products and try to replicate the 
problem

Original comment by jamb...@gmail.com on 28 May 2011 at 7:55

GoogleCodeExporter commented 9 years ago
Problem localized and fixed.
Turns out that when displaying cart product is not completely loaded (just bare 
minimum) and FQ are not loaded too. When in Developer Mode this throws 
exception but in
Production Mode it just skips FQ and base price remains.
I am pretty sure this was result of some of un-installation efforts that I made 
but anyway is hidden bug. So I fixed it by explicitly loading FQ in case they 
are not in the product already.
The fix is in r1644 and is released to v. 0.9.8b of FQ. 
FQ on said site is updated too. Test if totals (and everything else) work as 
intended.

Original comment by jamb...@gmail.com on 28 May 2011 at 11:38

GoogleCodeExporter commented 9 years ago
which site are you guys talking about? where do I test this?

Original comment by agur...@gmail.com on 30 May 2011 at 10:10

GoogleCodeExporter commented 9 years ago
http://d1.zetaprints.com/poe/ you will need a customer account to test this.
Max has one handy.

Original comment by jamb...@gmail.com on 30 May 2011 at 10:16

GoogleCodeExporter commented 9 years ago
Seems wrong to me. I placed an order for 2500 cards on this product:
http://d1.zetaprints.com/poe/index.php/default/nevada-cardiology-associates-prod
ucts/business-cards/nvcardio-bcs-doctor.html
and got the correct price, qty... in shopping cart and order details page 
(fq_1.png).

Then I placed an order on this product for 1000 cards:
http://d1.zetaprints.com/poe/index.php/default/nevada-cardiology-associates-prod
ucts/business-cards/nvcardio-bcs-office-manager.html
Qty is not shown properly. Shows as 1 (fq_2.png)

Original comment by agur...@gmail.com on 30 May 2011 at 12:24

Attachments:

GoogleCodeExporter commented 9 years ago
It is correct - this is how product is setup in admin

Original comment by jamb...@gmail.com on 30 May 2011 at 12:36

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by agur...@gmail.com on 30 May 2011 at 12:57

GoogleCodeExporter commented 9 years ago

Original comment by jamb...@gmail.com on 6 Jun 2011 at 7:40

GoogleCodeExporter commented 9 years ago

Original comment by ad...@zetaprints.com on 6 Jun 2011 at 10:12