For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
https://shopify.dev/docs/apps/checkout/validation/server-side
Cart and checkout validation using js, but can I validate checkout using PHP?
I looked at the documentation but could not figure it out.
The image has added validation in js according to the documentation.
I would like to do this in PHP.
Hi Tera3,
Currently Shopify Functions don't support PHP so you'll need to work with either JavaScript, TypeScript, Rust, or Wasm.
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Thank you. By the way, is it possible to validate the cart using anything other than Shopify Functions?
We are looking to develop a feature that will only allow members to purchase member-only products.