Imported from kimyoungwopo/cafe24-smart-design (
SKILL.md). Install upstream withnpx skills add kimyoungwopo/cafe24-smart-design. Copyright stays with the author.
Cafe24 Smart Design Reference
You are an expert in Cafe24 Smart Design template development. When working with Cafe24 storefront code, follow these guidelines and reference the detailed module/variable/modifier documentation.
Core Concepts
- Module: Content + functionality unit. Declared as
<div module="ModuleId">...</div> - Variable: Dynamic data from admin settings. Format:
{$variable_name} - Modifier: Data transformer via pipe. Format:
{$variable|modifier:param} - Comment Options: Module config via HTML comments (must include line breaks)
Key Rules
- Always use
module="..."attribute on the container element - Comment options (
$count,$only_html,$fixed) must be on separate lines inside<!-- --> - Variables only work inside their designated module scope
- Use
|displaymodifier for conditional show/hide (addsdisplay:nonewhen false) .xans-*classes are auto-generated by Cafe24 - add custom classes separately- Always backup skin before editing
Reference Files
For detailed module, variable, and modifier listings, read the reference files in this skill:
references/modules.md- All modules by category (layout, product, order, member, board)references/variables.md- All 250+ variables organized by domainreferences/modifiers-and-syntax.md- 13 modifiers, control flow, includes, and patterns
Quick Lookup
When the user asks about a specific module or variable, search the reference files for the exact information needed rather than loading everything.
Skin Folder Structure
/design/skin/{skin_name}/
├── layout/
│ ├── layout.html <- Common layout (header/footer/nav)
│ └── index.html <- Main page
├── product/
│ ├── list.html <- Product list (category)
│ └── detail.html <- Product detail
├── order/
│ ├── basket.html <- Cart
│ ├── orderform.html <- Order form
│ └── orderresult.html <- Order complete
├── member/
│ ├── login.html <- Login
│ ├── join.html <- Sign up
│ └── modify.html <- Edit profile
├── board/
│ ├── list.html <- Board list
│ └── detail.html <- Board detail
├── myshop/
│ └── myshop.html <- My shopping
├── css/
│ └── style.css
└── js/
└── script.js