Posted on 18/02/2020 10:04:07
Hi Anders,
I have looked into this, but was unable to reproduce the issue that you describe.
When using the following custom provider then the default price provider is not called.
public class ExclusivePriceProvider : PriceProvider
{
public override bool HandlePricesExclusively => true;
public override PriceRaw FindPrice(Product product, double quantity, string variantId, Currency currency, string unitId, User user, double quantityAllVariants, string shopId)
{
if(string.Equals(product.Number, "PriceNull"))
return null;
return new PriceRaw(1000, currency);
}
}
This works as expected.
Can you provide more details about the issue? Where do you see wrong prices?
How is your price provider implemented? Is it never being called?
Best regards,
Morten