Public Ticket #3558277

Vendor name in product page

Closed
Comments
2,762
KingsPlugins replied 3 years ago on January 10, 2024 at 8:13am

Hi there,

You can achieve this by adding the following PHP code snippet to your site:

global $marketking_public;
remove_action('woocommerce_product_meta_end', [$marketking_public, 'marketking_show_vendor_product_page']);
add_action('woocommerce_single_product_summary', [$marketking_public, 'marketking_show_vendor_product_page']);

You can replace woocommerce_single_product_summary with any other single product page hook, to choose a specific location. You can find a list of hooks here: https://www.businessbloomer.com/woocommerce-visual-hook-guide-single-product-page/

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/

Kind regards,

Stefan

1
4 Tickets
HEINER replied 3 years ago on February 19, 2024 at 2:37pm

Hello, will there be a way for invoices or shipping labels to appear with the logo and main name of the market? Because now I think that each seller puts their logo on their invoice.

2,762
KingsPlugins replied 3 years ago on February 20, 2024 at 12:58pm

Hi there,

I have added a new hook for this. Starting with the next update of MarketKing Pro, you will be able to use this code snippet to disable the vendor logo option:

add_filter('marketking_use_main_shop_logo','__return_true');

Kind regards,

Stefan

2,762
KingsPlugins replied 3 years ago on February 24, 2024 at 4:14pm

Hi there,

We'd be glad to assist,


Since invoices are a feature of our MarketKing Pro plugin, kindly please share your license key or purchase code for MarketKing Pro with us, as we need that to be able to provide support.

To get your key:

- 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?


Looking forward to your response,


1

Sign In