Show a product's limits on the product page
MinMaxify has a block for your theme that shows a product's limits on its product page. Customers then see the minimum, the maximum and the multiple before they add the product to the cart.
Before you start
- The app embed must be on in your theme. See Turn on the app embed in your theme.
- The block works on product pages that have a quantity box.
- Your limits must be published. See Save and publish your limits.
Add the block
- In your Shopify admin, go to Online Store → Themes and click Customize on your current theme.
- Open the product page template.
- In the product information section, click Add block, choose Apps, and select Product Limits.
- Drag the block to the place where you want the text, for example above the quantity box.
- Click Save.
What the block shows
The block shows up to three lines, with the same numbers as the quantity box on the page.
- Minimum quantity allowed is 2.
- Maximum quantity allowed is 10.
- The product can be bought in quantity increments of 2.
- A product with a multiple and no minimum also shows the minimum line, with the same number as the multiple. To hide that line, select Skip minimum when it's equal to multiple.
- The maximum is the lowest of the product's maximum and your Maximum items on Global Limits.
- A product with no limit of its own shows your limits for each item from Global Limits.
- When no limit applies, the block shows nothing.
Change the text and the look
Click the block in the theme editor to see its settings.
| Setting | What it does |
|---|---|
| Font Weight | Normal or Bold. |
| Text Color | The colour of the text. |
| Template 1 | The text for the minimum. Keep {min} where the number goes. |
| Template 2 | The text for the maximum. Keep {max} where the number goes. |
| Template 3 | The text for the multiple. Keep {multiple} where the number goes. |
| Skip minimum when it's equal to multiple | When the minimum and the multiple are the same number, the block leaves out the minimum line. |
The templates are plain text. You can write them in any language. HTML is shown as text.