Comments 2Ryan started the conversationNovember 8, 2021 at 7:28pmHello, when exporting a purchase list, it has 'b2bking' as the prefix of the file name / table title. How can we rename to be client store name? For example 'nacsmart.com_purchase_list_19788.csv' rather than the title of the generated one attached.Thank you. 2,218WebWizards repliedNovember 8, 2021 at 9:36pmHi Ryan,Yes, you can do this by adding the following PHP snippet to your site: add_filter('b2bking_purchase_list_file_name', function($name){ $name = 'nacsmart.com_purchase_list'; return $name; }, 10, 1); You can add this code to functions.php, or by following the guide here:https://woocommerce-b2b-plugin.com/docs/how-to-add-a-snippet-php-or-js/Kind regards,Stefan 2Ryan repliedNovember 9, 2021 at 2:55amAwesome - works great - thank you.1 Like Sign in to reply ...
Hello, when exporting a purchase list, it has 'b2bking' as the prefix of the file name / table title. How can we rename to be client store name?
For example 'nacsmart.com_purchase_list_19788.csv' rather than the title of the generated one attached.
Thank you.
Hi Ryan,
Yes, you can do this by adding the following PHP snippet to your site:
You can add this code to functions.php, or by following the guide here:
https://woocommerce-b2b-plugin.com/docs/how-to-add-a-snippet-php-or-js/
Kind regards,
Stefan
Awesome - works great - thank you.