Okay
  Public Ticket #2848005
Purchase Lists
Closed

Comments

  • Michael started the conversation

    Hello,

    Is it possible to have the quantity field in the Purchase Lists default to 0 instead of 1?  I'd prefer it if our customers didn't have to first 0 everything out before they added the quantities to what they intend to purchase.

    We're using the Purchase List as an order guide for our customers, they rarely order 1 of everything on the list each time.

    Thank you.

  •  2,214
    WebWizards replied

    Hi Michael,

    Thank you for getting in touch,


    There's no setting for that, but you can add a JavaScript code snippet to the site:

    jQuery(document).ready(function(){
        jQuery('.b2bking_bulkorder_form_container_content_line_qty').val(0).trigger("input");
    });

    The above snippet changes all values to 0 when the purchase list page loads. I think it should achieve what you want.

    To add a JS snippet we have a guide here: https://woocommerce-b2b-plugin.com/docs/how-to-add-a-snippet-php-or-js/


    Kind regards,

    Stefan