- Add product loaders (product-loader.js, products-list-loader.js) to fetch data from Shopify - Extend Shopify API client with getProductByHandle() and getAllProducts() methods - Integrate Shopify metafields for multilingual support (custom.title_en, custom.description_en) - Refactor product.php and home.php templates to load content dynamically - Simplify product blueprint to minimal routing configuration - Create generic buy-button.php snippet with variant selection - Update footer.php with conditional script loading - Refactor _section--product.scss for better Sass structure - Add translations for loading states and product errors - Clean up old Kirby product content files Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
21 lines
765 B
YAML
21 lines
765 B
YAML
title: Product
|
|
icon: cart
|
|
|
|
columns:
|
|
- width: 1/1
|
|
fields:
|
|
info:
|
|
type: info
|
|
text:
|
|
en: "Product data (title, description, images, price) is managed in Shopify Admin. This Kirby page only serves for routing."
|
|
fr: "Les données produit (titre, description, images, prix) sont gérées dans Shopify Admin. Cette page Kirby sert uniquement au routing."
|
|
|
|
shopifyHandle:
|
|
label:
|
|
en: Shopify Handle
|
|
fr: Shopify Handle
|
|
type: text
|
|
help:
|
|
en: "Product handle from Shopify (e.g. tshirt-index-01). If empty, uses the page slug."
|
|
fr: "Handle du produit Shopify (ex: tshirt-index-01). Si vide, utilise le slug de la page Kirby."
|
|
placeholder: tshirt-index-01
|