Okay
  Public Ticket #3733988
Adding SKU and Stock Level columns to Bulk Order form
Closed

Comments

  •  1
    Jaz started the conversation

    Hello there,

    I need some guidance on adding the SKU and Stock Level columns to the Bulk Order form. I saw in the documentation that this could be achieved by using a shortcode, but I am not able to find specific details on how to do this step by step. 

    Please help. Thanks.

    Attached files:  inlude-sku-columns.png

  •  2,212
    WebWizards replied

    Hi there,

    (1) One option to display it with SKU / Stock, is to add the order form to a new page.

    This is done by simply creating a new page and adding the shortcode [b2bking_bulkorder theme=cream sku=yes stock=yes] to that page, then saving the page.

     

    (2) How are you currently displaying the order form? is it being displayed on the My Account page?

    If so, you can change it on the my account page, by adding this PHP snippet to your site:

    add_filter('b2bking_my_account_bulkorder_shortcode', function($shortcode){
    	return '[b2bking_bulkorder theme=cream sku=yes stock=yes]';
    }, 10, 1);

     

    This snippet can be added to functions.php, or by following our guide here: https://woocommerce-b2b-plugin.com/docs/how-to-add-a-snippet-php-or-js/

     

    Kind regards,

    Stefan