• mboeckly

    (@mboeckly)


    Hello everyone,

    i am trying to add/edit a Text in the WCFM Store Manager but i just can’t find where i have to do that. For example in the Payment Settings i want to edit the Text “PayPal API credentials require for PayPal Direct Pay” but i have no Idea how since i tried everything that came to my mind.

    Hope you can help me out.

    Best Regards
    Marcel

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

    (@wclovers)

    It’s coming because you have installed this plugin – https://www.ads-software.com/plugins/wc-frontend-manager-direct-paypal/

    Thread Starter mboeckly

    (@mboeckly)

    That is correct but that still doesn’t tell me how to edit that Text

    Plugin Author WC Lovers

    (@wclovers)

    Which exact text do you want to edit? Show me a screenshot please.

    Also know me, what will be your modified text.

    Thread Starter mboeckly

    (@mboeckly)

    As i said the Text is: Paypal API Credentials require for Paypal Direct Pay

    https://www.hytrade24.shop/wp-content/uploads/2020-10-02%2008_34_13-Store%20Manager%20_%20Hytrade%20Marketplace.png

    Plugin Author WC Lovers

    (@wclovers)

    Thanks, what will be modified text for this?

    Thread Starter mboeckly

    (@mboeckly)

    I dont know yet all I want to know is how i can edit those Texts at all. This is just an example and i want to edit more then just that one Text

    Plugin Author WC Lovers

    (@wclovers)

    OK, for this field snippet will be like this –

    add_filter( 'wcfm_marketplace_settings_fields_billing', function( $payment_fields, $vendor_id ) {
    	if( isset( $payment_fields['paypal_direct'] ) ) {
    		$payment_fields['paypal_direct']['value'] = '<h2>Sample Text</h2><div class="wcfm_clearfix"></div>';
    	}
    	return $payment_fields;
    }, 100, 2  );

    But snippet will be different for all fields as their filters and names are different.

    Thread Starter mboeckly

    (@mboeckly)

    ok well thats a lot different then what i expected. I am just wondering because i cant find the Text “PayPal API credentials require for PayPal Direct Pay” in any of the files and thats why i can’t tell where to add the snippet or anything

    Plugin Author WC Lovers

    (@wclovers)

    It’s here – wp-content\plugins\wc-frontend-manager-direct-paypal\core\class-wc-frontend-manager-direct-paypal.php line 235

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How can i edit/add Text in Store Manager’ is closed to new replies.