How to auto-load a modal on the checkout page?

ten12star
Shopify Partner
3 0 3

Hey guys,

 

How can I make the Modal that shows automatically while checkout page is loading?

Replies 5 (5)

ten12star
Shopify Partner
3 0 3

Is there a way to make a button trigger event while using checkout ui extension?

husseiny
Shopify Partner
9 0 1

Hi, Did you manage to get this done? I'm trying to achieve the same thing.

MegEdward
Shopify Partner
2 0 2

Has anyone achieved this yet?
Shopify should add a method like this

ui.overlay.open('my-modal')

 

CodingCop
Shopify Partner
3 0 0

I am searching for the solution too. I tried useRef() but it did not work.

CodingCop
Shopify Partner
3 0 0

I need solution for this too.