Kentico CMS 7.0 E-commerce Guide

Modifying the Shopping cart preview text

Modifying the Shopping cart preview text

Previous topic Next topic Mail us feedback on this topic!  

Modifying the Shopping cart preview text

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

If you need to modify text in the shopping cart preview...

 

ecommerceguide_clip0628

 

...navigate to CMS Desk -> Content and choose the master page (Ecommerce site) from the content tree. Switch to Edit -> Design and edit the Shopping Cart Preview web part.

 

ecommerceguide_clip0629

 

Specifically, you need to modify the Total price title property of this web part. Change the property values using the Edit value dialog as required and confirm the changes.

 

{% GetAmountText(ECommerceContext.CurrentShoppingCart.TotalUnits, "item ", "items ") + ", Total price: " + FormatPrice(ECommerceContext.CurrentShoppingCart.TotalItemsPrice)#%}

 

ecommerceguide_clip0631

 

If you now view the given page on the live website, you can see that the text in the shopping cart preview has changed and corresponds to the current values of the Total price title property.

 

ecommerceguide_clip0632