• Resolved trisixtil

    (@trisixtil)


    Hi,
    i’am using WCFM + ACF plugins, and i created a group of text fields in ACF to display on the vendors profile or setting tab, but i couldn’t find a such thing, i’ve tried a lot of rules for post types, users, forms….but the text fields never shown on the vendors page
    is there any thing to do to solve this

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WC Lovers

    (@wclovers)

    You have created product fields or user fields using ACF?

    trisixtil

    (@trisixtil)

    Hi, thanks for the reply

    what do you mean by “You have created product fields or user fields using ACF” ?
    i have created a group of text fields using ACF, and i couldn’t assign them to the vendor’s profile or setting page.

    What i’am trying to do here is replace the “bank transfer” payment fields with the ones created in ACF, but if there is a way to remove just the last 4 fields (see the picture) from the vendor’s “bank transfer” option, with a piece of code or something it would be great.
    See The ScreenShot

    Plugin Author WC Lovers

    (@wclovers)

    HI,

    What i’am trying to do here is replace the “bank transfer” payment fields with the ones created in ACF, but if there is a way to remove just the last 4 fields (see the picture) from the vendor’s “bank transfer” option, with a piece of code or something it would be great.

    – ACF is not required here, just add this code snippet to your site –

    function wcfm_marketplace_settings_fields_hide( $address_fields ) {
    	$address_fields = wcfm_hide_field( 'routing_number', $address_fields ); 
    	$address_fields = wcfm_hide_field( 'iban', $address_fields ); 
    	$address_fields = wcfm_hide_field( 'swift', $address_fields ); 
    	$address_fields = wcfm_hide_field( 'ifsc', $address_fields ); 
    	return $address_fields;
    }
    add_filter( 'wcfm_marketplace_settings_fields_billing_bank', 'wcfm_marketplace_settings_fields_hide' );

    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/

    Thank You

    Hi again,

    I added the code in child theme function.php, and it worked straight away,
    you’re just absolutely amazing, the plugin and you 😉

    Thank you for your Help

    Plugin Author WC Lovers

    (@wclovers)

    You 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 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.  

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.