This topic has 11 replies, 2 voices, and was last updated 3 years, 11 months ago ago by Olga Barlow
Hi
Im using dokan multivendor.
products are not showing ‘sold by’ label.
please help
Hello,
1) Where do you want to display that text (provide screenshot for better understanding)?
2) Provide us with temporary WP Dashboard and FTP access to your site to help you with this.
Regards
Thanks
please check groceryplus.online to see how (sold by -vendor name) are mentioned below every product. also attaching a pic
I am trying to configure your theme at 1.groceryplus.net
Thanks for helping me
Regards
naj
Hello,
IMPORTANT: Use Private content area to add private information http://prntscr.com/s7191h In other case it will be available for all the forum users!
1) WP Dashboard access is incorrect https://gyazo.com/33953368eda35a90bd0bdad1bd57c2a3
2) You provided FTP access to empty directory http://prntscr.com/s7184m
Provide correct information to proceed and check it by yourself before reply back.
Regards
Dear Olga
Thank you so much
Please pardon my lame knowledge. I am grateful for your prompt reply and your help is greatly appreciated
Kindly see the correct information which i have checked now. (uffff I hope it works at your end too)
best regards
naj
Hello,
WP Dashboard is ok now but FTP is still empty https://gyazo.com/33026dd3468d2645fbb98b1c96fcca64
Also, create at least one vendor with products.
Regards
i feel ashamed now. please bear with me. im no IT person
please check
Hello,
It’s ok now. What about vendors? Could you provide me the link to vendor store with products?
Regards
https://1.groceryplus.net/store/mnpiracha/
at the moment its only one store present. ill configure others later
thanks
Dear support
you have been kind enough. Thanks. but I’m kinda running out of time and I understand you might be busy in many requests. SO….
im going back to my old theme. cant wait for the help to reach in more days.
thank you so much for all the help till yet
Ill just put your theme in my draw. Its surely beautiful with many amazing features but Its actually kinda complicated for me. don’t know if ill ever use it
Cheerz and Best Regards
naj
Hello,
We have a lot of requests and some problem with your access caused delay, but it’s not our fault, you gave the incorrect access.
There is no problem to show the product vendor at the shop page and we even created an example on our demo
http://prntscr.com/s7y657
To show it you just need to add the following code to child theme functions.php
add_action( 'woocommerce_after_shop_loop_item_title','sold_by' );
function sold_by(){
global $product;
$seller = get_post_field( 'post_author', $product->get_id());
$author = get_user_by( 'id', $seller );
$vendor = dokan()->vendor->get( $seller );
$store_info = dokan_get_store_info( $author->ID );
if ( !empty( $store_info['store_name'] ) ) { ?>
<span class="details">
<?php printf( 'Sold by: <a href="%s">%s</a>', $vendor->get_shop_url(), $vendor->get_shop_name() ); ?>
</span>
<?php
}
}
You switched to another theme, so I can’t add it for you.
Besides this question is related to Dokan plugin more than to theme because WC Product vendors plugin display product vendor on the stop page by default as you can see at other demo where this plugin is installed https://xstore.8theme.com/demos/jewellery/shop/
But Dokan plugin doesn’t have such option and you have to do this by additional customization.
Regards
You must be logged in to reply to this topic.Log in/Sign up