Public Ticket #2848005

Purchase Lists

Closed
Comments
1 Ticket
Michael started the conversation 5 years ago on August 12, 2021 at 6:39pm

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,762
KingsPlugins replied 5 years ago on August 12, 2021 at 8:52pm

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://b2bkingplugin.com/docs/how-to-add-a-snippet-php-or-js/

Kind regards,

Stefan

Sign In