2012-12-13 3 views

답변

1

.phtml 파일이 app/design/frontend/base/default/checkout 인 것 같습니다. 그렇다면 파일을 복사하여 자신의 사용자 지정 테마 (app/design/frontend/[custom_package]/[custom_theme]/template/checkout/...)에 붙여 넣을 수 있습니다.

.phtml 템플릿 파일에서 읽기 전용으로 또는 원하는대로 텍스트 상자를 수정하십시오.

참고 아니요 코어 파일을 수정하는 것이 좋습니다. app/design/ 코드의 경우 자체 패키지/테마를 만들고 기본 콘텐츠를 복사하여 붙여넣고 거기에서 수정하는 것이 좋습니다 (패키지/테마가 관리 패널에 설정되어 있는지 확인하십시오).

orginal 한 파일 위치는 : /app/design/frontend/base/default/template/checkout/cart/item

+0

에는 어떤 체크 아웃 폴더 – Prakash

+0

물론이'응용 프로그램/디자인/프론트 엔드/기초/기본/템플릿/checkout'이 없기로 주석 입력 태그입니다. 만약/base/default /가 아니라면/default/default/또는 다른 패키지/테마가 –

+0

인데 cart.phtml에 있으면 그 텍스트 필드를 볼 수 없습니다 : ^) .. – Prakash

0

예는, 경로 응용 프로그램의 \ 디자인 \ 프론트 엔드 \ 기본 \ 기본 \ 템플릿 \ 카탈로그 \ 제품 \보기 \의 addtocart.phtml 다음에 갈 수 있습니다.

<?php $_product = $this->getProduct(); ?> 
<?php $buttonTitle = $this->__('Add to Cart'); ?> 
<?php if($_product->isSaleable()): ?> 
    <div class="add-to-cart"> 
     <?php if(!$_product->isGrouped()): ?> 
     <label for="qty"><?php echo $this->__('Qty:') ?></label> 
     <input type="text" name="qty" id="qty" maxlength="12" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" /> 
     <?php endif; ?> 
     <button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $buttonTitle ?></span></span></button> 
     <?php echo $this->getChildHtml('', true, true) ?> 
    </div> 
<?php endif; ?> 

편집

텍스트 또는 당신의 소원

+0

장바구니에서 같은 것을 편집하는 방법 ?? 그것 제품 페이지에 관하여 (장바구니에 담기). – Prakash

+0

@Prakash 제품 페이지 또는 카트 페이지에 대해 이야기하고 있습니까 ??? –

+1

장바구니 페이지가 @Shredder 제안을 따른다면. – chanz

관련 문제