Developer forum

Forum » Swift » OrderLineItem.cshtml - GetReservedAmount stockLocationId always set to 0

OrderLineItem.cshtml - GetReservedAmount stockLocationId always set to 0

Pedro Meias
Pedro Meias
Reply

Hi,

DW 9.16.3, Swift v1.24.0

We noticed that on template Templates/Designs/Swift/eCom7/CartV2/Step/Helpers/OrderLineItem.cshtml the stocklocationId is always set to zero.

It seems the orderline has a template tag for the stock location id. Shouldn't the value of the template tag be sent instead of 0?

 

Thank you.


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Pedro

This part of the Swift code needs a bit of love. Reserved amount should not be there at all as it hinders people to order the products.

So expect to se a rewrite of this.

BR Nicolai

Votes for this answer: 1

 

You must be logged in to post in the forum