WCMp Advanced Frontend Manager
Tagged: Featured Vendor List
-
AuthorPosts
-
-
February 12, 2021 at 4:25 PM #115557DragNfLyParticipant
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?
-
February 12, 2021 at 6:33 PM #115572MVX Support NinjaKeymaster
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.
-
February 12, 2021 at 7:16 PM #115581DragNfLyParticipant
…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.
-
February 13, 2021 at 6:18 PM #115619MVX Support NinjaKeymaster
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.
-
February 14, 2021 at 12:04 AM #115646DragNfLyParticipant
…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? -
February 15, 2021 at 5:21 PM #115719MVX Support NinjaKeymaster
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.
-
March 29, 2021 at 9:45 PM #118465Sylvain LavoieParticipant
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
ClaireExtra 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 😀
-
March 30, 2021 at 7:53 PM #118524NerdySupportExpert MoumitaKeymaster
@Claire, can you inform us how did you make some vendors as featured vendors?
-
March 31, 2021 at 12:17 AM #118532Sylvain LavoieParticipant
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
-
March 31, 2021 at 8:49 PM #118595NerdySupportExpert MoumitaKeymaster
@Claire, our team will look into this. Kindly provide them some time.
-
April 1, 2021 at 7:12 PM #118663Raju The Cool GuyKeymaster
@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.
-
April 1, 2021 at 10:38 PM #118694Sylvain LavoieParticipant
Thank you, I will try it and give you a feedback,
Kindly
Claire -
April 2, 2021 at 10:23 AM #118707MVX Support NinjaKeymaster
Kindly keep us posted.
-
June 4, 2021 at 6:17 PM #122623MVX Support NinjaKeymaster
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.
-
-
AuthorPosts
The topic ‘Featured Vendor’ is closed to new replies.