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

sapna mishra
Nov 30, 2015
  2049
(1 votes)

Save regular price and sale price for a given product in cart and purchase order

Having both the regular price of a product and the sale price (or customer specific discounted price) saved with the cart and purchase order. This can be handy for some reports on purchase orders or just to compare the savings per purchase order (without actual promotions).

Episerver updates “ListPrice” and “PlacedPrice” for a given products in the ValidateLineItemsActivity. Hence the ListPrice and PlacePrice is always same gets updated anytime you call CartPrepare, CartCheckout workflows.

My workaround to achieve the desired result was to comment out the line that updates “ListPrice” in “PopulateVariationInfo” function in ValidateLineItemsActivity.

ListPrice1

This was you can show the regular price and “You pay” price on the cart and carry it with purchase order.

Nov 30, 2015

Comments

Please login to comment.
Latest blogs
Optimizely SaaS CMS + Coveo Search Page

Short on time but need a listing feature with filters, pagination, and sorting? Create a fully functional Coveo-powered search page driven by data...

Damian Smutek | Nov 21, 2024 | Syndicated blog

Optimizely SaaS CMS DAM Picker (Interim)

Simplify your Optimizely SaaS CMS workflow with the Interim DAM Picker Chrome extension. Seamlessly integrate your DAM system, streamlining asset...

Andy Blyth | Nov 21, 2024 | Syndicated blog

Optimizely CMS Roadmap

Explore Optimizely CMS's latest roadmap, packed with developer-focused updates. From SaaS speed to Visual Builder enhancements, developer tooling...

Andy Blyth | Nov 21, 2024 | Syndicated blog

Set Default Culture in Optimizely CMS 12

Take control over culture-specific operations like date and time formatting.

Tomas Hensrud Gulla | Nov 15, 2024 | Syndicated blog

I'm running Optimizely CMS on .NET 9!

It works 🎉

Tomas Hensrud Gulla | Nov 12, 2024 | Syndicated blog

Recraft's image generation with AI-Assistant for Optimizely

Recraft V3 model is outperforming all other models in the image generation space and we are happy to share: Recraft's new model is now available fo...

Luc Gosso (MVP) | Nov 8, 2024 | Syndicated blog