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

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #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.

      Viewing 1 post (of 1 total)
      • The topic ‘Cart popup template is hidden in the elementor new version’ is closed to new replies.
      Customize Icon
      Need Customization? We specialize in delivering high-quality web and mobile design/development services to our clientele. Should you require customization services, please do not hesitate to reach out to us at your convenience.