# Issue with Empty Cart Display After Clearing Items

**URL:** <https://forum.bricksbuilder.io/t/issue-with-empty-cart-display-after-clearing-items/31378>\
**Category:** How To\
**Tags:** how-to\
**Created:** [March 29, 2025, 2:59pm UTC](https://forum.bricksbuilder.io/t/issue-with-empty-cart-display-after-clearing-items/31378 "2025-03-29T14:59:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aredmoon](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/a/7ea924/32.png) [@aredmoon](https://forum.bricksbuilder.io/u/aredmoon)\
**Post date:** [March 29, 2025, 2:59pm UTC](https://forum.bricksbuilder.io/t/issue-with-empty-cart-display-after-clearing-items/31378/1 "2025-03-29T14:59:49Z")

</div>

**Hello,**

I encountered a display issue when clearing my shopping cart. Here’s what happens:

1. This is my cart before clearing it.  

2. After clicking “Clear Cart,” the layout changes, and some elements disappear.  

3.This is what my empty cart **should** look like. However, after clearing the cart, the **button styles and images are missing**.

 ![image](https://forum.bricksbuilder.io/uploads/default/original/3X/d/6/d62e811b379f234a6eeb45789d687a0009044133.png)

Interestingly, if I navigate directly to an empty cart, the issue **does not** occur.

Could you help me identify the possible cause of this issue and how to fix it?

Thank you!

---

<div class="post-metadata">

**Author:** ![aredmoon](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/a/7ea924/32.png) [@aredmoon](https://forum.bricksbuilder.io/u/aredmoon)\
**Post date:** [March 31, 2025, 8:03am UTC](https://forum.bricksbuilder.io/t/issue-with-empty-cart-display-after-clearing-items/31378/2 "2025-03-31T08:03:45Z")

</div>

I found the answer.

> [@WAIT: Issues with Dynamic Styling for Empty Shopping Cart in Bricks Builder](https://forum.bricksbuilder.io/t/wait-issues-with-dynamic-styling-for-empty-shopping-cart-in-bricks-builder/13337):
>
> Hello Bricks Community, I’m working on a shopping cart system and have set up two templates using the Bricks Builder: one for when the shopping cart has items, and another for an empty cart. Everything functions well except for one specific issue. When I have products in the cart and decide to remove them while in the cart, the empty cart template is triggered. However, not all styles are loaded at this point. For instance, the header image is missing, and the button appears unstyled. If I re…

Seems still not fix yet  
We can only do this for now.

1. style button without any classes.
2. disabled “Lazy Load” for image.
