Read the post data on a shopify page in the liquid file

Topic summary

A new community member is attempting to read POST data within a Shopify Liquid template file, similar to how they would access it in PHP (e.g., using $_POST).

Another user clarifies that Liquid is a server-side templating language with limited access to underlying server operations, making direct POST data retrieval impossible within Liquid itself.

For server-specific functionality like handling POST requests, custom server-side operations must be implemented independently outside of Liquid templates.

The discussion remains unresolved regarding a Liquid-based solution, as the requested functionality exceeds Liquid’s capabilities.

Summarized with AI on November 17. AI used: claude-sonnet-4-5-20250929.

Hello Community,

I am new to the community - request your help in solving an issue I am stuck with - please suggest options.

I have a shopify page to which data is posted - how can I read that post data in the liquid file.

Something which we normally do in PHP like in the sample here as below:

Thanks

Hey mate,

Liquid is a server-side templating language. The server operations are not exposed, so doing something like the above sample is not possible. It is more, you get what you are given :joy:

If you require specific server functionality, you will have to operate that yourself independently.