[예약어] 상품상세 페이지 예약어 |
2012-10-31 |
|---|
|
설명 |
상품상세 페이지에서 상품의 정보를 추가적으로 노출하고 싶을 때 아래 예약어 목록을 참고하시면 됩니다. |
|
템플릿 파일 |
상품상세 > 상세버튼(cell.product.cart) |
소스 검색 Tip : 템플릿 에디터 창에서 Ctrl+F 로 검색 단어를 입력하여 찾으세요.
기본 템플릿 사용 시 아래와 같이 상품 정보는 상품명, 소비자가, 판매가, 적립금, 옵션, 수량이 기본 노출됩니다.
[예시] 판매가격 밑에 상세설명 추가
![]() |
<tr> <th scope="row"><div class="tb-left">Sales Price</div></th> <td class="price"> <div class="tb-left"> {{ if $pdt->event }}<strike>{{/if}} {{$pdt->pdt_price|number_format:2}}{{$standard_currency.$uid}} {{ if $pdt->event }}</strike>{{/if}} </div> </td> </tr> <tr> <th scope="row"><div class="tb-left">description</div></th> <td> <div class="tb-left"> {{$pdt->summary_desc}} </div> </td> </tr> |
상품상세 페이지에서 사용가능한 예약어 목록
|
예약어 |
예약어 설명 |
사용 예시 |
| {{$pdt->pdt_name}} | 상품명 | |
| {{$pdt->pdt_price}} | 판매가격 | 1000단위 컴마 : {{$pdt->pdt_price|number_format}} 달러 및 위안화 소수점 둘째 자리 : {{$pdt->pdt_price|number_format:2}} |
| {{$pdt->market_price}} | 소비자가 | 1000단위 컴마 : {{$pdt->market_price|number_format}} 달러 및 위안화 소수점 둘째 자리 : {{$pdt->market_price|number_format:2}} |
| {{$standard_currency.$uid}} | 화폐단위 | |
| {{$pdt->smoney}} | 적립금 | 1000단위 컴마 : {{$pdt->smoney|number_format:2}} 달러 및 위안화 소수점 둘째 자리 : {{$pdt->smoney|number_format:2}} |
| {{$pdt->pdt_weight}} | 상품무게 | |
| {{$pdt->makeshop_puid}} | 메이크샵 상품코드(번호) -메이크샵 연동 상품일 경우만 해당 | |
| {{$pdt->makeshop_eng_name}} | 메이크샵 영문상품명 | |
| {{$pdt->makeshop_model_name}} | 메이크샵 모델명 | |
| {{$pdt->pdt_model}} | 모델명 | |
| {{$pdt->pdt_maker_name}} | 제조사 | |
| {{$pdt->pdt_madein}} | 원산지 | |
| {{$pdt->manufacture_date}} | 제조일자 | |
| {{$pdt->launching_date}} | 출시일자 | |
| {{$pdt->pdt_keyword}} | 상품검색어 | |
| {{$pdt->summary_desc}} | 상품간략설명 | |
| {{$pdt->detail_img[0]"/> | 리스트이미지 | <img src="{{$pdt->detail_img[0]}}"/> |
| {{$pdt->detail_img[1]"/> | 상세이미지 | <img src="{{$pdt->detail_img[1]}}"/> |
| {{$pdt->detail_img[2]"/> | 확대이미지 | <img src="{{$pdt->detail_img[2]}}"/> |
| {{$pdt->pdt_desc}} | 상세설명 | |
| {{ foreach from=$pdt->icon_idx key=k item=v }}< img border=""0"" hspace=""2"" align=""absbottom"" src=""{{$IMG_SERVER_}}/{{$IMG_PREFIX_}}{{$icon.$k->icon_path}}"" />{{ /foreach }} | 아이콘-1,2,3,4, | 아이콘 개수만큼 자동으로 아이콘을 노출시켜 줍니다. |
| {{$categoryPath[0]->title}} | 대분류 | <a href=""/"">Home{{if $categoryPath[0]->idx}} > <a href=""/Product/Category/list/cid/{{$categoryPath[0]->idx}}"">{{$categoryPath[0]->title}}{{/if}}{{if $categoryPath[1]->idx}} > <a href=""/Product/Category/list/cid/{{$categoryPath[1]->idx}}"">{{$categoryPath[1]->title}}{{/if}}{{if $categoryPath[2]->idx}} > <a href=""/Product/Category/list/cid/{{$categoryPath[2]->idx}}"">{{$categoryPath[2]->title}}{{/if}}> {{$pdt->pdt_name}} |
| {{$categoryPath[1]->title}} | 중분류 | |
| {{$categoryPath[2]->title}} | 소분류 | |
| {{$param->pid}} | 상품번호 | |
| {{$option_qty_name}} | 옵션명 변경 | 노출옵션명이 두개 이상인경우 전부다 노출시켜 줍니다. |
이전글 |
|
|---|---|
다음글 |