No results found. Try again with different words?

Search must be at least 3 characters.

How to Change the “Choose A variation” text?

In some cases, there might be a need to change the Popup Variation Toggler text so that you can match it with your website theme or the product that you are selling from the Checkout or to grab the attention of the users. 

As there is no option in the backend setting to change this text it does not mean that you cannot change it. You can!!. But using the filter that we have provided.

It is very simple to change the text using the filter you just need to copy-paste the code into your child theme’s functions.php file and change the text as per your requirement.

add_filter( 'cartflows_variation_popup_toggle_text', 'change_variation_toggle_text', 10, 1 );

/**
 * Change Choose a variation text.
 *
 * @return text.
 */
function change_variation_toggle_text( $text ) {

	return "Add your choice of text here";
}

Note: Add the above filter to your child theme’s functions.php, here’s an article to help you Add Custom code.

Was this article helpful?
Did not find a solution? We are here to help you succeed.

Related Docs

Try CartFlows Risk-Free for 14 Days

You are protected by our no questions asked refund policy.
Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Free Cartflows Form - Popup

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.