Elementor Cart incompatibility | WordPress.org

[ad_1]

Dear @vidish,

In the Elementor basket on the sidebar, the customer can adjust the quantity of children’s objects independently using the remove, + and – buttons. Please add this code to the plugin’s CSS.

.wooco-cart-child.wooco-item-child .minus, .wooco-cart-child.wooco-item-child .plus {
	display:none;
}

.wooco-cart-item.wooco-cart-child.wooco-item-child div.elementor-menu-cart__product-remove.product-remove {
	display:none;
}

And please add this JS to prevent using the quantity input field.

<script>
	jQuery(document).ready(function($) {
  	$('.sidebar-main').on('click', '.wooco-item-child .input-text', function(event) {
			$('.wooco-item-child .input-text').prop('readonly', true);
  	});
	});
</script>

Best regards,
@estalhun

  • This topic was modified 4 hours, 31 minutes ago by estalhun.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer