• Hi there,

    i’m using the YITH request a quote plugin together with the Barn2Media plugin. I replaced the quote button with this function:

    Code snippet for free YITH WooCommerce Request a Quote plugin
    if ( function_exists(‘YITH_YWRAQ_Frontend’) && class_exists(‘WC_Product_Table_Plugin’) ) {
    add_filter(‘wc_product_table_data_short_description’,’add_to_quote_button_in_table’,99,2);
    function add_to_quote_button_in_table($short_description, $pid) {
    ob_start();
    YITH_YWRAQ_Frontend()->print_button( $pid );
    return ob_get_clean();
    }
    }

    This code snippet will replace the short description column in WooCommerce Product Table with the YITH add to quote button.

    That works fine, except it doesn’t add variable products to your quote list the right way. If you have a variable product and add it to your quote list, it always displays the attribute values of the last visible variation. No matter which variation you add, it displays the attribute value of the last variation.

    Can you help me out with this matter?

The topic ‘Quote page displays wrong variation data’ is closed to new replies.