Why does order.TotalPrice return price including shipping/freight before even choosing wich shipping provider you should use? I use this in the Cart and I ony want it to return the sum of the articles, not the handling.
The default shipping method (If you have chosen one) is added to the order as soon as it is created. The price will be calculated into the total price along with the payment method fee.
Use SubTotal instead. That excludes payment and shipping fees.
Just deselect a default shipping and payment method at the country in Tea Commerce. Or use SubTotal to always have the order lines total sum as Rune has written.
Freight cost in cart?
Hello,
Why does order.TotalPrice return price including shipping/freight before even choosing wich shipping provider you should use? I use this in the Cart and I ony want it to return the sum of the articles, not the handling.
Any ideas?
//Kalle
Hi Kalle,
The default shipping method (If you have chosen one) is added to the order as soon as it is created. The price will be calculated into the total price along with the payment method fee.
Use SubTotal instead. That excludes payment and shipping fees.
/Rune
Just deselect a default shipping and payment method at the country in Tea Commerce. Or use SubTotal to always have the order lines total sum as Rune has written.
Kind regards
Anders
is working on a reply...