NO BUG: Woocommerce shopping cart breaks down

22
11

In the new versions of bricks, styles and scripts for the woo basket are no longer connected, so the quantity and updating of the basket field does not work. A return to version 1.9.9 solves everything. I use a homemade shopping cart via query loop (not a widget)

How did you add the quantity field? Are you using Bricks Ultimate by any chance?

It was the same for me. If the shopping cart is made up of dynamic tags, then you need to allow the html form tag. Maybe other tags too, if they were used.

add_filter( 'bricks/allowed_html_tags', function( $allowed_html_tags ) {
    
    // Define the additional tags to be added (e.g. 'form' & 'select')
    $additional_tags = ['form'];
    
    // Merge additional tags with the existing allowed tags
    return array_merge( $allowed_html_tags, $additional_tags );
    
    }
);
1 Like

Yep, it’s most likely that. That’s why I will mark this thread as a NO BUG, and mark your answer as a solution.

If it’s still not working, please let me know and we will investigate further :slight_smile:

Best regards,
M