Product does not show the "'sold by …… vendor'

This topic has 12 replies, 1 voice, and was last updated 1 years, 3 months ago ago by Andrew Mitchell

  • Avatar: mnpiracha
    mnpiracha
    Participant
    April 27, 2020 at 19:28

    Hi
    Im using dokan multivendor.
    products are not showing ‘sold by’ label.
    please help

    11 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    April 27, 2020 at 21:12

    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

    Avatar: mnpiracha
    mnpiracha
    Participant
    April 27, 2020 at 21:41

    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

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    April 27, 2020 at 22:59

    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

    Avatar: mnpiracha
    mnpiracha
    Participant
    April 28, 2020 at 00:19

    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

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    April 28, 2020 at 17:14

    Hello,

    WP Dashboard is ok now but FTP is still empty https://gyazo.com/33026dd3468d2645fbb98b1c96fcca64
    Also, create at least one vendor with products.

    Regards

    Avatar: mnpiracha
    mnpiracha
    Participant
    April 28, 2020 at 17:55

    i feel ashamed now. please bear with me. im no IT person

    please check

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    April 28, 2020 at 17:59

    Hello,

    It’s ok now. What about vendors? Could you provide me the link to vendor store with products?

    Regards

    Avatar: mnpiracha
    mnpiracha
    Participant
    April 28, 2020 at 18:20

    https://1.groceryplus.net/store/mnpiracha/

    at the moment its only one store present. ill configure others later

    thanks

    Avatar: mnpiracha
    mnpiracha
    Participant
    April 28, 2020 at 21:17

    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

    Avatar: Olga Barlow
    Olga Barlow
    Participant
    April 29, 2020 at 12:17

    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

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    August 29, 2024 at 08:08

    Dear mnpiracha,

    We trust our theme is enhancing your experience. Taking a brief moment to rate it with a glowing 5 stars on ThemeForest would be immensely appreciated. Your feedback holds significant value for us.

    Click here to rate now: https://themeforest.net/downloads

    Thank you sincerely for your ongoing support!

    Best Regards,
    The 8Theme Team

  • Viewing 12 results - 1 through 12 (of 12 total)

The issue related to '‘Product does not show the "'sold by …… vendor'’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.