
We want to display the product name and SKU on separate lines. Is it possible?
like this...
Q1000 32GB 2CH 2K Front & 2K Rear Wi-Fi Bluetooth
(TW-Q1000D32CH (888622016957)
X800 32GB 1CH 2K Front
(TW-X800MU32C (888622017800)

like this...
Q1000 32GB 2CH 2K Front & 2K Rear Wi-Fi Bluetooth
(TW-Q1000D32CH (888622016957)
X800 32GB 1CH 2K Front
(TW-X800MU32C (888622017800)
Hi there,
I believe you can achieve that by adding the following PHP code snippet to your site:
add_filter('b2bking_bulkorder_cream_search_name_display', function($name, $product){
$sku = $product->get_sku();
if (empty($sku)){
$sku = '#'.$product->get_id();
}
return $product->get_name().'<br>('.$sku.')';
}, 10, 2);
A PHP 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/
Let me know if that can solve it for you,
Kind regards,
Stefan