View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005650||OXID eShop (all versions)||1.03. Basket, checkout process||public||2014-02-12 09:19||2015-11-05 17:32|
|Product Version||4.7.10 / 5.0.10|
|Target Version||4.9.6 / 5.2.6||Fixed in Version||4.9.6 / 5.2.6|
|Summary||0005650: Wrong shippingcost calculation|
|Description||The amountcalculation for the shippingcost is wrong (oxdelivery->isForBasket the amount-variable)|
|Steps To Reproduce||In my case there are different shippingrules. For example one rule is for a cartprice from 0 - 200 euro and one rule is for a cartprice from 200 - 9999 euro. These two rules are assigned to all possible article-categories. If i put one article with a price of 101,00 euro to my cart, which is assigned to two categories, then the second rule (200 - 9999 euro) is used.|
|Additional Information||I debug this issue and get that the amount-variable would be increased by every assigned category, which is also assigned to a shippingrule. This calculation was changed with the update to version 4.7.10 and still was an issue some versions before https://bugs.oxid-esales.com/view.php?id=4730. There is also a forum thread for this issue http://forum.oxid-esales.com/showthread.php?t=22119.|
|Tags||No tags attached.|
|duplicate of||0006015||closed||jurate.baseviciene||wrong shipping cost calculation if a product is in multiple categories|
|related to||0004730||resolved||Linas Kukulskis||Orderrules with Quantity -> Items would be count double|
|has duplicate||0005645||closed||QA||Delivery Costs failed|
|has duplicate||0005670||closed||jurate.baseviciene||Shipping cost after chaning are set false / 4.8.3. with azure|
||this issue assigned to https://bugs.oxid-esales.com/view.php?id=5645|
Some more additional informations: I was checking this issue with the demo shop. that means that the version 4.8.3 is also affected.
i was setting up two shippingrules with condition price, which only works one time per cart and i do not set the hook for "do not calculate more rules after this". also i assigned all articles-categories to this rules. than i choose one article and assign this article to two different categories. In this case the calculation is wrong.
Last edited: 2014-02-20 16:02
What happens if you assign the articles instead of the categories? Does it work then?
Reminder sent to: Egoist
if you want to have two shipping rules in shop, which depends from the total of the basket, you don't need assigned all categories or all product to these shopping cost rules at all. If there are not assigned any categories or any product to the shipping cost rule it meant that this shipping cost rule affects all categories and all products in the shop. More examples how to set up shipping rules you can find here: http://www.oxid-esales.com/en/support-services/documentation-and-help/archive-oxid-eshop/administer-eshop/set-shipping/shipping-basics.html
||This bug is confirmed, because we have missing documentation. There need to document clear rules how to set up shipping cost rules to avoid confusion here.|
Last edited: 2014-02-21 08:46
In the first test, there was no shippingrule affects the basket, when no category was assigned. But the main problem is not to set up shipping costs, the main problem is, that the current settings work with version 4.7.8 and with version 4.7.10 the settings do not work any more. My solution was to write a own modul with the shown code in the forum http://forum.oxid-esales.com/showthread.php?t=22119 this is the affected part of the code in the update like written before. But i do not know, if this works in all cases...
"This bug is confirmed, because we have missing documentation."
This is not just missing documentation, this is a bug. Of course this can be avoided by not assigning categories, but behaviour is still wrong in case categories are assigned.
Last edited: 2014-12-03 09:13
There is a bug, no missing documentation.
Test case how need reproduce it:
Need to create 1 product with the price 101 eur.
Assign the product to categories Kites and Jeans;
Create 3 shipping roles:
Condition : 0-200
Price: 10 abs
Assign this role to the categories Kites and Jeans;
Condition : 200-9999
Price: 100 abs
Assign this role to the categories Kites and Jeans;
Condition : 0-999999
Price: 200 abs
Go to Master settings-> Core settings-> Setting;
- Enter Product Prices as Net Prices (plus VAT)
- Show net prices in frontend (B2B)
These check-box need enable that in frondent would be the price equal to 101 eur.
Go to frontend add product to the basket;
Product price in the basket is 101.00eur.
Go to the 3 basket step and shipping role is used incorrect:
Shipping method price should be 10 eur instead 200. In this case the second rule (200 - 9999 euro) is used, need to fix that would be used the first role
I have the same problem. And this is not a documentation bug but a severe problem:
If my product is assigned to more than one category (e.g. TOP10, XMAS, Food), the shipping costs are calculated wrong. (always the last shipping rule)
It is not an option to have the product only in one category!
|might also be related to 0005557|
Hi, This problem is still not fixed.
I am working with version 4.8.7.
This is really urgent, because my customer get wrong shipping costs!
I undid the change from 2013 and now it works for me again:
what this makes with the original bug, i have no clue and i do no care, because i do not have it (Deliverycost with quantity 0004730 )