Hello,
I am trying to display the inventory amount on the product display and have it read Sold out if the amount is 0.
Kentico 11
What development Model are you using? Portal Engine or MVC?
How is the product data displayed? Using a Web Part, Widget?
I was able to get the inventory to display on a product in the transformation using <%#ValidationHelper.GetInteger(Eval("SKUAvailableItems"), 0) %> but was having issues with it displays on a sized item. Do you know what I would reference to hide the Inventory on sized items?
Jason,
Check out the out of the box ECommerce transformations on the ECommerce Page Type. They have examples of getting variants and option values.
Please, sign in to be able to submit a new answer.