Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › How to get the store id for using it in short code
- This topic has 5 replies, 3 voices, and was last updated 5 years, 11 months ago by WCFM Forum.
- AuthorPosts
- January 15, 2019 at 11:20 pm #43749jinping.daiParticipant
Hello Everybody!
I am a newbie for wordpress and planning to use the shortcode for a submenu.
[wcfm_store_info id=”” data=”store_url”]
Is it possible to implement it like that? if possible, how and where to get the store ID quickly?
if not possible, at least i can use the direct url of each store, right?
if both are possible, which one is better for site performance (speed,migration etc.)
thanks in advance for any feedback!
- January 16, 2019 at 7:09 am #43819WCFM ForumMember
Hi,
Thanks for get in touch with us.
“I am a newbie for wordpress and planning to use the shortcode for a submenu.”
– You want to add this submenu only for vendors, right?
Thank You
- January 16, 2019 at 8:12 am #43833JinpingGuest
No. It’s not in specific vendor store. It is located in the header, as a sub menu or item of mega menu to nevigate all site visitors. It’s a multi items for all vendors.
- January 16, 2019 at 8:52 am #43845WCFM ForumMember
HI,
Ok, understand.
Then [wcfm_store_info id=”” data=”store_url”] – this short code has no use here, it works fro specific vendor.
Tell me one thing, suppose you have 200 vendors, then all those will be added as submenu?
Thank You
- January 16, 2019 at 8:57 am #43848JinpingGuest
I use your plugin to setup my branch stores at different locations. Actually we have no more than 10 stores.
Please just tell me if I can use shirtcode as above.Different language will have different store in the main menu.
Or I can only use direct URL?
Thanks - January 16, 2019 at 9:35 am #43853WCFM ForumMember
Hi,
OK, I understand.
If you are dealing with fixed number of stores then it will be best to use direct URLs.
Thank You
- AuthorPosts
- The topic ‘How to get the store id for using it in short code’ is closed to new replies.