Forums / Developer / Order total

Order total

Author Message

Erlend Halvorsen

Monday 27 October 2008 3:18:47 am

Hi!

The /shop/basket action seems to display order total as 0, even though the items I've added to the cart has a subtotal of 1100,-. I also notice that shipping cost is 0,- even though the shipping handler hasn't even been invoked yet, as that isn't triggered until before confirm order. Is this correct behavior? I tried upgrading from 4.0 to 4.0.1, but this made no difference.

-Erlend

michiel n.

Wednesday 05 November 2008 2:37:55 am

Shipping handlers are made or installed by you. So what they exactly do is something only you know. It might be that you want them to be triggered immediately or at the confirm order, depending on your specific case. The first needs a tiny hack though.

Shipping costs in your basket might show up, check your basket.tpl

What you're describing, sounds like either your basket.tpl isn't what you'd like it to be either you've gone to the confirm order, went back to your shopping basket and tadaa, default template will show shipping == 0, because $shipping_info is_set.

(Sessions live longer than design flaws).

Certified eZ developer looking for projects.
michieln at gmail dot com
http://ez.no/certification/verify/225305