Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Feature Request › Permalinks, Registration and "Sold by"
- This topic has 16 replies, 6 voices, and was last updated 4 years, 5 months ago by orders123.
- AuthorPosts
- May 27, 2019 at 1:37 pm #63999DWGuest
Good day
I have searched high and low for answers to the following issues I’m having, but I haven’t found the right answers. I hope that you might be able to help me.
I’ve installed WCFM – WooCommerce Multivendor Marketplace, WCFM – WooCommerce Frontend Manager (free) and WCFM – WooCommerce Multivendor Membership. Before installing your products I tried out Dokan as well as WCMp.
1. Vendor store name in url
I’m building a multivendor store where vendors will most probably have products with the same name. For this reason, I would like to have the vendor store name in the permalink so that identical products won’t have a number added to their url. Products are added to four categories, so at the moment the structure is /category/product. I would like it to be /category/vendor/product, or /vendor/category/product would be fine too.
Is there any value that could be added to the permalink structure, such as adding %vendor_store% or anything like that?
I have enabled ‘Product Multi-vendor’ under Marketplace Settings.The theme I’m using is Woodstock by Themash Design.
2. Vendor registration
Is the a way to set the default vendor role as ‘Shop Vendor’ and not just ‘Vendor’? Or would I have to do this manually?3. ‘Sold by’ position on product listings
I have set ‘Sold By Position’ to the required position on product pages but is there a way to change where it appears on listings (on pages that show all products in a category)? Right now it’s under the product photo and I would like to move it down to under the short description.4. Issues caused by previous multivendor plugins
Would you recommend running the migration tool in order to get rid of redundant database entries or settings that might interfere with the way WCfM operates? Would this override and reset everything I’ve done so far? Right now everything seems to be running well with registration etc.Please respond at your earliest convenience
DW - May 29, 2019 at 7:43 am #64231WCFM ForumMember
Hi,
Thanks for get in touch with us.
1. Vendor store name in url
I’m building a multivendor store where vendors will most probably have products with the same name. For this reason, I would like to have the vendor store name in the permalink so that identical products won’t have a number added to their url. Products are added to four categories, so at the moment the structure is /category/product. I would like it to be /category/vendor/product, or /vendor/category/product would be fine too.
– We have to check this whether this will support by WordPress or not!
2. Vendor registration
Is the a way to set the default vendor role as ‘Shop Vendor’ and not just ‘Vendor’? Or would I have to do this manually?– No, you do not have set this manually. If you have enabled “Vendor Approval” option then you have to approve application then user role will automatically change to “Store Vendor”. Between, you previously had “Dokan” and WCMp and their “vendor” user role still their, don’t confuse with those.
3. ‘Sold by’ position on product listings
I have set ‘Sold By Position’ to the required position on product pages but is there a way to change where it appears on listings (on pages that show all products in a category)? Right now it’s under the product photo and I would like to move it down to under the short description.– It’s possible. By default WC product catalog page does not show product short description, but your theme showing this.
4. Issues caused by previous multivendor plugins
Would you recommend running the migration tool in order to get rid of redundant database entries or settings that might interfere with the way WCfM operates? Would this override and reset everything I’ve done so far? Right now everything seems to be running well with registration etc.– Well, if you want to use previously created vendor users then only run migration tool. If it’s test then just delete those old vendors to cleanup database.
Thank You
- June 3, 2019 at 9:54 am #65691dewaalmanParticipant
Thank you very much for your reply.
`
About #1 above:
I would very much like to find a way before I add more products and vendors. Is there no way to set it in WCfM? If not /vendor-name/ then maybe as a code/number in the url for each vendor? If WordPress doesn’t currently support it then it might take a long time before they do.`
About #3 above:
Should I wait for this to be addressed by your developers, or is it not something that will be addressed soon? I would like to change the font size of it too. The quickest solution might be to change its position in the php file (for product listings), but I’m not sure where or how.– When I remove the ‘Store default logo’ image, it still shows up in the short description as well as on the product page.
`
I would like to find out what the time frame might be before these issues might be solved. Are they issues that might be addressed by your developers in the near future, or are they not a priority for you right now? If they are not common issues then I would have to change my plans.Thanks again
DW - June 4, 2019 at 8:12 am #65824WCFM ForumMember
Hi,
When I remove the ‘Store default logo’ image, it still shows up in the short description as well as on the product page.
– Disable store logo with “Sold By” you have to add this line –
add_filter( 'wcfmmp_is_allow_sold_by_logo', '__return_false' );
Which theme you are using for the site?
I would like to find out what the time frame might be before these issues might be solved. Are they issues that might be addressed by your developers in the near future, or are they not a priority for you right now? If they are not common issues then I would have to change my plans.
– Well, these are not issues. This only matter whether WP will support this or not !
Thank You
- June 4, 2019 at 9:41 am #65840dewaalmanParticipant
The theme I’m using is Woodstock by Themash Design.
Where do I add that add_filter line?
The permalink thing is an issue for me at the moment. I have searched for a long time trying to figure out what I can do but there are no answers. Have other users not had this problem when enabling ‘single product multiple seller’? What happens to the url when a second vendor adds the same product with the same name?
- June 4, 2019 at 1:18 pm #65879dewaalmanParticipant
To clarify – I do want ‘Sold by’ to be visible on the product page, but not on the listing page, where my theme shows it in the short description.
..and one more: How do I disable the site menu in the vendor dashboard? I only want the site logo and the dashboard to be visible.
- June 5, 2019 at 5:30 pm #66029WCFM ForumMember
HI,
To clarify – I do want ‘Sold by’ to be visible on the product page, but not on the listing page, where my theme shows it in the short description.
– Please disable this option form WCFM Admin Setting -> Marketplace Setting – https://ibb.co/314TMpv
..and one more: How do I disable the site menu in the vendor dashboard? I only want the site logo and the dashboard to be visib
– Please disable this option form WCFM Admin Setting -> Marketplace Setting – https://ibb.co/gv2qwCD
Thank You
- June 11, 2019 at 10:37 am #66965dewaalmanParticipant
Hi again
Back to this previous question, and the reply I got:
I’m building a multivendor store where vendors will most probably have products with the same name. For this reason, I would like to have the vendor store name in the permalink so that identical products won’t have a number added to their url. Products are added to four categories, so at the moment the structure is /category/product. I would like it to be /category/vendor/product, or /vendor/category/product would be fine too.
– We have to check this whether this will support by WordPress or not!
– Is there no suggestion you could make to help me differentiate between products with the same name, other than WordPress’ default ‘/product-2’ addition to the url?
– Should I use an SKU and make that part of the url?Lastly, how do I temporarily disable vendor registration? I would like to hide the ‘Become a Vendor’ link without hiding it in the css.
- June 11, 2019 at 1:10 pm #66978dewaalmanParticipant
Why is there no permastructure for vendor name or vendor id?
I’ve found the following by testing out a plugin called Permalink Manager Lite:
%wcfm_knowledgebase%, %wcfm_notice%, %wcfm_memberships% .. but nothing to add a vendor identifier to a product’s url.
How do multi vendor shops usually differentiate products with the same name, or if ‘single product multi vendor’ is enabled, how does one create meaningful urls?Please help!
- June 13, 2019 at 9:40 am #67339dewaalmanParticipant
Please respond to the above questions, or let me know whether I need to upgrade to Ultimate to get better support.
- June 14, 2019 at 4:48 am #67542WCFM ForumMember
Hi,
Well, tell me one thing – how vendors will going to create same name product? Using “Add to My Store Catalog”, or they will add manually?
If they will do this using “Add to My Store Catalog” then we can do one thing, generate new product slug by appending that vendor’s store name, then it will not look like ‘/product-2’
Thank You
- June 14, 2019 at 4:58 am #67543WCFM ForumMember
HI,
I got a solution for your requirement.
Please set
/%author%/
as product URL base from wp-admin -> Setting -> Permalink – https://ibb.co/HPcKW8qAnd add this code to your child theme’s functions.php –
add_filter( 'post_type_link', function( $post_link, $post, $leavename, $sample ) { if( 'product' != get_post_type($post) ) return $post_link; $authordata = get_userdata($post->post_author); $author = $authordata->user_nicename; $post_link = str_replace('%author%', $author, $post_link); return $post_link; }, 50, 4 );
Thank You
- June 26, 2019 at 5:13 am #69693WCFM ForumMember
Test reply!!
- June 26, 2019 at 11:22 am #69712dewaalmanParticipant
Reply
- May 4, 2020 at 7:34 pm #126542leitiParticipant
I need the same, but the code seems not to be working any more. Got a 404 error for all pages.
- June 8, 2020 at 1:34 pm #139519orders123Participant
Vendor store name in product url
– I am looking for the same solution because of (1) the duplicate product slug problem eg name-2, name-3, name-4 and also because (2) vendor prefers to have their store in the URLAre there any solutions?
- AuthorPosts
- You must be logged in to reply to this topic.