price on item page is now with two decimals

This commit is contained in:
Senad Uka
2015-06-13 03:28:16 +02:00
parent 771a71b42f
commit c27e08a682
5 changed files with 12 additions and 6 deletions

View File

@@ -33,8 +33,8 @@ var SingleItem = React.createClass({
<div className="col-lg-3 col-md-3 col-sm-4 col-xs-6" onClick={itemClick}>
<div className="productbox">
<img className="img-responsive" src={firstImage.resized_url} alt="product image" />
<div style={{height: "110px"}}>
<p> <span className="text-uppercase">{ this.props.item.get('brand') ? this.props.item.get('brand').name : '' }</span>
<div style={{height: "110px"}} className="item_name_and_price">
<p><span className="text-uppercase">{ this.props.item.get('brand') ? this.props.item.get('brand').name : '' }</span>
<br /><span className="text-capitalize">{ this.props.item.get('name') }</span></p>
<h4>{ Globals.FormatCurrency(this.props.item.get('list_price')) }</h4>
</div>
@@ -42,7 +42,7 @@ var SingleItem = React.createClass({
</div>
);
}
},
},
itemClick: function(e) {
NavigationActions.goToItemDetails(this.props.item);