Link items in cart to product page
This commit is contained in:
parent
fac4a7b31e
commit
65bfb1edde
@ -13,7 +13,9 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr *ngFor="let item of cart; let i = index">
|
<tr *ngFor="let item of cart; let i = index">
|
||||||
<td>{{i + 1}}</td>
|
<td>{{i + 1}}</td>
|
||||||
<td>{{item.item}}</td>
|
<td>
|
||||||
|
<a [routerLink]="['/products', item.item]">{{item.item}}</a>
|
||||||
|
</td>
|
||||||
<td>{{item.quantity}}</td>
|
<td>{{item.quantity}}</td>
|
||||||
<td>{{item.price | currency}}</td>
|
<td>{{item.price | currency}}</td>
|
||||||
<td>
|
<td>
|
||||||
|
Loading…
Reference in New Issue
Block a user