Every marketplace owner always looks for making their website more user-friendly. They want to save their customer’s time.
I am getting the below question from many users to add vendor name with Store URL on the product thumbnail:
I want to display the vendor’s name alongside the Product name and price on the shop page (the thumbnails of products). Can you help?
How to add vendor name on the product thumbnail?
If you are using Dokan plugin and if You can easily add the vendor name with the Store URL on the product thumbnail by adding some custom codes in your child theme. On the thumbnail, it can be shown like below-
Now, if you click on the vendor name then it will redirect you to the vendor store page. If you are looking for the same thing then add the below code in your child theme’s functions.php file –
I believe the above code snippet will help you and if you need to modify anything then you can change it as per your requirement.
If you need to show store name instead of vendor name then you have to use below codes and do not copy the first line and the last line with <?php and ?>