Link items in cart to product page

This commit is contained in:
Zakary Timson 2018-07-22 11:54:02 -04:00
parent fac4a7b31e
commit 65bfb1edde

View File

@ -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>