How to get URL parameters from checkout page

attotasolutions
Shopify Partner
30 0 20

Hi Team,

I am trying to get the URL from checkout pages using liquid. And then trying to extract parameter from URL using liquid.

https://www.mydomain.com/6171001200/checkouts/34be54283fb9fe919995a03cb1ba3030?param1=value1&param2=value2 

Does anyone has information on it, please do let me know.

Replies 3 (3)

IttantaTech
Shopify Partner
525 55 102

Hello , @attotasolutions 

 

You can't do this without shopify plus account. 

Thanks,
Ittanta Technologies Pvt. Ltd. | Shopify Expert
If reply is helpful, please Like and Accept Solution.
To hire us, contact us at info@ittanta.com
attotasolutions
Shopify Partner
30 0 20

Hi IttantaTech,

Thanks for your prompt reply.

I solved my issue using javascript as it is a small requirement. But looking for solution using liquid if there is a need in future.

I have shopify plus account. Please do let me know if there is a way.

LitExtension
Shopify Partner
4860 1001 1128

This is not possible, shopify renders it by itself and you cannot get the URL from checkout pages with liquid.

Hope it clear to you.

LitExtension - Shopping Cart Migration Expert
Check out our Shopify migration app to migrate your online store to Shopify