Hi everyone,
This is my ISupportPriceInfo Price provider implementation:
public class PriceProvider : Dynamicweb.eCommerce.Prices.PriceProvider, ISupportPriceInfo { public PriceInfo FindPriceInfo(Product Product, double Quantity, string VariantID, International.Currency Currency, string UnitID, Dynamicweb.Frontend.Extranet User) { Helpers.ErrorMessage("FindPriceInfo id: " + Product.ID); return null; } }
Question is: When exactly it is beying invoked.
Because For some reason, If I am trying to open Single Product page (PROD42 in this case), Feks: /Products.aspx?ProductID=PROD42
Than In the log message, I can see that method was invoked not only for PROD42, but for a bunch of other unrelated products.
Why?
Thanks in advance :)
P.S. Before we had ISupportPriceInfo (the old Price provider so to speak) We had the same issue, that it called a bunch of other Products, when that was neccesery. To be more specific when you are actually oppening a single product page.
/Dmitrij