Forum Replies Created
- AuthorPosts
Sushobhan
KeymasterHi,
Thanks for getting in touch with us!
Step 1: Use the following snippet for this-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( '%vendor_name%', $author, $post_link ); return $post_link; }, 50, 4 ); add_action( 'init', function() { add_rewrite_rule( 'vendor/(.?.+?)/product/?(.?.+?)/?$', 'index.php?author_name=$matches[1]&post_type=product&product=$matches[2]', 'top' ); });Add this code to your child theme’s functions.php
In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/
Step 2: Go to wp-admin >> Settings >> Permalinks, under Product permalinks section choose Custom base and input this- /vendor/%vendor_name%/product/Let me know how this goes.
Thanks!May 11, 2020 at 1:23 pm in reply to: how can I automatically withdraw my earnings to terawallet? or digital wallet? #129480Sushobhan
KeymasterHi,
From WCFM Marketplace’s end, you will need to enable Request auto-approve? option from WCFM dashboard (admin user) >> Settings >> Withdrawal Settings. The rest is up to the digital wallet plugin. As per I know TerraWallet is fully compatible with WCFM. So You might contact the plugin author about this.
Thank You!Sushobhan
KeymasterHi,
Thanks for getting in touch with us!
It’s not possible with the default options we have. But can be done via customization. If you are not comfortable with coding stuff, I’ll request you to hire an agency or freelancer. We could provide some guidance if needed.
Thank You!May 11, 2020 at 12:08 pm in reply to: Deactivate cart and purchase button for specific categories #129454Sushobhan
KeymasterHi,
Thanks for getting in touch with us!
”Pagopar” isn’t compatible with WCFM. That’s the reason you couldn’t find it under WCFM payment options. Now, every payment gateway can’t be used for vendor payment. I would request you to contact your account manager at Pagopar and discuss your requirement. If they confirm that their payment gateway can handle multiple account payment disbursal or split pay then it can be integrated with WCFM. We have documentation about adding custom payment gateway integration here- https://wclovers.com/knowledgebase/wcfm-marketplace-custom-payment-gateway-developers-guide/
Thank You!Sushobhan
KeymasterHi,
You can use the following code to get the Store URL anywhere from vendor dashboard-if(is_wcfm_page() && wcfm_is_vendor()) { $store_user = wcfmmp_get_store(); $store_url = $store_user->get_shop_url(); }Sorry I couldn’t give you the full snippet without seeing the interface. Probably it’s coming from your theme and might be theme specific.
Let me know if it helps.
Thank you!May 11, 2020 at 11:20 am in reply to: Product attributes and variations is not working properly. #129442Sushobhan
KeymasterHi,
Thank you for getting in touch with us!
Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it could be a conflict with one of the plugins or the theme you are using.
To determine that, please follow this troubleshooting guide:
https://wclovers.com/knowledgebase/conflict-check/Only the site admin would know and your users won’t be affected by this troubleshooting.
Please let us know if you find the cause.
Looking forward to helping you.
May 11, 2020 at 10:35 am in reply to: Modifying shipping costs among multi-vendors Then to the customer location #129432Sushobhan
KeymasterHi,
Thanks for giving our plugin a try.
You can retrieve the store info from WC cart object like the following-$items = wc()->cart->get_cart(); foreach ( $items as $item => $values ) { $product = wc_get_product( $values['data']->get_id() ); $vendor_id = wcfm_get_vendor_id_by_post( $product->get_id() ); if ( $vendor_id ) { $store_user = wcfmmp_get_store( $vendor_id ); $shop_name = $store_user->get_shop_name(); $url = $store_user->get_shop_url(); $address = $store_user->get_address(); } }wcfmmp_get_storefunction returns a WCFMmp_Store class object. You can get all the store details from this object. I’ll suggest you visit this class once. Path: wc-multivendor-marketplace\core\class-wcfmmp-store.php
Thank You!Sushobhan
KeymasterHi,
Thanks for getting in touch with us!
To get the latest version please follow the below steps-
1. Logged in to wclovers.com
2. Go to your my-account dashboard
3. Find API downloads tab
4. Download your WCFM Addon plugin zip
Thank You!Sushobhan
KeymasterHi,
Thanks for getting in touch with us!
Please follow these steps-
1. Login to your WCFM dashboard (admin user)
2. Go to Capability menu
3. Find Banner option under Settings Inside section and disable it. See here- https://imgur.com/tNMTwbl
And, that’s all. Let me know how it goes.
Thank You!Sushobhan
KeymasterHi,
Thanks for getting in touch with us!
Please confirm you have done the following steps-
1. You have added the widget Vendor Store: Opening/Closing Hours to the Vendor Store Sidebar
2. You have Store Hour option enabled under the Settings section of WCFM Dashboard (admin user) >> Capability page
3. Your vendors have Enable Store Hours settings checked.
4. Vendors have set both Opening and Closing time correctly
**After step 3 you should at least see the widget title Store Hours on store sidebar.
Let me know how it goes.
Thank You!Sushobhan
KeymasterHi,
Thanks for getting in touch with us!
What is this /19-2/ at the end of this URL? Somehow it’s conflicting with the pagination. Can you keep try an alphabetic slug instead?
Let me know.
Thank You!Sushobhan
KeymasterHi,
Sorry I didn’t get your query. I think this topic https://wclovers.com/forums/topic/url-adresse-web-site-vendor/ might be relevant to your query. If not, just reply back with some more explanation and maybe a snapshot with annotation.
Looking forward to helping you.
Thank You!Sushobhan
KeymasterHi,
It’s hard to tell what is causing this issue. It seems like a conflict with some other plugin or theme. Though if you want to disable this you can do so using the following line-
add_filter( 'wcfm_is_pref_menu_manager', '__return_false' );
Add this code to your child theme’s functions.php
In case you do not have a child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/
Let me know how this goes.
Thanks!Sushobhan
KeymasterHi,
If you don’t want separate vendor shipping rates, then you’ll need to ship them as admin. Just disable the Store Shipping option from WCFM dashboard (admin user) >> Settings >> Shipping Settings
Thank You!Sushobhan
KeymasterHi,
It’s theme dependant. Each theme does it their way. You could take a look here- woocommerce\templates\global\wrapper-start.php
If your theme overrides this file then you can copy that from your theme and edit. Alternatively, you can directly copy the WooCommerce template into your child theme and add vendor name class in thetag.
Now how to find the vendor store name, well in single product page you will get global $post. You can use that to get the vendor id and hence the store name like the following-global $post; $store_id = $post->post_author; if( wcfm_is_vendor($store_id) ) { $store_user = wcfmmp_get_store( $store_id ); $store_name = $store_user->get_shop_name(); }Hope this helps.
Thank You!Sushobhan
KeymasterIf it looks okay after removing the logo, then you don’t need to write any CSS.
Thank You!Sushobhan
KeymasterHi,
This is not possible using a code snippet. Adding a fee for each vendor is not that difficult and can be achieved using a few lines of code. But then on the individual vendor order details page, this information should be shown. Also during commission calculation, this amount has to be sent to the vendor account. There are so many interrelated functionalities.
It requires serious custom development, and this will be a paid one.
If you are interested then please contact us here– https://wclovers.com/setup-guidance/
Thank YouMay 10, 2020 at 7:40 pm in reply to: Special feature: Bypass Product Limit with Floating Button?? #129242Sushobhan
KeymasterLet me know how it goes. Thank you!
Sushobhan
KeymasterHi,
I’m not entirely sure about your requirement. Could you please send me a snapshot, annotating your requirement.
Thank You!Sushobhan
KeymasterYou are always welcome 🙂
Let me know if there’s anything else we can help you with.
Can we ask for a favor? Would you mind taking a few minutes to review our plugin (if you haven’t already) at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.Sushobhan
KeymasterHi,
If you aren’t comfortable with coding, then it wouldn’t be easy to get your desired result without development help.
I can help you to remove the vendor logo from the store list page. But you might need to write some CSS afterward. Open [your-child-theme]/wcfm/store-lists/wcfmmp-view-store-lists-card.php file and search for a div with class name store-avatar. To remove the logo, just delete this div. Save your file and check your store list page.
Thank you!Sushobhan
KeymasterHi Fabio,
Kindly usewcfm_email_verification_email_subjectfilter for your purpose.
Let me know how it goes.
Thank You!May 10, 2020 at 2:22 pm in reply to: Please share documentation on how to tweak the vendor's page? #129118Sushobhan
KeymasterHi,
Then you’ll need to change the HTML structure for that. The following file is responsible for the tabs section inside the vendor store page-
wc-multivendor-marketplace\views\store\wcfmmp-view-store-tabs.php
Here we are using UL > LI elements for tabs. You can change it to anything you like.
Thank You!Sushobhan
KeymasterHi,
Thanks for getting in touch with us!Please check at wp-admin -> WooCommerce -> Status -> Logs -> fatal_erros log -> is any error generated?
Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it could be a conflict with one of the plugins or the theme you are using.
To determine that, please follow this troubleshooting guide (instead of Rank Math enable WooCommerce and WCFM plugins):
https://rankmath.com/kb/check-plugin-conflicts/Only the site admin would know and your users won’t be affected by this troubleshooting.
Thank you!
May 10, 2020 at 1:08 pm in reply to: Special feature: Bypass Product Limit with Floating Button?? #129097Sushobhan
KeymasterHi,
Would you be comfortable sharing temporary backend access of your site, along with site URL, to debug this further?
When sharing the access, please don’t forget to mark the reply as private.
Thank you!- AuthorPosts