Hi @dualcube. I can see code like this in the templates:
<?php echo sprintf( __( 'More Products from %1$s', 'dc-woocommerce-multi-vendor' ), $vendor->user_data->display_name );?>
It means that display_name
is used rather than the store name. The former (display name) is configured in the user profile and does not depend on the latter (store name).
To test my guess, I just changed the vendor’s real name to their real First Name and changed the Display Name wordpress setting to use it. As a result, on an individual product page, I can see “Other products by Tania” rather than “Other products by Sozidora”, where Tania is the vendor’s First Name, and Sozidora is the store name.
There are several places both in the plugin script files and in the plugin templates where display_name
is used rather than the store name.
To make it show the store name everywhere, I had to put the store name in the vendor’s real name – this is a workaround. It works, but it makes it impossible to set a real person’s name in their WordPress profile.