delivery costs on cart page shown only when address is saved
This commit is contained in:
@@ -46,8 +46,10 @@ var CartPage = React.createClass({
|
||||
<div className="col-lg-6 text-right">
|
||||
|
||||
<CartTotal items={this.state.items} itemCounts={this.state.itemCounts} /><br />
|
||||
<span className={this.state.deliveryDestinationValid ? 'shown' : 'hidden'}>
|
||||
<CartTotal deliveryCosts={this.state.deliveryCosts} instantDelivery={this.state.deliveryDestination.get('instant_delivery')}/><br />
|
||||
<CartTotal items={this.state.items} itemCounts={this.state.itemCounts} deliveryCosts={this.state.deliveryCosts} instantDelivery={this.state.deliveryDestination.get('instant_delivery')}/>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user