Title: Error with variable product
Last modified: November 16, 2022

---

# Error with variable product

 *  [dangauc](https://wordpress.org/support/users/dangauc/)
 * (@dangauc)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-with-variable-product/)
 * Good morning,
 * I am using YITH Request a Quote for WooCommerce and YITH WooCommerce Catalog 
   Mode free versions and I have a question with YITH Request a Quote for WooCommerce
   please.
 * When single product page for a variable product, loads the first time, the button
   add to quote is displayed. If user does not select a variable , the following
   error is displayed:
    Error occurred while adding product to Request a Quote list.
   All works well when selecting a variable. Also, if I clear the variable selection
   the add to quote button disappears.
 * Is it possible to change the error text please? To inform user why he/she is 
   getting an error?
 * Thanks,
    Dan

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [dangauc](https://wordpress.org/support/users/dangauc/)
 * (@dangauc)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-with-variable-product/#post-16203904)
 * As a quick fix I added html to the “Add to Quote” label in plugin’s General Options
   as follows:
 * <i class=”fa-solid fa-plus”></i> Add Product To Quote </br><span style=”font-
   size:10px;”>Kindly select a finish before adding to quote</span>
 *  Plugin Support [Carlos M](https://wordpress.org/support/users/cjmora/)
 * (@cjmora)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-with-variable-product/#post-16234977)
 * Hi Dan,
 * It’s possible to change the error message by adding the following code to the`
   functions.php` file of your child theme or to a _Code Snippets_ plugin:
 *     ```
       add_filter( 'yith_ywraq_error_adding_to_list_message', function() {
       	return 'Your error message';
       } );
       ```
   
 * Substitute the text “Your error message” with the text you prefer for the error
   message.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error with variable product’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-request-a-quote/assets/icon-128x128.gif?
   rev=3234570)
 * [YITH Request a Quote for WooCommerce](https://wordpress.org/plugins/yith-woocommerce-request-a-quote/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-request-a-quote/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-request-a-quote/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-request-a-quote/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-request-a-quote/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-request-a-quote/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Carlos M](https://wordpress.org/support/users/cjmora/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/error-with-variable-product/#post-16234977)
 * Status: not resolved