Hello Sitecore Lovers !!!! Today i will talk little about sitecore commerce OOTB component "Product List", if you have used existing storefront site and observe the list, it looks something like below So far so good, now i will talk about the actual issue we run into Problem Most of the storefront OOTB component works on a product level, but in our case we needed prices from a variant and not from a product , Sitecore commerce has a pricing manager but it was always returning NULL for variant prices and was only returning prices for a product and not variant underneath it. Details Now because we knew that this component is using ProductListRepository.cs and if we override it, we could see what pricing logic is written and we can tweak it to get the variant price, but before that we wanted to find why it is not considering variants and only considering a product, Logically it should also fetch its variant prices too So i started digging by looking into Product...
/* The only purpose behind the existence of this blog is to share as much as new technological things (which i think is new) */