added delivery costs to total / added ribica logo just for fun / added validation check when confirming delivery
This commit is contained in:
@@ -38,7 +38,7 @@ var CartPage = React.createClass({
|
||||
console.log("bla :" , this.state.items.length);
|
||||
var cartTotal = (
|
||||
<div className="row cart-total">
|
||||
<CartTotal items={this.state.items} itemCounts={this.state.itemCounts} />
|
||||
<CartTotal items={this.state.items} itemCounts={this.state.itemCounts} deliveryCosts={this.state.deliveryCosts}/>
|
||||
<div className="col-md-1 span1">
|
||||
<button className="btn btn-warning" onClick={this._onOrderClick}>Izgleda OK</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user