Developer forum

Forum » Feature requests » Extra tags for price fields

Extra tags for price fields


Reply

Hi,

When displaying a productlist you can display the price of each product using:

 

<!--@Ecom:Product.Price-->

 

The price contains comma seperated values for example: € 0,00 or € 25,45.

 

The request is to get the value before and behind the comma in seperate

 

Dynamicweb tags such as:

 

<!--@Ecom:Product.Price.BeforeComma-->

<!--@Ecom:Product.Price.AfterComma-->

 

Would be great if this feature is in the following release.

 

Kind Regards,

Emil


Replies

 
Reply

you can string.sub(',') with javascript and get the result u want if the tag hasent been made yet :)

 
Reply
Yes that's true.

But solving this by using clientside scripting is not a perfect solution. ;-)