Skip to main content

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

  1. 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

  1. 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.
  2. 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

SettingWhat it does
Max width, AlignmentThe form's width, in any CSS unit, and where it sits in its section.
Field labelsInside the fields as placeholders, or Above the fields.
Field classesYour theme's field classes, like field__input. Every field uses them.
Author labelThe 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 classesShown when the order has more than one product.
Title label, Review label, Upload labelThe fields of each product's form. An empty label hides its field.
Star color, Star sizeEmpty 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 classesThe button under each product's form.
Thank-you textShown after a review was sent. Empty shows nothing.
Heading, Heading tag, Heading classesThe text, its HTML level for the page outline, and your theme's classes for its look, like h2. Empty text shows no heading.
Anchor IDAn ID links can jump to.
Custom CSSApplies 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

  1. The page is blank: the block is missing from the Post-purchase review request template, or the theme was not saved.
  2. 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.
  3. 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.