Comments 3SOHEE started the conversationFebruary 26, 2024 at 7:31pmWe 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) 2,217WebWizards repliedFebruary 28, 2024 at 12:18pmHi 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://woocommerce-b2b-plugin.com/docs/how-to-add-a-snippet-php-or-js/Let me know if that can solve it for you,Kind regards,Stefan 3SOHEE repliedFebruary 28, 2024 at 4:52pmgood thanks1 Like Sign in to reply ...
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:
A PHP 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/
Let me know if that can solve it for you,
Kind regards,
Stefan
good thanks