Comments Joel Nnamdi Abarra started the conversationMarch 9, 2023 at 11:04amIs it possible to hide vendor information generally from customers? How can it be done? Is there a documentation? 2,218WebWizards repliedMarch 9, 2023 at 12:18pmHello Joel,Thank you for getting in touch,Do you mean that you would like to hide who is the vendor of a product? It can be done with some code snippets.You can add the following PHP code snippet to your site: add_filter('marketking_show_vendor_product_page','__return_false'); global $marketking_public; remove_filter( 'woocommerce_get_item_data', [$marketking_public,'marketking_show_vendor_cart'], 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/Kind regards,Stefan1 LikeJoel Nnamdi Abarra repliedMarch 9, 2023 at 4:11pmDoes this hide the vendor information globally in places like the cart, customer's order page etc? This is what I actually need. 2,218WebWizards repliedMarch 9, 2023 at 4:30pmThat should hide the vendor on the cart page and on the product page.Actually you can replace the snippet with this: add_filter('marketking_show_vendor_product_page','__return_false'); global $marketking_public; remove_filter( 'woocommerce_get_item_data', [$marketking_public,'marketking_show_vendor_cart'], 10, 2 ); remove_filter( 'woocommerce_my_account_my_orders_columns', array($marketking_public, 'marketking_orders_vendor_column') ); remove_action( 'woocommerce_my_account_my_orders_column_order-vendor', array($marketking_public, 'marketking_orders_vendor_content') ); This will also remove the vendor column on the My Account -> Orders page.If you see the vendor anywhere else, let us know and we can assist to hide or remove that.1 LikeJoel Nnamdi Abarra repliedAugust 14, 2023 at 10:46amThe vendor information still shows on the cart and orders page. How do I get rid of it? 2,218WebWizards repliedAugust 14, 2023 at 8:31pmHi there,Can you please share a screenshot of that (cart page), so we can better understand the situation?Are you using only MarketKing Core, or also using our MarketKing Pro plugin?Kind regards,StefanJoel Nnamdi Abarra repliedAugust 15, 2023 at 6:03amI'm using the Marketking core and pro plugin.The Vendor information shows on the cart, Orders page and the Mini Cart.I think this solution should also be added to your next update. It's very important.Joel Nnamdi Abarra repliedAugust 15, 2023 at 7:26amHere are the screen shots.Attached files: Web capture_15-8-2023_6585.jpeg Web capture_15-8-2023_8267_.jpeg 2,218WebWizards repliedAugust 15, 2023 at 12:04pmThank you for clarifying,We would like to assist you to resolve this,Since you are using MarketKing Pro, kindly please provide us with your license key for the pro plugin as we need to add that to our database:- If you purchased on KingsPlugins.com - Where is my KingsPlugins license key? - If you purchased on CodeCanyon (Envato/ThemeForest): Where is my Envato purchase code?Kind regards,Stefan Sign in to reply ...
Is it possible to hide vendor information generally from customers? How can it be done? Is there a documentation?
Hello Joel,
Thank you for getting in touch,
Do you mean that you would like to hide who is the vendor of a product?
It can be done with some code snippets.
You can add 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/
Kind regards,
Stefan
Does this hide the vendor information globally in places like the cart, customer's order page etc? This is what I actually need.
That should hide the vendor on the cart page and on the product page.
Actually you can replace the snippet with this:
This will also remove the vendor column on the My Account -> Orders page.
If you see the vendor anywhere else, let us know and we can assist to hide or remove that.
The vendor information still shows on the cart and orders page. How do I get rid of it?
Hi there,
Can you please share a screenshot of that (cart page), so we can better understand the situation?
Are you using only MarketKing Core, or also using our MarketKing Pro plugin?
Kind regards,
Stefan
I'm using the Marketking core and pro plugin.
The Vendor information shows on the cart, Orders page and the Mini Cart.
I think this solution should also be added to your next update. It's very important.
Here are the screen shots.
Attached files: Web capture_15-8-2023_6585.jpeg
Web capture_15-8-2023_8267_.jpeg
Thank you for clarifying,
We would like to assist you to resolve this,
Since you are using MarketKing Pro, kindly please provide us with your license key for the pro plugin as we need to add that to our database:
- If you purchased on KingsPlugins.com - Where is my KingsPlugins license key?
- If you purchased on CodeCanyon (Envato/ThemeForest): Where is my Envato purchase code?
Kind regards,
Stefan