We don’t have it documented yet (will get that done ASAP) but there are filters available for those things. Are you familiar with WordPress Filters? We have the following filters in place:
* woocommerce_make_offer_form_tab_name – Filter for tab name
* woocommerce_make_offer_form_tab_title – Filter for tab title
* aeofwc_offer_form_top_message – Filter for text above form
* aeofwc_offer_form_bottom_message – Filter for text below form
Thank you so much for your quick reply. I’ve tried to figure out the filters, but I guess it is not as simple as I thought…
Can you show me an example of how I might write the aeofwc_offer_form_top_message filter in my child theme functions.php folder to change the message to say:
“Tell us the price you need, and we’ll do our best to match or beat it.”
Thanks,
I’m sorry for the delay getting back to you. Give this a try.
function aeofwc_offer_form_top_message( $message ) {
$message = 'Tell us the price you need, and we’ll do our best to match or beat it.';
return $message;
}
add_filter( 'aeofwc_offer_form_top_message', 'aeofwc_offer_form_top_message' );
Thanks so much for your response. However, what you sent didn’t work.
I found this page… https://www.angelleye.com/offers-for-woocommerce-developer-hooks-guide/
and using what I found there I used the following:
function my_offer_form_top_message( $message ) {
$message = ‘<p>Tell us the price you need, and we’ll do our best to match or beat it.</p>’;
return $message;
}
add_filter( ‘aeofwc-offer-form-intro-html’, ‘my_offer_form_top_message’ );
So are you saying that’s working for you then? I can’t tell if you’re good to go now or still need help..??
Yes, the other filters I found worked:
my_offer_form_top_message
I’m good to go for that. Thank you.
-
This reply was modified 9 years, 3 months ago by
evermeg.