I'm on 2.3, so this may be different from your version.
You will need to change a few things about _ProductBox.cshtml.
, , _ProductVariantAddToCart.cshtml.
@if (!Model.DisableBuyButton || !Model.DisableWishlistButton)
{
@Html.LabelFor(model => model.EnteredQuantity)<text>:</text>
@Html.TextBoxFor(model => model.EnteredQuantity, new { style = "Width: 40px;" })
}
, _ProductBox.cshtml JS GET AddControlCard ControlCartCart. , _ProductVariantAddToCart.cshtml AddToCartProduct Catalog. , .
, AddProductToCart ShoppingCartController, JS , .