This content has been marked as final. Show 7 replies
Can we use here atg converter feature like below?
<dsp:valueof param="CIRelationship.commerceItem.priceInfo.listPrice" converter="currency"/>
Thank you for your response...
but i don't want to change any order amount. just i need to remove '-' sign in front of the amount. actually this is discounted amount, i want to ignore sign after calculation made done.
Can you try using tag converters for the display of the amount?
For details on the number tag converter, refer
Hope this helps.
Keep posting the updates / questions.
Just out of curiosity,
where does this value is storing, is it in sku's list price or any other property.
what is the format your using while saving the price value in sku.
does it like this -104.60 ?
if it's mandatory having the price value(-104.60) in sku's price property.
It has 3 ways to show the value(104.60) in jsp ,
1. writing a own tag converter
2. writing a new droplet, which removes the sign.
3. while saving the price in sku we can have a property descriptor to remove the extra sign out of price and save the desired value(-104.60) in sku.
I'm getting this value from some other property. for this removing the sign is necessary to write a droplet?
writing a droplet is preferable.