The page invited customers open to choose which purchased product to review, and review it. Surface review_invitation.
What the code must keep#
The product choices and review actions, <section class="review-choices" data-review-choices>. Keep it exactly as the default has it.
Keep {{ page.BrandingStyles }} and {{ page.PreviewNotice }}, and the document's </head> and </body>. See the rules for all store pages.
Values#
Every value the page's code can read. [] marks a list item: read it inside {% for item in list %} as item.Name. A value that is empty in a particular case prints nothing; test it with {% if %} first.
Value |
Type |
Description |
|---|---|---|
|
Boolean |
True when the store accepts review photos. |
|
HTML |
A |
|
Text |
The brand name from the checkout appearance, or the store name when none is set. |
|
HTML |
The review form's settings for its runtime. Platform-owned. |
|
HTML |
The review form's runtime script. Platform-owned. |
|
Number |
Most characters in a review. |
|
Number |
Fewest characters in a review. |
|
Text |
|
|
Number |
Most characters in an email. |
|
Text |
Shown when there is nothing to review, or the invitation expired or reviews are off. |
|
Text |
What went wrong with the last step, in the shopper's language. Empty otherwise. |
|
Object |
The review form labels. |
|
Text |
|
|
Text |
|
|
Text |
|
|
Text |
|
|
Text |
|
|
Text |
|
|
Text |
|
|
Text |
|
|
Text |
|
|
Text |
|
|
Text |
|
|
Text |
The page heading. Required. |
|
Text |
The text under the heading. Empty when the current step has none. |
|
List |
The purchased products. |
|
Text |
|
|
Boolean |
True when the customer reviewed it already. |
|
Text |
|
|
Text |
|
|
Text |
The shopper's language as a locale code, such as |
|
URL |
The checkout appearance logo. Empty when the store has no logo. |
|
Text |
A confirmation of what just happened, such as a code being sent. Empty otherwise. |
|
Number |
Most characters in a name. |
|
Text |
|
|
Text |
The order number. Empty on an expired or switched-off invitation. |
|
Object |
The brand half of the page. |
|
Text |
A |
|
URL |
The order status page's background image, when the store set one. Empty otherwise. |
|
List |
The store's checkout footer policies, as links. |
|
Text |
The policy title. |
|
URL |
The policy page. |
|
Text |
Inline CSS custom properties for the brand half: |
|
HTML |
A |
|
Text |
In the editor preview, a notice that the page shows sample data. Empty on the storefront. Required. |
|
Text |
|
|
Text |
|
|
URL |
The storefront home page ( |
|
List |
The ratings, 1 to 5. |
|
Boolean |
True when the review form can open. |
|
Text |
The step the page is on. See the states above. |
|
Number |
Most characters in a title. |