Removing the "sales.validation.productprices.haschanged" validation in the checkout

Hi

How can I remove the validation for changed prices (“sales.validation.productprices.haschanged”) when placing an order? I have tried to remove the file Litium.Accelerator/ValidationRules/ProductPricesHasNotChanged.cs or commenting out this line in that file:
result.AddError(“Cart”, “sales.validation.productprices.haschanged”.AsWebsiteText());

But I still get the error if the prices have changed :flushed:

Litium version: 8.1

Can you try ignoring the type? Docs: Configuration

Litium.Accelerator.ValidationRules.ProductPricesHasNotChanged

Ok, thanks, will try

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.