• Resolved Caridor

    (@shaar7)


    Hello,

    Kindly I wanna check if possible to make the vendor list to be clickable. what I mean when you go to the store list which contains all vendors profiles. there is a small arrow under each one vendor image once you press it takes you to the vendor profile or page. I would like to make the image be clickable instead of the arrow.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @shaar7,

    You are unable to make the image clickable by default. In order to achieve the requirement, you will need to link the store URL to the banner image. It will require custom coding.

    The file location that may require modification is :
    wp-content/plugins/dokan-lite/templates/store-lists-loop.php

    I hope this helps ??

    Thread Starter Caridor

    (@shaar7)

    Hi @roshni07

    thanks for reply.

    i tried to add do action as you see in the code below but not working can you advice please:

    <div class="store-header">
     <div class="store-banner">
    
    <a>">
    <img />">
       </a>
     </div>
     <?php do_action( 'dokan_seller_listing_after_store_banner', $seller, $store_info ); ?>
     </div>
    • This reply was modified 4 years, 6 months ago by Caridor.
    • This reply was modified 4 years, 6 months ago by Caridor.
    • This reply was modified 4 years, 6 months ago by Steven Stern (sterndata).

    Hello @shaar7 ,

    We have already provided the guideline needed to accomplish the result. Now, depending on your requirement you have to make the necessary changes. You can take a professional developer’s help if you are not comfortable with the codes.

    Basically you will take the store_url and make a link out of that then add the link to wrap the whole area you want to make clickable. The approach will be like this –

    <a href="<?php echo $store_url; ?>" ?> ... the area you want to make clickable </a>

    As we explained, we will not be able to provide the exact solution you need here due to our support policy.

    Thank you ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Vendor list make it clickable’ is closed to new replies.