Developer forum

Forum » Ecommerce - Standard features » "Ecom:Product.AvailableAmount" tag not calculating right amount

"Ecom:Product.AvailableAmount" tag not calculating right amount

Mafalda Correa
Mafalda Correa
Reply

Hi,

I've encountered an issue with the AvailableAmount tag. It works well when you've added the product to the Cart, reflecting Stock - AmountAdded.

However, after you order the product, Stock decreases by the number of items bought, but AvailableAmount decreases by twice the number of items bought.

After purchasing 5 items, Available Amount decreases by 10.

See the video below where I output the Stock and Available Amount tags and then go through the checkout process:

https://www.screencast.com/t/zpbbqjTN


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply
This post has been marked as an answer

Hi,

The issue is reproduced in fact on last DW9.8.4 , I see  Ecom:Product.ReservedAmount tag is failed after processing as well. So, it's now bugged by TFS 78526 has been submitted. Thanks for observing.

BR, Oleg QA

Votes for this answer: 1
 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Mafalda

The problem regarding #78526 "Ecom:Product.ReservedAmount and Ecom:Product.AvailableAmoaunt tags calculate" has now been resolved in Dynamicweb version 9.8.6

To upgrade please choose this version from download:

http://doc.dynamicweb.com/releases-and-downloads/releases

Let me know if you need any more help regarding this

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

You must be logged in to post in the forum