Hello,
I’m having trouble creating a custom shopping cart.
I’ve recreated this: Cart (WooCommerce) – Bricks Academy
and I’ve also used this: Filter: bricks/allowed_html_tags – Bricks Academy
My cart works, but something’s not right. When I change the quantity of products, the form automatically reloads and the quantity reverts to the same value. I don’t even have time to click “update cart.”
I followed all the steps here: Cart (WooCommerce) – Bricks Academy
except for adding attributes… I don’t know where to put them. I can’t find an “attributes” tab in the element’s tabs. The only place I can define an action is in the interactions…
Where should I put them? : Add custom attributes: method = post and action = {post_url}
