• Hi, Rupinder Kaur! Until now, the problem with updating the mini cart when changing the quantity of goods on the checkout page has not been fixed.
    Please tell me if you will be able to make an update in the near future? You replied 11 months ago:

    “Yes, I checked your issue. I didn’t notice it because no one notified this issue earlier. Well now it is in my knowledge I will find the solution and update you regarding this.”

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Tiit Sau

    (@tiitinfinitee)

    Hi!

    I have same problem – Ajax does nothing in mini-cart.

    Tiit

    Thread Starter dimsonbgg

    (@dimsonbgg)

    Put this code in file function.php in your Theme.

    function woocommerce_header_add_to_cart_fragment( $fragments ) {
        ob_start();
        ?>
    	<div class="l-header-shop">	
    		<span class="shopbag_items_number"><?php echo WC()->cart->cart_contents_count; ?></span>	    		
    		<i class="icon-shop"></i>
    		<div class="overview">
    			<span class="bag-items-number"><?php echo sprintf (_n( '%d шт.', '%d шт.', WC()->cart->cart_contents_count, 'woodstock' ), WC()->cart->cart_contents_count ); ?></span>
    			<?php echo WC()->cart->get_cart_total(); ?>	
    		</div>
    	</div>
    	<?php
        $fragments['div.l-header-shop'] = ob_get_clean();
        return $fragments;
    }
    Tiit Sau

    (@tiitinfinitee)

    Can’t save ‘шт.’ in UTF-8.

    Thread Starter dimsonbgg

    (@dimsonbgg)

    it is an abbreviated word for quantity in Russian. Replace it with your amount abbreviation for example

    Tiit Sau

    (@tiitinfinitee)

    Right! That’s what I did, but does not help with Ajax quantity change.

    • This reply was modified 3 years, 3 months ago by Tiit Sau.
    Thread Starter dimsonbgg

    (@dimsonbgg)

    check your class name <div class = “l-header-shop”>. Probably you have it called differently

    Tiit Sau

    (@tiitinfinitee)

    Issue solved.

    Figured out – an outdated third party plugin generated conflict.

    Thread Starter dimsonbgg

    (@dimsonbgg)

    =)

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘No AJax update mini-cart’ is closed to new replies.