Blog posts by sapna mishra2015-11-30T21:46:27.0000000Z/blogs/sapna-mishra/Optimizely WorldSave regular price and sale price for a given product in cart and purchase order/blogs/sapna-mishra/dates/2015/11/save-regular-price-and-sale-price-for-a-given-product-in-cart-and-purchase-order/2015-11-30T21:46:27.0000000Z<p>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).</p> <p>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.</p> <p>My workaround to achieve the desired result was to comment out the line that updates “ListPrice” in “PopulateVariationInfo” function in ValidateLineItemsActivity.</p> <p><a href="/link/0a7fde6b9fd246a9bdba2e324980f48b.aspx"><img title="ListPrice1" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="ListPrice1" src="/link/fe89475313374d6fbd0dea281b4bd57c.aspx" width="683" height="120" /></a></p> <p>This was you can show the regular price and “You pay” price on the cart and carry it with purchase order.</p>Commerce Manager Customer Contact Edit screen–making system field read-only/Not-Required./blogs/sapna-mishra/dates/2015/11/commerce-manager-customer-contact-edit-screenmaking-system-field-read-onlynot-required/2015-11-20T16:43:00.0000000Z<p>If you have a requirement to make one of the system fields read-only or “Not Required” for customer contact object in the admin->commerce manager –>contact->Edit screen here is how you can achieve it. It is rare requirement but does come along..</p> <p>Navigate to Commerce Manager->Administration->System Settings->Business Foundation:</p> <p>Select the “Contact” object->click. You will see the list of all system fields and meta fields under contact object listed here. On the top there are few tabs.</p> <p>Select “Forms” tab. Click the edit icon in the right most for “Edit Form”. It will open a popup with list of all fields.</p> <p>Select the field you want (single click on the field) and then hit “Edit” icon the header for the list. Another pop up opens with details of the display option for the selected field.</p> <p>Here select the checkbox “Field is Read Only”. And then click “Save”.</p> <p>This will not make the selected field <strong>read only</strong> and <strong>non-required</strong> in the edit screen. </p>