# Weekend sale

URL: https://samva.dev/templates/weekend-sale

Announce a short sale with an oversized discount, the end time, a code to enter at checkout, a few picks with old and new prices, and one shop action.

## Guidance

- Pass the picks as a list of name, line, old price, new price and link, so a sale of four pieces and one of six render from the same source. The discount is a short figure such as 25%, and the offer, end time and code are input.
- The free shipping note is optional: omit it, as the default fixture does, and the button stands alone; long-content includes it with its threshold. Format the end time and every price in your application; the template never reads the clock.
- It is written for Saltmarsh Swim, a fictional swimwear shop. There are no pictures to replace, since the stripes and the code ticket are built in markup. The look lives in the theme tokens in starter.css and the design's stylesheet.

## Variables

| Variable | Meaning |
| --- | --- |
| code | Value for code. |
| discount | Value for discount. |
| endsAt | Value for ends at. |
| freeShipping | Value for free shipping. |
| homeUrl | Link for home. |
| offer | Value for offer. |
| picks | Value for picks. |
| preferencesUrl | Link for preferences. |
| shopUrl | Link for shop. |
| terms | Value for terms. |
| termsUrl | Link for terms. |
| unsubscribeUrl | Link for unsubscribe. |
