Dynamically expand address section in one-page checkout

Dynamically expand address section in one-page checkout

jamalali81
Shopify Partner
25 0 4

I have a checkout UI extension that adds a select element and have added an error if not selected and the customer tries to pay. This is on one-page checkout.

 

My problem is that when the "Ship to" section is collapsed the error does not show on the element. Is it possible to dynamically expand that section before adding the error?

 

Screenshot 2023-12-29 at 03.28.03.png

 

I have a "page" error as well but still need to highlight where the Delivery area drop-down is.

Replies 0 (0)