Carry basket with login (#404)
* Updating Checkout screen to login correctly when checking out * Cleanup cshtml
This commit is contained in:
@@ -43,9 +43,8 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</article> @*<div class="esh-catalog-item col-md-4">
|
</article>
|
||||||
@item.ProductId
|
}
|
||||||
</div>*@ }
|
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<article class="esh-basket-titles esh-basket-titles--clean row">
|
<article class="esh-basket-titles esh-basket-titles--clean row">
|
||||||
@@ -60,9 +59,6 @@
|
|||||||
|
|
||||||
<article class="esh-basket-items row">
|
<article class="esh-basket-items row">
|
||||||
<section class="esh-basket-item col-xs-7"></section>
|
<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>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@@ -75,15 +71,16 @@
|
|||||||
asp-page-handler="Update">
|
asp-page-handler="Update">
|
||||||
[ Update ]
|
[ Update ]
|
||||||
</button>
|
</button>
|
||||||
@{ var data = new Dictionary<string, string>
|
@{
|
||||||
|
var data = new Dictionary<string, string>
|
||||||
{
|
{
|
||||||
{ Constants.BASKET_ID, Model.BasketModel.Id.ToString() },
|
{ Constants.BASKET_ID, Model.BasketModel.Id.ToString() },
|
||||||
}; }
|
};
|
||||||
|
}
|
||||||
<input type="submit" asp-page="Checkout"
|
<input type="submit" asp-page="Checkout"
|
||||||
class="btn esh-basket-checkout"
|
class="btn esh-basket-checkout"
|
||||||
|
asp-all-route-data=data
|
||||||
value="[ Checkout ]" name="action" />
|
value="[ Checkout ]" name="action" />
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user