Reply To: Cart popup template is hidden in the elementor new version

Home Page Forums Porto | Multi-Purpose & WooCommerce Theme Cart popup template is hidden in the elementor new version Reply To: Cart popup template is hidden in the elementor new version

#721
Alex
Keymaster
      Expired

      Hello.

      First of all, this issue is not ours.
      This error occurs in Elementor new version (3.12.0).

      I will mention two ways to solve the problem.

      1. Please rollback your elementor version to 3.10.0.

      2. You can temporarily solve by adding the below code to your child theme.
      Elementor team will fix this issue soon.

      
      add_action(
        'init',
        function() {
          if ( ! is_admin() && defined( 'ELEMENTOR_PRO_VERSION' ) && 'yes' !== 
          get_option( 'elementor_' . ElementorPro\Modules\Woocommerce\Module::OPTION_NAME_USE_MINI_CART, 'no' ) ) {
            remove_filter( 'woocommerce_add_to_cart_fragments', array( ElementorPro\Modules\Woocommerce\Module::instance(), 'e_cart_count_fragments' ) );
          }
        }
      );
      

      Regards.