Post Purchase Form
The page customers open from the review request email, with one review form per ordered product.
The 5zero Post Purchase Form is the page customers land on when they click the link in a review request email. It shows one review form per product of their order, with the product's image and name, so customers review everything they bought in one go. Reviews sent from it are marked as verified buyer reviews.
Where to place it
- Post-purchase review request page
How it works
Every review request email links to the same page with the order's request ID added:
https://your-store.com/pages/post-purchase-review-request/submit?id=…Shopify renders that URL with your theme's Post-purchase review request metaobject template, where the 5zero Post Purchase Form block must be placed. Liquid cannot read the id from the URL, so the form loads the customer's first name and the ordered products through the 5zero script, and sends the same id back with every review. That is how 5zero knows which order a review belongs to.
The page needs the 5zero Core app embed, which also keeps it out of search engines.
Adding it to your theme
- On the Display page in the app, click Open in theme editor next to Post Purchase Form. This opens the Post-purchase review request metaobject template and adds the block.
- Click Save.
From then on, every review link 5zero sends opens your themed form. To see it, open https://your-store.com/pages/post-purchase-review-request/submit without an id: it then shows preview products.
Settings
| Setting | What it does |
|---|---|
| Max width, Alignment | The form's width, in any CSS unit, and where it sits in its section. |
| Field labels | Inside the fields as placeholders, or Above the fields. |
| Field classes | Your theme's field classes, like field__input. Every field uses them. |
| Author label | The field for the name shown with the review, filled in with the customer's first name. It sits outside the products and applies to all of them. Empty hides it. |
| Submit all button text, Submit all button classes | Shown when the order has more than one product. |
| Title label, Review label, Upload label | The fields of each product's form. An empty label hides its field. |
| Star color, Star size | Empty star color uses the one from 5zero Core. Star size is relative to Core's, where the star icons are set too. |
| Submit button text, Submit button classes | The button under each product's form. |
| Thank-you text | Shown after a review was sent. Empty shows nothing. |
| Heading, Heading tag, Heading classes | The text, its HTML level for the page outline, and your theme's classes for its look, like h2. Empty text shows no heading. |
| Anchor ID | An ID links can jump to. |
| Custom CSS | Applies to this block only. See Customising blocks. |
When the emails are sent, and what they say, is set in Shopify Flow, see Post-purchase email.
Troubleshooting
- The page is blank: the block is missing from the Post-purchase review request template, or the theme was not saved.
- The form shows no products: the link has no valid
id, or no review request was created for the order. Test with the link from a new order. - Customers report broken links: the email's button carries the link. If the message also uses
{review_link}, check that it is spelled exactly like that.