Give each product its own page, with its photos, options and price straight from Square, and a button that adds it to the cart.
Also called
product detail pagesingle product pageWooCommerce product pageShopify Buy Button productEcwid product pageSquare Online product pagevariation pickerproduct schema
What it replaces
- WooCommerce’s single product page
- the Shopify Buy Button’s product embed
- Ecwid’s product page
- Square Online’s item page
- product schema plugins
Good for
One page per product in a small shop, at /shop/<slug>/, built for every product by getStaticPaths.
Not for
Products with several option sets (size and color) or bundles: Square variations give one option set per product, and the Worker sells exactly those. Live prices: prices are the build’s.
Accessibility
Written so the page works for every visitor, whether they browse with a mouse, a keyboard or a screen reader, and whether or not they have asked for less motion.
- The name is a heading at `headingLevel` (1 on a product’s own page). The main image’s alt is the name; further images say “<name>, view 2”.
- Variations are real radios in a fieldset with a legend, each labeled with its name and price; a sold-out one is disabled and says “Sold out”. Quantity is a labeled number input, 1 to 20.
- Add to cart is a real submit button, hidden until a cart for the same shop has run; the cart announces its count, so this page has no live region of its own.
- The description is Square’s plain text: anything that looks like markup is shown as typed.
- Without JavaScript the page reads in full and a line says ordering online needs it. No motion.
Where it's live
- superherotech.ai: /elements/product-page/ (demo)
How to ask for it
“The product-page on our home page, with …”
Name it, say which page and which part of the page it goes on, and say what goes in it: your photos, your words, your colors. That is a complete request. We build it, you approve it, and it goes live. If you know it by another name, from WordPress or from another site, that works too.