Try our conversational search powered by Generative AI!

Price UI in Back end Admin is not refreshing in Custom Price Service .

Vote:
 

Hi,

I have implemented custom price. Now when I am adding new price the price immediately is not refreshing in UI.

I have called the

public IList Save(IEnumerable priceValues)

for saving the data .Please help I can’t understand where is the issue.

#180798
Jul 26, 2017 15:10
Vote:
 

http://world.episerver.com/documentation/developer-guides/commerce/pricing/

Values edited via the optimized service are immediately incorporated into the detail service. If a custom optimized service is implemented, and it does not have its own mechanism for synchronizing with a custom detail service, the detail service must call IPriceDetailService.ReplicatePriceServiceChanges on edits to update the optimized data store. When you replicate optimized prices into the detail service, values for the edited catalog entries are replaced in the detail service, which may eliminate redundant values or create less intuitive data when price values are split. For this reason, use the price detail service as the service to use for editing, unless this behavior is specifically desired.

#180803
Jul 26, 2017 16:51
* 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.