fixes for inconsistent cart state
This commit is contained in:
@@ -32,7 +32,6 @@ var CartPage = React.createClass({
|
||||
<td>
|
||||
<img style={{maxWidth: '90px', maxHeight: '90px'}} src={firstImage.url} alt="product image"/>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<p> {i.get('brand').name}</p>
|
||||
<p>
|
||||
@@ -42,12 +41,9 @@ var CartPage = React.createClass({
|
||||
<td>{ Globals.FormatCurrency(price) }</td>
|
||||
<td>
|
||||
<input style={{textAlign: 'center'}} className="form-control qty-box" type='text' value={count}></input>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
{ Globals.FormatCurrency(count * price) }
|
||||
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<button onClick={self._onTakeItemOut.bind(self, i.get('id'))}>Ukloni iz korpe</button>
|
||||
|
||||
Reference in New Issue
Block a user