How do I prevent the prices for items to appear on the CSV file, when a user downloads a purchase list.
Or
Remove the option to download the list all together.
How do I prevent the prices for items to appear on the CSV file, when a user downloads a purchase list.
Or
Remove the option to download the list all together.
Hi Mo,
It is possible to remove the Price column, by adding the following PHP code snippet to your site:
add_filter('b2bking_list_download_columns_header', function($header){
unset($header[3]);
return $header;
}, 10, 1);
add_filter('b2bking_list_download_columns_items', function($columns, $item){
unset($columns[3]);
return $columns;
}, 10, 2);
This snippet can be added to functions.php, or by following our guide here: https://b2bkingplugin.com/docs/how-to-add-a-snippet-php-or-js/
Kind regards,
Stefan