판매 모델 반영: 완성품은 재고 있을 때만 판매·판매완료는 재제작 문의, 키트는 링크만(문서 포함)
This commit is contained in:
1 parent
eb55d4849c
commit
3396d27557
6 files changed
+26
-11
No files matched your search
@@ -478,6 +478,7 @@ def build_index(
|
||||
"hero_title": esc(featured["title"]),
|
||||
"hero_material": esc(featured.get("material", "")),
|
||||
"hero_href": f"p/{featured['slug']}.html",
|
||||
"works_note": esc(site.get("works_note", "")),
|
||||
"products": product_loop_items(products),
|
||||
"process": process_loop_items(steps),
|
||||
"process_intro": esc(site.get("process_intro", "")),
|
||||
@@ -525,7 +526,7 @@ def build_product_page(
|
||||
width, height = image_size(image)
|
||||
|
||||
if product.get("sold_out"):
|
||||
buy_html = '<p class="pending">판매 완료</p>'
|
||||
buy_html = '<p class="pending">판매 완료 — 재제작을 원하시면 문의해 주세요</p>'
|
||||
else:
|
||||
naver_url = str(product.get("naver_url", "")).strip()
|
||||
if naver_url:
|
||||
|
||||
Reference in new issue
Block a user