Checkout - open privacy policy modal

Checkout - open privacy policy modal

claygan
Shopify Partner
2 0 1

I've built a simple checkout extension that adds some text and links above the Pay Now button (using purchase.checkout.actions.render-before)
I have the links opening to a new tab however i would prefer to have them open in a modal just like the OOB checkout footer

claygan_0-1716919066725.png

Is there a way to either trigger the footer modals, or pull in the exact same content from the store policies into a custom modal?

 

Replies 2 (2)

claygan
Shopify Partner
2 0 1

In case anyone else is wondering, I found that the policies in the checkout footer have their own URLs

info below from https://help.shopify.com/en/manual/checkout-settings/refund-privacy-tos 

You can add direct links to your policies by adding the following to the end of your store’s domain name:

  • Return policy: /policies/refund-policy
  • Privacy policy: /policies/privacy-policy
  • Terms of service: /policies/terms-of-service
  • Shipping policy: /policies/shipping-policy
  • Subscription policy: /policies/subscription-policy




Fabien_Sebban
Shopify Partner
45 0 18

Hi @claygan ,

Did you find a way to open the native policy modal from a checkout extension?