In 9.17, I need to get a specific product from the master product + variantoptionid , and then access its Discontinued state.
Any ideas how this may be acheived?
I am currently using call to
var productService = new Dynamicweb.Ecommerce.Products.ProductService();
var productStatus = productService.GetProductById(productId,variantId,languageId);
and I have ONE product which is set to discontinued
But it returns FALSE for Discontinued on each product.