Issue after Neve theme update 1 June 2021
-
Hallo Neah Plugins
I wish your developer a speedier and complete recovery! In the meantime, something to log for when he returns:
After the Neve theme update of 1 June 2021, the following code displays on the front-end on single product pages below the “ADD TO QUOTE” button:
jQuery(document ).ready( function() { jQuery( '.single_add_to_cart_button' ).show(); jQuery( '.single_add_to_cart_button' ).attr('style','display: inline-block !important'); jQuery('.single_add_to_cart_button').prop('disabled',false); jQuery('.gpls_rfq_set').prop('disabled', false); }); jQuery(document ).ready( function() { jQuery( '.amount,.bundle_price, .product-selector__price' ).hide(); jQuery( '.amount,.bundle_price, .product-selector__price' ).attr('style','display: none !important'); } ); jQuery(document ).ready( function() { jQuery( '.woocommerce-Price-amount,.from, .price,.total, .bundle_price,.wc-pao-col2,.wc-pao-subtotal-line, .product-selector__price' ).hide(); jQuery( '.woocommerce-Price-amount,.from, .price,.total, .bundle_price,.wc-pao-col2,.wc-pao-subtotal-line, .product-selector__price' ).attr('style','display: none !important'); } );
A TEMPORARY FIX THAT MAY HELP OTHERS WITH THE SAME ISSUE:
To remove the above code from the front end on the single product page, the following line of code was remmed out on 4 lines in the woo-rfq-for-woocommerce/includes/classes/cart/gpls_woo_rfq_cart.php file:
echo $rfq_product_script;
– on lines:
1. 1096
2. 1116
3. 1124
4. 1146ALSO NOTE:
In the process of trying to fix the issue, I also found 4 lines of code in 2 files with unnecessary semicolons:1. woo-rfq-for-woocommerce/includes/classes/gpls_woo_rfq_functions.php, lines 2509 and 2524
2. woo-rfq-for-woocommerce/includes/classes/cart/gpls_woo_rfq_cart.php, lines 1091 and 1142
- The topic ‘Issue after Neve theme update 1 June 2021’ is closed to new replies.