Developer forum

Forum » Development » A thought about VariantStockCombinations

A thought about VariantStockCombinations

Anders Ebdrup
Reply

Hi Dynamicweb,

 

I have seen the new loop; VariantStockCombinations, which is great news for improving performance of the variant handling of Dynamicweb! :-)
For now only product stock level is available, but I hope that it can be possible to add the available amount to the loop as well, so the right handling of reserved products can be taken?

 

Best regards, Anders


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Anders

Yes, it offers great performance compared to VariantCombinations loop.

Not sure I understand though - Ecom:VariantStockCombination.Stock tag should contain the amount of products in stock or what am I misunderstanding?

BR Nicolai

 
Anders Ebdrup
Reply

Hi Nicolai,

 

Yes, but the item can be reserved if another user have the current item in the cart...

 

Best regards, Anders

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

ok.

I've added Ecom:VariantStockCombination.ReservedAmount and Ecom:VariantStockCombination.AvailableAmount tags to Ecom:VariantStockCombination loop. TFS#20993, due in 8.8

We have to remember though, that this is a loop made for performance reasons, and we should be careful about what is being added to it.

BR Nicolai

Votes for this answer: 1

 

You must be logged in to post in the forum