Carry basket with login (#404)

* Updating Checkout screen to login correctly when checking out

* Cleanup cshtml
This commit is contained in:
Eric Fleming
2020-06-17 21:14:02 -04:00
committed by GitHub
parent 2909132381
commit d8848a96fb

View File

@@ -43,9 +43,8 @@
<div class="row">
</div>
</article> @*<div class="esh-catalog-item col-md-4">
@item.ProductId
</div>*@ }
</article>
}
<div class="container">
<article class="esh-basket-titles esh-basket-titles--clean row">
@@ -60,9 +59,6 @@
<article class="esh-basket-items row">
<section class="esh-basket-item col-xs-7"></section>
<section class="esh-basket-item col-xs-2">
@*<button class="btn esh-basket-checkout" name="name" value="" type="submit">[ Update ]</button>*@
</section>
</article>
</div>
<div class="row">
@@ -75,15 +71,16 @@
asp-page-handler="Update">
[ Update ]
</button>
@{ var data = new Dictionary<string, string>
@{
var data = new Dictionary<string, string>
{
{ Constants.BASKET_ID, Model.BasketModel.Id.ToString() },
}; }
};
}
<input type="submit" asp-page="Checkout"
class="btn esh-basket-checkout"
asp-all-route-data=data
value="[ Checkout ]" name="action" />
</section>
</div>
</div>