Happening now! Shopify Community AMA: PayPal Express Migration to Shopify Payments | Ask your questions to be answered by our team.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

To show Continue Shopping link on thank you page with custom checkout using Draft Order Api

To show Continue Shopping link on thank you page with custom checkout using Draft Order Api

Shinedezign
Shopify Partner
15 0 2

I am creating custom checkout using draft order api &  when customer complete order & reach thank you , continue shopping link is not visible .

 

while on same site if I do shopify default checkout ,  continue shopping link show on thank you page .

 

Is there any parameter we need to pass in draft order api ?

vikas verma
shine dezign infonet
Reply 1 (1)

Shinedezign
Shopify Partner
15 0 2

Well I got the answer by self 🙂  .. I am writing this to those who are also looking for same :-

 

We can write below code in  settings -> checkout -> Additional scripts  

 

<a class="custom_thank_shipping" href="https://abc.myshopify.com/" >Continue Shopping</a>
<style>a.step__footer__continue-btn.btn { display: none;}
.custom_thank_shipping{position: absolute;color: #fff;background: #197bbd;bottom: 20%;padding: 10px;}
@media(max-width:767px){ .custom_thank_shipping { position: fixed; bottom: 0; padding: 13px 0; z-index: 999; width: 100%; left: 0; text-align: center; }
}
</style>

vikas verma
shine dezign infonet