How to change “Quick View” Text Strings in Ultimate Elementor

Ultimate Addons for Elementor is a powerful plugin that enhances your website’s functionality by adding a variety of widgets and features. One such feature is the WooCommerce Products widget, which allows you to display products from your WooCommerce store in a visually appealing manner.

However, sometimes you may want to customize the text strings, like the “Quick View” button.

In this help document, we’ll show you how to change the “Quick View” text to something more suitable for your website using a simple code snippet.

How to Change the Woo-Products Quick View Text Strings

The “Quick View” button is a convenient feature for your website users to quickly preview product details without leaving the main shop page.

However, the default text may not always match the tone or style of your website. With the flexibility of Ultimate Addons for Elementor, you can easily change this text to something more appropriate.

To change the “Quick View” text string, you’ll need to add a code snippet to your theme’s functions.php file. This file controls various aspects of your website’s functionality. Be sure to create a backup of the file before making any changes to it.

Here’s how you can change the “Quick View” text string:

  • Log in to your WordPress admin panel using your credentials.
  • In the WordPress dashboard, go to “Appearance” and select “Theme File Editor.”
  • In the Theme Editor, you should see a list of theme files on the right. Locate and select the `functions.php` file from the list.
  • Inside the `functions.php` file, you can add the following code snippet:
add_filter( ‘gettext’, function ($translated_text, $text, $domain){
if($domain === ‘uael’){
switch ( $translated_text ) {
// the text you want to change/translate.
case ‘Quick View’ :
$translated_text = __( ‘Click to view me!’, ‘uael’ ); // translated text.
break;
}
}
return $translated_text;
}, 20, 3 );
  • After pasting the code snippet, save the functions.php file. Your changes will take effect immediately.

This code snippet uses the gettext filter to detect the text string “Quick View” in the ‘uael’ domain (which is the domain used by Ultimate Addons for Elementor). When it finds a match, it replaces “Quick View” with “Click to view me!”

Now, when you visit your WooCommerce shop page and hover over the “Quick View” button, you’ll see the updated text, which now shows “Click to view me!”

It’s simple. Give it a try and see how this small change can make a big difference in the way your WooCommerce shop is perceived by your website visitors.

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

Related Docs

Get access to growing library of 40+ innovative widgets and 300+ creative templates.

Scroll to Top