[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D2AK3VEPMC05VMVF23A101":3,"skill-same:01M6D2AK3VEPMC05VMVF23A101":95},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":47,"ownerHtmlUrl":48,"ownerBlogUrl":47,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M6D2AK3VEPMC05VMVF23A101","ui-page-shop",null,"How to build a shop's pages: the product listing with filters, the product page with every buying fact, the cart, a short checkout with a payment provider, and the order confirmation, with real prices, stock and delivery terms. Read before building an online store or a checkout.","enowdev\u002Fenowxcli","enowdev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F179420349?v=4","01M6D1MVX2KC0X3Z9NESE7P22K","Enow Dev.","01M6D1MW1FMZGBDKWAJY4GQX81",67,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-page-shop\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"ui","ui page shop","shop","page","terms","how","before building","short","confirmation","read","filters","provider","build","payment","delivery","stock","pages","product","2026-11-10 10:12:30",false,"---\nname: ui-page-shop\ndescription: \"How to build a shop's pages: the product listing with filters, the product page with every buying fact, the cart, a short checkout with a payment provider, and the order confirmation, with real prices, stock and delivery terms. Read before building an online store or a checkout.\"\n---\n\n# A shop: listing, product, cart, checkout\n\nThe generated shop opens with a \"Summer sale\" banner, lists products with\ninvented prices and five-star ratings, hides \"Add to cart\" until hover,\ndemands an account before checkout, builds its own card fields, and ends on\na toast. A shopper needs three answers on every screen: what exactly is\nthis, what will it cost in total, and when will it arrive. Every price,\nstock figure, rating and delivery promise comes from real data or stays a\nvisible placeholder (`[Price]`, `[Delivery time]`). The measures are in\n`ui-layout`, a worked store in `ui-reference-marketplace`, each part in its\n`ui-part-*` skill.\n\n## 1. The screens\n\n| Screen | URL | Its job |\n|---|---|---|\n| Listing | `\u002Fshop`, `\u002Fshop\u002Fchairs`, `\u002Fsearch?q=` | Narrow many products to a few worth opening |\n| Product | `\u002Fproducts\u002Foak-dining-chair` | Answer every buying question, then add to cart |\n| Cart | `\u002Fcart`, and a drawer | Confirm what, how many, and the total |\n| Checkout | `\u002Fcheckout` | Contact, delivery and payment with the least typing |\n| Confirmation | `\u002Forders\u002F[number]` | Say it worked and what happens next |\n\n## 2. The listing\n\n```\n│ Logo  [ Search chairs, tables, lamps ............ ]     Account  Cart (2) │\n│ Home › Chairs                                                             │\n│ Chairs · 48                                                               │\n│ [Category ▾] [Price ▾] [Material ▾] [In stock]           Sort [Newest ▾]  │\n│ Oak ✕   Under Rp 2.000.000 ✕   Clear all                                  │\n│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐                        │\n│ │  image,  │ │          │ │          │ │          │  one ratio for all     │\n│ │   4:5    │ │          │ │          │ │          │                        │\n│ │ Name     │ │ Name     │ │ Name     │ │ Name     │                        │\n│ │ [Price]  │ │ [Price]  │ │ [Price]  │ │ [Price]  │                        │\n│ │ 3 colours│ │ Ships    │ │ 2 left   │ │ Sold out │  one fact that matters │\n│ └──────────┘ └──────────┘ └──────────┘ └──────────┘                        │\n│                   Showing 24 of 48   [ Show more ]                         │\n```\n\n- Filters and sort in a toolbar above the grid for up to about five facets;\n  a left column (240 to 280px) of facet groups when there are many (sizes,\n  brands, materials, a price range). Real counts per option; active filters\n  as removable chips with \"Clear all\"; all of it in the URL.\n- The card: one image ratio for the whole grid (1:1 or 4:5,\n  `object-fit: cover`); the name in at most two lines; the price with its\n  currency; a sale price beside the previous one only when that price was\n  real (in the EU, the lowest of the previous 30 days); the variant hint\n  (\"3 colours\", \"Sizes 38 to 44\"); one stock or delivery fact when it\n  matters; the rating with its count only from real reviews. The card is\n  one link (`ui-part-cards`); a quick Add only for products without\n  variants, visible without hover.\n- 4 columns on wide screens (3 beside a filter column), 2 on phones, gaps\n  16 to 24px.\n- \"Show more\" with the count, the page in the URL, the scroll position\n  restored on Back; numbered pages for very large catalogues\n  (`ui-part-pagination`).\n- Sort by what exists: Newest, Price low to high, Price high to low; Best\n  selling or Top rated only when real data backs them.\n\n## 3. The product page\n\n```\n│ Home › Chairs › Oak dining chair                                          │\n│ ┌──────────────────────────────┐   Oak dining chair                  (h1) │\n│ │                              │   Rp [price] · incl. VAT                 │\n│ │          main image          │   ★ [rating] · [n] reviews, real only    │\n│ │                              │   Colour: Natural                        │\n│ └──────────────────────────────┘   (●) Natural  (○) Walnut  (○) Black     │\n│ [▪] [▪] [▪] [▪] [▪]                 Size: [ Seat 45 ] [ Seat 50 · 1 left ] │\n│                                     Quantity [ − 1 + ]                    │\n│                                     [          Add to cart          ]     │\n│                                     Arrives [date range] · [returns line] │\n│ Description · Dimensions · Materials and care · Delivery and returns      │\n│ Reviews · Goes with                                                       │\n```\n\n- Gallery: the main image large (6 or 7 of 12 columns), thumbnails or a\n  swipeable strip with a counter (\"2 of 6\"), a lightbox for zoom, images\n  that follow the chosen variant, alt text that says what differs\n  (\"Walnut finish, side view\", `ui-part-images`).\n- The buy box, in this order: name (`h1`); price with currency and the tax\n  note, and the unit price where the law asks for it (per kg, per litre);\n  the real rating linking to the reviews; the variants; quantity; Add to\n  cart; the delivery estimate and the returns summary beside the button.\n  It sticks beside the gallery on wide screens.\n- Variants as radio groups (`fieldset` and `legend`: \"Colour\", \"Size\"),\n  swatches with their names in text, the chosen one marked by more than\n  colour, stock per variant (\"1 left\", \"Sold out\"). A sold-out variant stays\n  selectable and turns the button into \"Notify me when it is back\", rather\n  than a greyed swatch with no reason (`ui-part-choices`).\n- Price, stock and images change with the variant without moving the\n  layout; the URL carries the variant (`?variant=walnut-50`).\n- Add to cart is the one primary action. After it, the button says \"Added\"\n  for 2 seconds, the cart count changes (announced politely), and a small\n  drawer shows the item with \"View cart\" and \"Checkout\", without leaving\n  the page.\n- Below: the description in the shop's own words, dimensions with units,\n  materials and care, delivery and returns in full, the specification as a\n  table or `dl`, reviews (real only, with count and distribution, \"No\n  reviews yet\" when there are none), and related products from real\n  relations (\"Goes with\", \"Also in walnut\").\n\n## 4. The cart\n\n- Each line: image, name as a link, the variant, unit price, a quantity\n  stepper (buttons named \"Decrease quantity\" and \"Increase quantity\", the\n  number typeable), the line total, and Remove, which shows \"Removed Oak\n  dining chair · Undo\".\n- The summary: subtotal, delivery (its price, a free-delivery threshold only\n  if one exists, or \"Calculated at checkout\"), tax (included or added, as\n  the market expects), discounts, the total, and Checkout as the one\n  primary action; \"Continue shopping\" as a link.\n- The promo code collapsed behind \"Have a promo code?\", so people without\n  one do not leave to hunt for one; its result said in place (\"SAVE10\n  applied\", or why it was refused).\n- Changes since adding are said on the line: \"Price changed from Rp X to Rp\n  Y\", \"Only 1 left: quantity set to 1\".\n- Kept on the server for signed-in shoppers, by a cookie id for guests;\n  totals always recomputed on the server. Empty: \"Your cart is empty\" and a\n  link back to the shop.\n\n## 5. Checkout\n\n```\n│ Logo                                              ‹ Back to cart          │\n│ [ Apple Pay ] [ Google Pay ] [ PayPal ]        ┌ Order summary ────────┐  │\n│ ───────────── or pay by card ─────────────     │ [img] Oak chair ×2     │  │\n│ Contact    Email [.......................]     │ Subtotal     Rp [..]   │  │\n│ Delivery   Country [Indonesia ▾]               │ Delivery     Rp [..]   │  │\n│            Name [..........]  Address [...]    │ Total        Rp [..]   │  │\n│            (●) Regular · Rp [..] · [dates]     └────────────────────────┘  │\n│            (○) Express · Rp [..] · [date]                                 │\n│ Payment    [ the provider's payment element ]                             │\n│            [ Pay Rp [total] ]                                             │\n```\n\n- Guest checkout allowed; an account offered after the order (\"Save your\n  details for next time\"), never required before it.\n- As few steps as the task allows: contact, delivery, payment, on one page\n  in sections or as three steps (`ui-part-steps`); the header cut down to\n  the logo and a way back to the cart.\n- Express wallets at the top (Apple Pay, Google Pay, PayPal, and the ones\n  the market uses), through the provider (Stripe's Express Checkout\n  Element and its equivalents).\n- The email first; the phone only when the courier needs it, saying so.\n- Country first (it decides the address fields), `autocomplete` on every\n  field (`email`, `shipping name`, `shipping street-address`, `shipping\n  postal-code`, `shipping country`, `tel`), address suggestions as help,\n  never as a requirement; billing the same as delivery by default.\n- Delivery options as radio cards with price and the dates they promise.\n- Payment inside the provider's own fields (Stripe Payment Element, Adyen\n  Drop-in, Mollie Components, Midtrans Snap or Xendit in Indonesia): card\n  numbers never touch your server, which keeps most of PCI DSS off you,\n  and 3-D Secure and local methods (bank transfer, virtual accounts,\n  e-wallets, QRIS) come with them.\n- The order summary in view throughout: a right column on wide screens, a\n  collapsed \"Show order summary · Rp [total]\" at the top on phones.\n- Errors on the field that caused them; a declined card in plain words with\n  the way forward (\"Your card was declined. Try another card or method.\");\n  nothing typed is lost.\n- The Pay button names the amount. The server recomputes every price,\n  discount, tax and delivery cost at submit, creates the order with an\n  idempotency key, and marks it paid only from the provider's webhook\n  (`backend-integrations`, `backend-api`). No pre-ticked extras or\n  marketing boxes.\n\n## 6. The confirmation\n\n- A page reached by redirect after payment: \"Order [number] is confirmed\",\n  what was bought, the delivery address and expected dates, the payment\n  status (\"Paid\", or for a transfer \"Waiting for your payment of Rp [total]\n  to [account] before [time]\"), what happens next, where the receipt was\n  emailed (only if it was), a link to track the order, and the account\n  offer for guests.\n- Reload and Back do not order again; the purchase is recorded once.\n\n## 7. States\n\n- Sold out: the product stays findable, says \"Sold out\", offers \"Notify\n  me\" and similar products.\n- A price or stock change during checkout is said above the summary before\n  paying, never charged silently. A failed payment keeps the cart and the\n  details; a pending one (a transfer, a bank redirect) says what to do and\n  by when.\n- Loading keeps the layout: image and text skeletons in the grid, the buy\n  box never shifting when the price arrives.\n\n## 8. On a phone\n\n- Listing: two columns, search at the top, filters and sort in a sheet\n  from one \"Filters (2)\" button, its apply button showing the result\n  (\"Show 18 products\").\n- Product: the gallery first (swipe, with a counter), then name, price,\n  variants and the button; once that button scrolls away, a bar fixed to\n  the bottom with the price and Add to cart, above the safe area.\n- Cart and checkout in one column, the summary collapsed at the top, Pay\n  full width at the end, inputs at 16px so iOS does not zoom.\n\n## 9. SEO and speed\n\n- Listing and product pages rendered on the server with their real text;\n  one canonical URL per product (variant parameters point to it); filter\n  combinations `noindex` or canonical to the category (`frontend-seo`).\n- Product structured data (JSON-LD) from the data the page shows: name,\n  image, description, sku, brand, `offers` with price, currency,\n  availability and url, `aggregateRating` only from reviews on the page,\n  shipping and return policies when real; BreadcrumbList. Cart, checkout\n  and confirmation are `noindex`.\n- Images in AVIF or WebP with `srcset`; the product page's first image\n  eager with `fetchpriority=\"high\"`, grid images below the fold lazy; fixed\n  ratios so nothing shifts (`frontend-performance`).\n\n## Check it\n\n- Buy end to end in the provider's test mode (for Stripe, 4242 4242 4242\n  4242, and 4000 0027 6000 3184 for a 3-D Secure challenge), as a guest and\n  signed in, at 360px and 1440px.\n- The confirmation's total equals the server's order record; a price\n  changed in the database mid-checkout is said before paying.\n- Keyboard only through variants, cart quantities and checkout; a screen\n  reader hears the variant, its stock and the cart count change.\n- `preview` at 360, 768 and 1440px on every screen; the Rich Results Test on\n  a product page; `curl` a product URL and find its name and price in the\n  HTML.\n\n## Avoid\n\nInvented prices, ratings, reviews, stock counts or countdowns; a struck-out\nprice that never existed; Add to cart only on hover; swatches without\nnames; sold-out options greyed with no reason; an account required before\npaying; hand-built card fields; totals computed in the browser; pre-ticked\nextras; a promo field that sends people away to hunt; a confirmation that\nis only a toast; a cart that forgets itself.\n","# A shop: listing, product, cart, checkout\n\nThe generated shop opens with a \"Summer sale\" banner, lists products with\ninvented prices and five-star ratings, hides \"Add to cart\" until hover,\ndemands an account before checkout, builds its own card fields, and ends on\na toast. A shopper needs three answers on every screen: what exactly is\nthis, what will it cost in total, and when will it arrive. Every price,\nstock figure, rating and delivery promise comes from real data or stays a\nvisible placeholder (`[Price]`, `[Delivery time]`). The measures are in\n`ui-layout`, a worked store in `ui-reference-marketplace`, each part in its\n`ui-part-*` skill.\n\n## 1. The screens\n\n| Screen | URL | Its job |\n|---|---|---|\n| Listing | `\u002Fshop`, `\u002Fshop\u002Fchairs`, `\u002Fsearch?q=` | Narrow many products to a few worth opening |\n| Product | `\u002Fproducts\u002Foak-dining-chair` | Answer every buying question, then add to cart |\n| Cart | `\u002Fcart`, and a drawer | Confirm what, how many, and the total |\n| Checkout | `\u002Fcheckout` | Contact, delivery and payment with the least typing |\n| Confirmation | `\u002Forders\u002F[number]` | Say it worked and what happens next |\n\n## 2. The listing\n\n```\n│ Logo  [ Search chairs, tables, lamps ............ ]     Account  Cart (2) │\n│ Home › Chairs                                                             │\n│ Chairs · 48                                                               │\n│ [Category ▾] [Price ▾] [Material ▾] [In stock]           Sort [Newest ▾]  │\n│ Oak ✕   Under Rp 2.000.000 ✕   Clear all                                  │\n│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐                        │\n│ │  image,  │ │          │ │          │ │          │  one ratio for all     │\n│ │   4:5    │ │          │ │          │ │          │                        │\n│ │ Name     │ │ Name     │ │ Name     │ │ Name     │                        │\n│ │ [Price]  │ │ [Price]  │ │ [Price]  │ │ [Price]  │                        │\n│ │ 3 colours│ │ Ships    │ │ 2 left   │ │ Sold out │  one fact that matters │\n│ └──────────┘ └──────────┘ └──────────┘ └──────────┘                        │\n│                   Showing 24 of 48   [ Show more ]                         │\n```\n\n- Filters and sort in a toolbar above the grid for up to about five facets;\n  a left column (240 to 280px) of facet groups when there are many (sizes,\n  brands, materials, a price range). Real counts per option; active filters\n  as removable chips with \"Clear all\"; all of it in the URL.\n- The card: one image ratio for the whole grid (1:1 or 4:5,\n  `object-fit: cover`); the name in at most two lines; the price with its\n  currency; a sale price beside the previous one only when that price was\n  real (in the EU, the lowest of the previous 30 days); the variant hint\n  (\"3 colours\", \"Sizes 38 to 44\"); one stock or delivery fact when it\n  matters; the rating with its count only from real reviews. The card is\n  one link (`ui-part-cards`); a quick Add only for products without\n  variants, visible without hover.\n- 4 columns on wide screens (3 beside a filter column), 2 on phones, gaps\n  16 to 24px.\n- \"Show more\" with the count, the page in the URL, the scroll position\n  restored on Back; numbered pages for very large catalogues\n  (`ui-part-pagination`).\n- Sort by what exists: Newest, Price low to high, Price high to low; Best\n  selling or Top rated only when real data backs them.\n\n## 3. The product page\n\n```\n│ Home › Chairs › Oak dining chair                                          │\n│ ┌──────────────────────────────┐   Oak dining chair                  (h1) │\n│ │                              │   Rp [price] · incl. VAT                 │\n│ │          main image          │   ★ [rating] · [n] reviews, real only    │\n│ │                              │   Colour: Natural                        │\n│ └──────────────────────────────┘   (●) Natural  (○) Walnut  (○) Black     │\n│ [▪] [▪] [▪] [▪] [▪]                 Size: [ Seat 45 ] [ Seat 50 · 1 left ] │\n│                                     Quantity [ − 1 + ]                    │\n│                                     [          Add to cart          ]     │\n│                                     Arrives [date range] · [returns line] │\n│ Description · Dimensions · Materials and care · Delivery and returns      │\n│ Reviews · Goes with                                                       │\n```\n\n- Gallery: the main image large (6 or 7 of 12 columns), thumbnails or a\n  swipeable strip with a counter (\"2 of 6\"), a lightbox for zoom, images\n  that follow the chosen variant, alt text that says what differs\n  (\"Walnut finish, side view\", `ui-part-images`).\n- The buy box, in this order: name (`h1`); price with currency and the tax\n  note, and the unit price where the law asks for it (per kg, per litre);\n  the real rating linking to the reviews; the variants; quantity; Add to\n  cart; the delivery estimate and the returns summary beside the button.\n  It sticks beside the gallery on wide screens.\n- Variants as radio groups (`fieldset` and `legend`: \"Colour\", \"Size\"),\n  swatches with their names in text, the chosen one marked by more than\n  colour, stock per variant (\"1 left\", \"Sold out\"). A sold-out variant stays\n  selectable and turns the button into \"Notify me when it is back\", rather\n  than a greyed swatch with no reason (`ui-part-choices`).\n- Price, stock and images change with the variant without moving the\n  layout; the URL carries the variant (`?variant=walnut-50`).\n- Add to cart is the one primary action. After it, the button says \"Added\"\n  for 2 seconds, the cart count changes (announced politely), and a small\n  drawer shows the item with \"View cart\" and \"Checkout\", without leaving\n  the page.\n- Below: the description in the shop's own words, dimensions with units,\n  materials and care, delivery and returns in full, the specification as a\n  table or `dl`, reviews (real only, with count and distribution, \"No\n  reviews yet\" when there are none), and related products from real\n  relations (\"Goes with\", \"Also in walnut\").\n\n## 4. The cart\n\n- Each line: image, name as a link, the variant, unit price, a quantity\n  stepper (buttons named \"Decrease quantity\" and \"Increase quantity\", the\n  number typeable), the line total, and Remove, which shows \"Removed Oak\n  dining chair · Undo\".\n- The summary: subtotal, delivery (its price, a free-delivery threshold only\n  if one exists, or \"Calculated at checkout\"), tax (included or added, as\n  the market expects), discounts, the total, and Checkout as the one\n  primary action; \"Continue shopping\" as a link.\n- The promo code collapsed behind \"Have a promo code?\", so people without\n  one do not leave to hunt for one; its result said in place (\"SAVE10\n  applied\", or why it was refused).\n- Changes since adding are said on the line: \"Price changed from Rp X to Rp\n  Y\", \"Only 1 left: quantity set to 1\".\n- Kept on the server for signed-in shoppers, by a cookie id for guests;\n  totals always recomputed on the server. Empty: \"Your cart is empty\" and a\n  link back to the shop.\n\n## 5. Checkout\n\n```\n│ Logo                                              ‹ Back to cart          │\n│ [ Apple Pay ] [ Google Pay ] [ PayPal ]        ┌ Order summary ────────┐  │\n│ ───────────── or pay by card ─────────────     │ [img] Oak chair ×2     │  │\n│ Contact    Email [.......................]     │ Subtotal     Rp [..]   │  │\n│ Delivery   Country [Indonesia ▾]               │ Delivery     Rp [..]   │  │\n│            Name [..........]  Address [...]    │ Total        Rp [..]   │  │\n│            (●) Regular · Rp [..] · [dates]     └────────────────────────┘  │\n│            (○) Express · Rp [..] · [date]                                 │\n│ Payment    [ the provider's payment element ]                             │\n│            [ Pay Rp [total] ]                                             │\n```\n\n- Guest checkout allowed; an account offered after the order (\"Save your\n  details for next time\"), never required before it.\n- As few steps as the task allows: contact, delivery, payment, on one page\n  in sections or as three steps (`ui-part-steps`); the header cut down to\n  the logo and a way back to the cart.\n- Express wallets at the top (Apple Pay, Google Pay, PayPal, and the ones\n  the market uses), through the provider (Stripe's Express Checkout\n  Element and its equivalents).\n- The email first; the phone only when the courier needs it, saying so.\n- Country first (it decides the address fields), `autocomplete` on every\n  field (`email`, `shipping name`, `shipping street-address`, `shipping\n  postal-code`, `shipping country`, `tel`), address suggestions as help,\n  never as a requirement; billing the same as delivery by default.\n- Delivery options as radio cards with price and the dates they promise.\n- Payment inside the provider's own fields (Stripe Payment Element, Adyen\n  Drop-in, Mollie Components, Midtrans Snap or Xendit in Indonesia): card\n  numbers never touch your server, which keeps most of PCI DSS off you,\n  and 3-D Secure and local methods (bank transfer, virtual accounts,\n  e-wallets, QRIS) come with them.\n- The order summary in view throughout: a right column on wide screens, a\n  collapsed \"Show order summary · Rp [total]\" at the top on phones.\n- Errors on the field that caused them; a declined card in plain words with\n  the way forward (\"Your card was declined. Try another card or method.\");\n  nothing typed is lost.\n- The Pay button names the amount. The server recomputes every price,\n  discount, tax and delivery cost at submit, creates the order with an\n  idempotency key, and marks it paid only from the provider's webhook\n  (`backend-integrations`, `backend-api`). No pre-ticked extras or\n  marketing boxes.\n\n## 6. The confirmation\n\n- A page reached by redirect after payment: \"Order [number] is confirmed\",\n  what was bought, the delivery address and expected dates, the payment\n  status (\"Paid\", or for a transfer \"Waiting for your payment of Rp [total]\n  to [account] before [time]\"), what happens next, where the receipt was\n  emailed (only if it was), a link to track the order, and the account\n  offer for guests.\n- Reload and Back do not order again; the purchase is recorded once.\n\n## 7. States\n\n- Sold out: the product stays findable, says \"Sold out\", offers \"Notify\n  me\" and similar products.\n- A price or stock change during checkout is said above the summary before\n  paying, never charged silently. A failed payment keeps the cart and the\n  details; a pending one (a transfer, a bank redirect) says what to do and\n  by when.\n- Loading keeps the layout: image and text skeletons in the grid, the buy\n  box never shifting when the price arrives.\n\n## 8. On a phone\n\n- Listing: two columns, search at the top, filters and sort in a sheet\n  from one \"Filters (2)\" button, its apply button showing the result\n  (\"Show 18 products\").\n- Product: the gallery first (swipe, with a counter), then name, price,\n  variants and the button; once that button scrolls away, a bar fixed to\n  the bottom with the price and Add to cart, above the safe area.\n- Cart and checkout in one column, the summary collapsed at the top, Pay\n  full width at the end, inputs at 16px so iOS does not zoom.\n\n## 9. SEO and speed\n\n- Listing and product pages rendered on the server with their real text;\n  one canonical URL per product (variant parameters point to it); filter\n  combinations `noindex` or canonical to the category (`frontend-seo`).\n- Product structured data (JSON-LD) from the data the page shows: name,\n  image, description, sku, brand, `offers` with price, currency,\n  availability and url, `aggregateRating` only from reviews on the page,\n  shipping and return policies when real; BreadcrumbList. Cart, checkout\n  and confirmation are `noindex`.\n- Images in AVIF or WebP with `srcset`; the product page's first image\n  eager with `fetchpriority=\"high\"`, grid images below the fold lazy; fixed\n  ratios so nothing shifts (`frontend-performance`).\n\n## Check it\n\n- Buy end to end in the provider's test mode (for Stripe, 4242 4242 4242\n  4242, and 4000 0027 6000 3184 for a 3-D Secure challenge), as a guest and\n  signed in, at 360px and 1440px.\n- The confirmation's total equals the server's order record; a price\n  changed in the database mid-checkout is said before paying.\n- Keyboard only through variants, cart quantities and checkout; a screen\n  reader hears the variant, its stock and the cart count change.\n- `preview` at 360, 768 and 1440px on every screen; the Rich Results Test on\n  a product page; `curl` a product URL and find its name and price in the\n  HTML.\n\n## Avoid\n\nInvented prices, ratings, reviews, stock counts or countdowns; a struck-out\nprice that never existed; Add to cart only on hover; swatches without\nnames; sold-out options greyed with no reason; an account required before\npaying; hand-built card fields; totals computed in the browser; pre-ticked\nextras; a promo field that sends people away to hunt; a confirmation that\nis only a toast; a cart that forgets itself.\n",{"name":5,"description":7},"main","38293fe1b096e6bf3646c7344c38786ed688f464","crates\u002Fenowx-core\u002Fskills\u002Fui-page-shop",21,"https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli","https:\u002F\u002Fenowx.ai","https:\u002F\u002Fgithub.com\u002Fenowdev","Pretending to be a Developer","2026-10-06 02:05:35",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add enowdev\u002Fenowxcli --skill ui-page-shop",{"tool":57,"command":58},"bunx","bunx skills add enowdev\u002Fenowxcli --skill ui-page-shop",{"tool":60,"command":61},"pnpm","pnpm dlx skills add enowdev\u002Fenowxcli --skill ui-page-shop","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-page-shop\u002FSKILL.md",true,[65,71,77,81,85,91],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"assets\u002Fmigration-report-template.html","ASSET","资产文件",17861,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpower-platform-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fpower-pages\u002Fskills\u002Fmigrate-webapi-selectall\u002Fassets\u002Fmigration-report-template.html",{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fcolumn-analysis.md","REFERENCE","参考文档",4856,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpower-platform-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fpower-pages\u002Fskills\u002Fmigrate-webapi-selectall\u002Freferences\u002Fcolumn-analysis.md",{"path":78,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fconfiguration-and-reporting.md",6132,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpower-platform-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fpower-pages\u002Fskills\u002Fmigrate-webapi-selectall\u002Freferences\u002Fconfiguration-and-reporting.md",{"path":82,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fsite-transfer.md",3678,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpower-platform-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fpower-pages\u002Fskills\u002Fmigrate-webapi-selectall\u002Freferences\u002Fsite-transfer.md",{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"scripts\u002Fquery-table-schema.js","SCRIPT","脚本",15348,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpower-platform-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fpower-pages\u002Fskills\u002Fmigrate-webapi-selectall\u002Fscripts\u002Fquery-table-schema.js",{"path":92,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":93,"sourceHtmlUrl":94},"scripts\u002Frender-migration-report.js",2279,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpower-platform-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fpower-pages\u002Fskills\u002Fmigrate-webapi-selectall\u002Fscripts\u002Frender-migration-report.js",[96,107,123,134,155,173],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":37},"01M6D2HQYSQD9N7MTNDT4A7CBM","demo-skill","Project-scope demo skill for tests.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fworkspace\u002F.agents\u002Fskills\u002Fdemo-skill\u002FSKILL.md",[],[103,104,105,106,28],"demo skill","demo","tests","project",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":37},"01M6D2HM0GCPM0TM2HPG9HHR2R","writing","Writing words people read: the specific thing instead of claims, words to drop, sentences, interface copy (buttons, labels, errors, empty states, confirmations), page copy, notifications and emails, alt text and link text, numbers and dates, words that translate well, documentation and voice. Read before writing a page's copy, an interface's text or a document.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fwriting\u002FSKILL.md",[],[109,114,115,116,117,118,28,22,119,120,121,122],"text","emails","empty","drop","document","voice","notifications","documentation","translate",{"skillNo":124,"name":19,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":37},"01M6D2HG07YS49NM196Q0R3AZ8","Designing or restyling an interface: direction, layout, type, colour, icons, components, states, responsive behaviour. Read before building a page, a screen or a set of components.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui\u002FSKILL.md",[],[19,129,130,131,132,22,133,28,25],"icons","components","SET","responsive","layout",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":37},"01M6D2HB59HZHWG1RYZDV4SJ91","ui-themes","Light and dark themes, and colour that holds in both: tokens with a value per theme, and what each kind of content needs to stay visible (icons, SVG drawings and line art, logos, photos, screenshots, charts, code, maps, borders, shadows, focus, form controls), switching without a flash, and checking both. Read before building a second theme or a theme toggle, and before any drawing, logo or chart on a page that has two themes.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-themes\u002FSKILL.md",[],[19,141,142,143,144,145,146,147,148,28,25,149,22,150,151,152,129,153,154],"ui themes","switching","photos","tokens","drawing","focus","maps","Art","flash","code","Charts","content","screenshots","logo",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":37},"01M6D2H5R5KRAE524C8QX0T7Q0","ui-structure","Structure before styling: the blueprint written before any interface code (the screen's job, the regions its kind of page needs, their order and why, the layout skeleton in numbers, the components and their states), the anatomy and order of a homepage, a dashboard, a list, a detail page, settings, a form, sign-in, pricing, docs, an article and a checkout, and how to turn the blueprint into code (tokens, layout primitives, components, sections, page). Read first, before building or rebuilding any page or screen.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-structure\u002FSKILL.md",[],[162,19,163,130,164,165,150,166,167,168,133,144,169,170,171,28,25,22,172,24],"structure","ui structure","pricing","dashboard","Blueprint","article","anatomy","styling","primitives","list","why",{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":37},"01M6D2H0ZZBJG77MBGPZHA6MWD","ui-stack-vue","Building interfaces in Vue 3 and Nuxt: project layout, script setup with typed defineProps, defineEmits and defineModel, attribute fallthrough, slots and scoped slots, template refs, ref, reactive and computed, watch versus watchEffect, composables and VueUse, provide and inject, Pinia, keyed v-for, transitions, Nuxt 4 (app directory, pages, layouts, useFetch and useAsyncData keys, $fetch in handlers, server routes, runtime config, useSeoMeta, NuxtImg, middleware), VeeValidate forms, Reka UI and Nuxt UI, testing, vue-tsc, and the traps. Read when the project uses Vue or Nuxt.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-stack-vue\u002FSKILL.md",[],[19,180,181,182,183,35,184,185,133,106,186,187,28,188,189,190,191,192,193,194],"vue","stack","ui stack vue","forms","watch","runtime","transitions","fetch","pinia","nuxt","template","server","config","directory","testing"]