Developer forum

Forum » Ecommerce - Standard features » Shipping fee missing on first step after reentering the cart

Shipping fee missing on first step after reentering the cart

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi there,

I ran into a weird scenario. I have a multi-step checkout process where the user selects the shipping fee at step 2. The fee is correctly added to the cart, and is included in the total. However when I reenter the cart, the fee is missing from the total price, but it gets listed correctly in the cart (a Mini cart in the header). On all pages I see this:

Product 1     2000
Shipping fee   100
Total price     2100

On step 1 I see this:

Product 1     2000
Shipping fee   100
Total price     2000

Notice how the fee exists but isn't included in the total price.

It's almost as if the total is calculated before my custom fee provider is executed.

Any ideas?

Imar


Replies

 
Nicolai Høeg Pedersen
Reply

Do you set the price on the order using a notification subscriber?

Version?

And maybe you can mail me a link?

We did make some changes to fee and caching of them in 8.4.1.something, but that should not affect the calculation.

BR Nicolai

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi Nicolai,

No, no subscriber, but a custom ShippingProvider. Versions where I can reproduce ths are 8.4.1.15  and 8.4.1.18.

I'll send you a link and a video demonstrating the problem.

 

Thanks,

Imar

 

You must be logged in to post in the forum