# Review request

URL: https://samva.dev/templates/review-request

Ask a customer how the order turned out, with each item to rate, a review action, and an optional thank-you from the shop.

## Guidance

- Pass the delivered items as a list of name, variant and review link. Each item gets five stars that add ?rating=1 to ?rating=5 to its review link, so a customer rates in one tap; pass each link without a query or fragment, since the input rejects one.
- The reward is optional: omit it, as the default fixture does, and the thank-you box disappears; long-content includes it. Format the delivery date in your application and send the request a week after delivery. The template never reads the clock.
- It is written for Thimbleroot, a fictional loose leaf tea shop. There are no pictures to replace. The look lives in the theme tokens in starter.css and the design's stylesheet.

## Variables

| Variable | Meaning |
| --- | --- |
| deliveredOn | Value for delivered on. |
| firstName | Value for first name. |
| helpUrl | Link for help. |
| homeUrl | Link for home. |
| items | Value for items. |
| orderNumber | Value for order number. |
| preferencesUrl | Link for preferences. |
| reviewUrl | Link for review. |
| reward | Value for reward. |
| unsubscribeUrl | Link for unsubscribe. |
