Forum Replies Created
- AuthorPosts
- SushobhanKeymasterThis reply has been marked as private.SushobhanKeymaster
Hi,
Thanks for getting in touch with us!
Do you have a staging site where we can debug this? As, we couldn’t be able to replicate this on our side.
Let me know.
Thank You!SushobhanKeymasterHi,
I got an old link from the WPML forum which closely resembles your query https://wpml.org/forums/topic/use-same-products-categories-for-both-languages/. I’m not sure if the process still works. You can try or contact WPML.
Let me know how it goes.
Thank You!May 26, 2020 at 8:31 pm in reply to: Delete button & category breadcumb in product catalog view #135465SushobhanKeymasterThis reply has been marked as private.SushobhanKeymasterThis reply has been marked as private.SushobhanKeymasterYou 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.SushobhanKeymasterHi,
Please use the following snippet to fix the one-time subscription issue, in future, we will add the fix in our membership plugin-add_filter( 'wcfm_vendor_memberships_args', function($args) { $user_id = get_current_user_id(); if ( $user_id ) { $wcfm_restricted_memberships = (array) get_user_meta( $user_id, 'wcfm_restricted_memberships', true ); if ( ! $wcfm_restricted_memberships ) return $args; $args['exclude'] = array_unique( array_merge( (array) $args['exclude'], $wcfm_restricted_memberships ) ); } return $args; } );
Let me know how it goes. I’ll check the other issue with the slider and update you!
Thank You!SushobhanKeymasterHi,
Sorry about that, I forget to mention the priority in my last code. Please use the following, its all the same just with the added priority of ‘101’ (anything above 100 will work in this case)-function disable_virtual_downloadable_support( $general_fields ) { if ( isset( $general_fields['is_virtual'] ) ) unset( $general_fields['is_virtual'] ); if ( isset( $general_fields['is_downloadable'] ) ) unset( $general_fields['is_downloadable'] ); if ( isset( $general_fields['is_catalog'] ) ) unset( $general_fields['is_catalog'] ); return $general_fields; } add_filter( 'wcfm_product_manage_fields_general', 'disable_virtual_downloadable_support', 101 );
Thank You and Sorry again for the inconvenience.
SushobhanKeymasterPlease set a product price as 0. Add that product to your cart and go to checkout. Now Share me a snapshot, what elements you want to keep, and what to remove. I’ll help you accordingly.
Thank You!SushobhanKeymasterThis reply has been marked as private.SushobhanKeymasterHi,
Sorry, but I didn’t get it. What do you mean by “when I create a subdomain and redirect it to the seller’s stores”? How did you set this up?the directory is lost and it is impossible to see the store again
Can’t you see that vendor from the store list page as well?
Please provide me more details and if possible, exact steps of how to replicate this.
Thank You!SushobhanKeymasterHi @veezzx,
Please check at wp-admin -> WooCommerce -> Status -> Logs -> fatal_erros log -> is any error generated?
Also check in Google Chrome Browser console, is there any JavaScript error happening to the site or not! (What is browser console – https://support.airtable.com/hc/en-us/articles/232313848-How-to-open-the-developer-console)
Thank you!SushobhanKeymasterHi,
The capability page is for vendors. So if you disable Delivery Person capability, it will still be available for admin. Please note I’m not talking about Settings >> Modules, but the Capability page.
Thank You!SushobhanKeymasterYou 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.SushobhanKeymasterHi,
It’s working. I have added ‘!important’ to increase the priority of our style. That’s it.
Thank You!SushobhanKeymasterHi,
Thanks for getting in touch with us!
To disable this, go to Capability page and under ‘Delivery’ section, disable Delivery Person checkbox.
Thank You!SushobhanKeymasterHi,
Kindly replace the code you were using to hide Virtual and Downloadable checkbox with the following, it will hide all 3 checkboxes Virtual, Downloadable, and Catalog-function disable_virtual_downloadable_support( $general_fields ) { if ( isset( $general_fields['is_virtual'] ) ) unset( $general_fields['is_virtual'] ); if ( isset( $general_fields['is_downloadable'] ) ) unset( $general_fields['is_downloadable'] ); if ( isset( $general_fields['is_catalog'] ) ) unset( $general_fields['is_catalog'] ); return $general_fields; } add_filter( 'wcfm_product_manage_fields_general', 'disable_virtual_downloadable_support' );
Thank You!
SushobhanKeymasterHi,
The code I share doesn’t change the wcfm_catalog_enquiry class name. It just adds a wrapper div (with class name product_loop_inquiry_button_wrap) outside of the inquiry button. So now you can write specific CSS styles applicable for enquiry button for this page only. Like this-.product_loop_inquiry_button_wrap .wcfm_catalog_enquiry { background: #ff0000; color: #fff; }
Thank You!
May 25, 2020 at 7:44 pm in reply to: Deactivate cart and purchase button for specific categories #135067SushobhanKeymasterHi,
I don’t wanna give you any false hope, we couldn’t take any customization project for the coming 2 months. If you still wanna wait then it’s okay for us.
Please note, it will be a paid customization.
Thanks!May 25, 2020 at 7:40 pm in reply to: Inquiry Button at Cart and Checkout pages does not send to Vendor #135066SushobhanKeymasterHi,
Kindly use the following snippet to make it work on the checkout page-add_action( 'woocommerce_after_checkout_form', function() { ?> <script> jQuery( function ( $ ) { if ( $( '.woocommerce-checkout' ).find('.wcfm_catalog_enquiry' ).length ) { $( '.woocommerce-checkout' ).on( 'click', '.wcfm_catalog_enquiry', function ( e ) { e.preventDefault(); $store = $( this ).data( 'store' ); $product = $( this ).data( 'product' ); $.colorbox( { inline: true, href: "#enquiry_form_wrapper", width: $popup_width, onComplete: function () { $( '#wcfm_enquiry_form' ).find( '#enquiry_vendor_id' ).val( $store ); $( '#wcfm_enquiry_form' ).find( '#enquiry_product_id' ).val( $product ); if ( jQuery( '.anr_captcha_field' ).length > 0 ) { if ( typeof grecaptcha != "undefined" ) { if ( $wcfm_anr_loaded ) { grecaptcha.reset(); } else { wcfm_anr_onloadCallback(); } $wcfm_anr_loaded = true; } } } } ); } ); } } ); </script> <?php } );
Add this code in combination with the previous code to make it work on checkout page.
Thanks!SushobhanKeymasterThere was a bug in the earlier version. Thanks to you, it got fixed 🙂
SushobhanKeymasterHi,
Sorry I wasn’t aware about that. I marked the post as private and presume it will only show to the person I’m directly replying to.
I’ll be more cautious next time.
Thanks again for pointing out.SushobhanKeymasterHi @Guigs,
Last time you told me the code worked. What happened now? Have you changed anything? Or is it just stopped working?
Let me know.
Thank You!SushobhanKeymasterHi @web-3134,
Correct me if I’m wrong, you want to keep the Catalog checkbox as it is and only makes it enabled by default for a particular membership. If I’m right, then use the following snippet for this-add_filter( 'wcfm_product_manage_fields_general', function($general_fields, $product_id) { if ( wcfm_get_membership() == 26 ) { // replace 26 with the actual membership id $is_catalog = ( get_post_meta( $product_id, '_catalog', true ) == 'no' ) ? 'no' : 'yes'; if ( isset( $general_fields['is_catalog'] ) ) { $general_fields['is_catalog']['dfvalue'] = $is_catalog; } } return $general_fields; }, 101, 5 );
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!
n.b.- To get membership id of a plan, go to Memberships page and edit that membership, the number at the end of the URL is the membership id.SushobhanKeymasterHi,
Kindly use the following snippet for this-add_filter( 'wcfm_is_allow_add_products', function () { global $wp; if ( isset( $wp->query_vars['wcfm-sell-items-catalog'] ) ) { return true; } 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/
Note: Keep Add Products capability enabled.
Let me know how this goes.
Thanks! - AuthorPosts