Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

Featured Vendor

WCMp Advanced Frontend Manager

Resolved
Viewing 13 reply threads
  • Author
    Posts
    • #115557
      DragNfLy
      Participant

      Hi,

      I would like to display 4 featured Vendors in a row with 4 columns.

      I was hoping to do this manually by adding a single Vendor shortcode in each column but cannot find a shortcode for this. I have tried [wcmp_vendorslist vendor=”34″ per_page=”4″ columns=”4″] but it does not work. Is there a way to display only 1 vendor?

      A better solution would be if there was a way to mark a Vendor as ‘Featured’ and then this would automatically display those Vendors in my Vendors List. Is this possible?

    • #115572

      Hello,

      Thank you for reaching out to us.

      May I know by featured vendors what you mean, can you please explain in detail the entire flow so that you want so that we can guide you accordingly.

    • #115581
      DragNfLy
      Participant

      …by Featured Vendor I mean I would like to mark 4 Vendors as featured for the month and display them on the Home Page. I need to seperate 4 selected vendors from the Vendors List. How can I do that. Similar to marking a product as featured.

    • #115619

      Hello,

      As per your requirement, you have to do some good amount of custom coding at your end.

      Kindly let us know if you need any further assistance.

    • #115646
      DragNfLy
      Participant

      …if marking a vendor as featured is not possible without custom coding then how can I display a single Vendor by the vendor ID?

      I have tried [wcmp_vendorslist vendor=”34″ per_page=”1″ columns=”1″] but it does not work.
      Is there a way to display only 1 vendor?

    • #115719

      At present we have only short code to add the vendor list as you can see from here : https://multivendorx.com/list-of-shortcodes/

      You have to make a short code at your end to add this functionality as mentioned by you.

    • #118465
      Sylvain Lavoie
      Participant

      Hi,
      I need to have 4 stores on our homepage too, just like DragNfLy.

      I you cannot help us with a rapid solution, like create yourself a new shortcode, can you tell me how to create this new shortcode myself?
      What I mean is, I want to know each php files I have to modify.

      I tryed myself, but always something go wrong… and I loosing my mind 😉

      Thank you
      Claire

      Extra information of what I have done:
      I tweaked the vendor_lists.php page to have my 4 featured stores on home page. See: https://maringouinsbleus.com/

      But with this way, I am not able to create an all-stores page… and I need it too.

      If you are able to tell me how to call vendor_lists.php page from all-stores page AND call vendor_lists-home.php from homepage, even if it is without creating a new shortcode: I would be so happy 😀

    • #118524

      @Claire, can you inform us how did you make some vendors as featured vendors?

    • #118532
      Sylvain Lavoie
      Participant

      Hi Moumita,
      I hardcoded the vendor_lists.php, so I call the [wcmp_vendorslist] shortcode in homepage.

      Obviously, the vendor_lists.php is in the child-theme folder to make it works. If I delete my tweaked page, all stores appearing in homepage section… and I want all stores in another page (all-stores.php) and keep the 4 features stores on home page. To do that, I have to know how to create another shortcode OR create another way to make it works for the homepage…

      Claire

    • #118595

      @Claire, our team will look into this. Kindly provide them some time.

    • #118663

      @Claire, First, you have to create a different shortcode like wcmp_vendor_list_new. You can check a reference to create a new shortcode here —- https://developer.wordpress.org/reference/functions/add_shortcode/. You can also check our code as a reference —- https://github.com/wcmarketplace/dc-woocommerce-multi-vendor/blob/master/classes/class-wcmp-shortcode.php#L19

      You mainly try to change on listing part, So just copy every part as it is what we used in the wcmp_vendorlist shortcode. Then change yours. Mostly you have to change the content-vendor.php file ( as per our coding structure ). And please do all your changes in your custom plugin or child theme.

    • #118694
      Sylvain Lavoie
      Participant

      Thank you, I will try it and give you a feedback,
      Kindly
      Claire

    • #118707

      Kindly keep us posted.

    • #122623

      Hi, we haven’t heard back from you for a while. We presume this issue has been fixed.

      Please open another thread if you need any further help.

Viewing 13 reply threads

The topic ‘Featured Vendor’ is closed to new replies.