Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

price bug #287

Closed
ossplus opened this issue May 21, 2015 · 7 comments
Closed

price bug #287

ossplus opened this issue May 21, 2015 · 7 comments

Comments

@ossplus
Copy link

ossplus commented May 21, 2015

see the attachment as sample:
498.37+ 22.31 = 520.68; but it shows "Total Price: 519.37". it is because the Shipping price is processed as "22", not "22.31".
price-bug

peter-mw added a commit to peter-mw/microweber-archive that referenced this issue May 21, 2015
@peter-mw
Copy link
Member

should be fixed now, we will release update in few days with other things too

@ossplus
Copy link
Author

ossplus commented May 21, 2015

It seams MW still have bug for the Shipping price.
please see the sample:
step1:
price-bug-1
step2:
price-bug-2
step3:
price-bug-3-1
step4:
price-bug-3-2
when order quantity is 2, the shipping price should be still 21.36, because 2pcs's weight is still under 1kg. but MW shows the price is "21.41" (equal to 21.36+0.04)

@peter-mw
Copy link
Member

Hi @jojouser i made the additional cost to be added if items are above 1 kg

you can replace your file with this file https://github.com/microweber/microweber/blob/1.0/userfiles/modules/shop/shipping/gateways/country/shipping_to_country.php

@ossplus
Copy link
Author

ossplus commented May 22, 2015

thanks for the quick fix. but It seams MW still have bug for the Shipping price. the shipping price in step4 and step5 is wrong.
please see the sample:
step1:
price-bug-1
step2:
price-bug-2

step3:
price-bug-3

step4: total weight is 1.5kg ; the right shipping price should be 21.31+ 1.31=22.62
price-bug-4

step5:total weight is 2kg ; the right shipping price should also be 21.31+ 1.31=22.62
price-bug-5

@ossplus
Copy link
Author

ossplus commented May 22, 2015

replace your file with this file https://github.com/microweber/microweber/blob/1.0/userfiles/modules/shop/shipping/gateways/country/shipping_to_country.php

Line 135 change to
$calc2 = $calc * ceil($total_shipping_weight-1);

peter-mw added a commit to peter-mw/microweber-archive that referenced this issue May 22, 2015
@peter-mw
Copy link
Member

Hi @jojouser thanks for the fix, i just updated the file. Hope it works now

@ossplus
Copy link
Author

ossplus commented May 25, 2015

It works now.close it.

@ossplus ossplus closed this as completed May 25, 2015
@peter-mw peter-mw mentioned this issue Mar 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants