November Happy Hour will be moved to Thursday December 5th.

Validation problem in Order Management view

Vote:
 

Hi,

In our solution prices is located in a custom table and not added to the variations due to each customer having specific pricing, we are talking 10k+ prices pr variation.

Now after upgrade there are a new view in the CMS UI named "Order management", when I click "Cart" and then on an open cart, I get an error:

“The product xxx does not have a valid price for the selected currency and was removed from your cart.”


As mentioned above we are not interested in adding 10k+ prices pr varition as we have our own implementation of getting and inserting prices pr customer/variation in a custom table.

Is it possible to disable "Cart" button in Order Management? Or override the validation that is ran when an admin open a cart in the Order Management view?

Versions: Commerce 13.25.0 and CMS 11.20.0

#229743
Edited, Oct 22, 2020 11:59
Vote:
 

Do you have your implementation of IPriceService? If yes (which is most likely), you might want to implement 

GetPrices(MarketId market, DateTime validOn, CatalogKey catalogKey, PriceFilter filter);

when filer.CustomerPricing has something. So if there is a customer specific price, it should return it and the validation service will no longer remove the variation from the cart 

#229747
Oct 22, 2020 14:22
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.