You are talking about B2B, but you don't even have simpliest support of "quantity" on category listing...

10 months ago
There is no way to allow customer to put product quantity on the category page... Which is very bad...
10 months ago
You can do it by small customization in _ProductBox.cshtml. Update your code as below.

<input type="number" id="[email protected]" value="1" >
<input type="button" value="@(addToCartText)" class="button-2 product-box-add-to-cart-button" onclick="[email protected](Model.Id)()" />

<script>
    function [email protected](Model.Id)() {
        var qty = $('#[email protected](Model.Id)').val();
        var url = "/addproducttocart/catalog/@(Model.Id)/@shoppingCartTypeId/" + qty;
        AjaxCart.addproducttocart_catalog(url);
        return false;
    }
</script>


Screenshots:


10 months ago
zaf wrote:
There is no way to allow customer to put product quantity on the category page...

Is it a specification of B2B site? I don't think so.
10 months ago
mhsjaber wrote:
You can do it by small customization in _ProductBox.cshtml. Update your code as below.

<input type="number" id="[email protected]" value="1" >
<input type="button" value="@(addToCartText)" class="button-2 product-box-add-to-cart-button" onclick="[email protected](Model.Id)()" />

<script>
    function [email protected](Model.Id)() {
        var qty = $('#[email protected](Model.Id)').val();
        var url = "/addproducttocart/catalog/@(Model.Id)/@shoppingCartTypeId/" + qty;
        AjaxCart.addproducttocart_catalog(url);
        return false;
    }
</script>



Works perfect! Thank you! :)