|
|
|
@ -18,14 +18,14 @@ |
|
|
|
<td>{{c.productname}}</td> |
|
|
|
<td>{{c.productprice}}</td> |
|
|
|
<td> |
|
|
|
<button class="deleteButton" (click)="removeItem(c)">Delete</button> |
|
|
|
<button class="CartButtons" (click)="removeItem(c)">Delete</button> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td colspan="4"></td> |
|
|
|
<td><button (click)=emptyCart()>Empty Cart</button></td> |
|
|
|
<td><button routerLink='/'>Shop More</button></td> |
|
|
|
<td><button>Checkout</button></td> |
|
|
|
<td><button (click)=emptyCart() class="CartButtons">Empty Cart</button></td> |
|
|
|
<td><button routerLink='/home' class="CartButtons">Shop More</button></td> |
|
|
|
<td><button class="CartButtons">Checkout</button></td> |
|
|
|
<td><strong>Grand Total : Rs.{{grandTotal}}</strong></td> |
|
|
|
</tr> |
|
|
|
</tbody> |
|
|
|
@ -46,7 +46,7 @@ |
|
|
|
alt=""> |
|
|
|
<h4>Your cart is empty!</h4> |
|
|
|
<h6>Add item to it now</h6> |
|
|
|
<button class="shopNow" routerLink='/'>Shop Now</button> |
|
|
|
<button class="shopNow" routerLink='/home'>Shop Now</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</ng-container> |