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

**URL:** <https://forum.litium.com/t/removing-the-sales-validation-productprices-haschanged-validation-in-the-checkout/2542>\
**Category:** Questions\
**Tags:** accelerator, litium-8\
**Created:** [April 14, 2022, 1:55pm UTC](https://forum.litium.com/t/removing-the-sales-validation-productprices-haschanged-validation-in-the-checkout/2542 "2022-04-14T13:55:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johan](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/johan/32/357_2.png) [@Johan](https://forum.litium.com/u/Johan)\
**Post date:** [April 14, 2022, 1:55pm UTC](https://forum.litium.com/t/removing-the-sales-validation-productprices-haschanged-validation-in-the-checkout/2542/1 "2022-04-14T13:55:09Z")

</div>

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 😳

Litium version: 8.1

---

<div class="post-metadata">

**Author:** ![NilsN](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/nilsn/32/302_2.png) [@NilsN](https://forum.litium.com/u/NilsN)\
**Post date:** [April 19, 2022, 7:43am UTC](https://forum.litium.com/t/removing-the-sales-validation-productprices-haschanged-validation-in-the-checkout/2542/2 "2022-04-19T07:43:10Z")

</div>

Can you try ignoring the type? Docs: [Configuration](https://docs.litium.com/documentation/get-started/configuration#plugins)

`Litium.Accelerator.ValidationRules.ProductPricesHasNotChanged`

---

<div class="post-metadata">

**Author:** ![Johan](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/johan/32/357_2.png) [@Johan](https://forum.litium.com/u/Johan)\
**Post date:** [April 19, 2022, 9:14am UTC](https://forum.litium.com/t/removing-the-sales-validation-productprices-haschanged-validation-in-the-checkout/2542/3 "2022-04-19T09:14:11Z")

</div>

Ok, thanks, will try

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [May 17, 2022, 9:14am UTC](https://forum.litium.com/t/removing-the-sales-validation-productprices-haschanged-validation-in-the-checkout/2542/4 "2022-05-17T09:14:48Z")

</div>

Closed on May 17, 2022, 9:14am UTC

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