Skip to main content

Overview

This setting makes Upcart rebuild the HTML you’ve added through the Custom HTML editor when the cart total changes. It’s useful when dynamic content (like custom subtotals or counters) doesn’t update correctly on its own.
The rebuild is keyed on the cart total, not on every cart change. A cart update that leaves the total the same — swapping to an equally-priced variant, editing the cart note — will not re-render your custom HTML. If your content has to track something other than price, update it from a cart_updated handler instead.

Where to Find It

Upcart > Cart Editor > Settings > Cart settings, then expand Advanced Settings
Look for “Force re-render of custom HTML fields.”

How It Works

Enabled

Upcart will re-render all Custom HTML elements every time the cart updates. This ensures that dynamic content stays in sync, but may slightly affect performance.

Disabled

Custom HTML elements will only re-render when absolutely necessary. This provides better performance but may cause some elements to lag behind cart changes.