Send a quick report to us and we’ll get back to you with a solution!
Get latest deals, exclusive offers, news from the industry and performance updates from Kawi Performance
/* Add your JavaScript code here.
If you are using the jQuery library, then don't forget to wrap your code inside jQuery.ready() as follows:
jQuery(document).ready(function( $ ){
// Your code in here
});
--
If you want to link a JavaScript file that resides on another server (similar to
), then please use
the "Add HTML Code" page, as this is a HTML code that links a JavaScript file.
End of comment */
// jQuery(document).ready(function( $ ){
// if ($('#product-price .woocommerce-Price-amount').length > 1 && !$(".price .screen-reader-text").first().text().includes("Original price was:")) {
// console.log('1');
// $('.elementor-widget-woocommerce-product-price').css('display', 'none')
// } else {
// console.log('2');
// $('.elementor-widget-woocommerce-product-price').css('display', 'flex')
// }
// });
jQuery(document).ready(function( $ ){
if ($('.variations_form').length > 0 && $('.cfvsw-swatches-option').length > 1) {
$('.elementor-widget-woocommerce-product-price').css('display', 'none')
} else {
$('.elementor-widget-woocommerce-product-price').css('display', 'flex')
}
});