<% if(!!finalDiscountedPrice === true ){ %>
was $<%= retailPrice %>
<% if(typeof viewSalesPriceInCart !== 'undefined' && viewSalesPriceInCart === false){ %>
$<%= finalDiscountedPrice %>
<% }%>
<% } else if(priceVO.ECPDDiscountAvailable === true){ %>
was $<%= priceVO.retailPrice %>
$<%= promotionVO.ECPDDiscountAmount %>
<% } else if(price !== null){ %>
$<%= price %>
<% } %>
<% if(typeof viewSalesPriceInCart !== 'undefined' && viewSalesPriceInCart === true){ %>
View Sale Price in Cart
<% } %>