가격·규격 반영: 티매트 장당 15,000원·4장 50,000원(price_note), 키트 16,000원·10cm 4장, 스마트스토어 주소

This commit is contained in:
koreafood committed 2026-10-31 11:34:12 +09:00
1 parent 39d504ab2b
commit 1483969c06
6 files changed
+21 -5

No files matched your search

+5
View File
@@ -561,6 +561,10 @@ def build_product_page(
subtitle = str(product.get("subtitle", "")).strip()
material = str(product.get("material", "")).strip()
price_note = str(product.get("price_note", "")).strip()
price_note_html = (
f'<p class="product-price-note">{esc(price_note)}</p>' if price_note else ""
)
description = ". ".join(part for part in (subtitle, material) if part)
title = f"{product['title']} — {brand['name']}"
@@ -583,6 +587,7 @@ def build_product_page(
"title_text": esc(product["title"]),
"subtitle": esc(subtitle),
"price_text": format_price(product.get("price")),
"price_note_html": price_note_html,
"sold_html": '<p class="product-sold">판매 완료</p>' if product.get("sold_out") else "",
"buy_html": buy_html,
"material": esc(material) or "—",