ZenCart Products All의 H1 텍스트 변경방법

index.php?main_page?products_all<h1 id="allProductsDefaultHeading">Products</h1>
의 텍스트를 변경하는 방법.

검색해보면 일반적인 방법들 많이 나와있지만
이렇게 되어 있는 경우도 있어 정리한다.

위의 h1의 텍스트는

/includes/templates/templates_default/tpl_products_all_default.php에 아래와 같이 되어 있다.

<h1 id="allProductsDefaultHeading"><?php echo HEADING_TITLE; ?></h1>

그렇다면 HEADING_TITLE 상수가 정의되어 있는 곳을 찾아서 문구를 변경해야 하는데

이 HEADING_TITLE 이 정의되어 있는 곳이 한곳이 아니므로 사이트마다 다를수 있다.

이 사이트 경우에는 아래 페이지 라인13에 정의되어 있었다.

/includes/languages/english/extra_definitions/pure_green/product_filter_defines.php

참고:
HEADING_TITLE 과 같은 상수가 어디 정의되어 있는지 찾고 싶다면
admin 접속하여 tools > developer tool kit에서 검색하면 싶게 찾을 수 있다.

참조URL:
Products all page의 Configuration options
http://www.zen-cart.com/wiki/index.php/Products_all_page

HEADING_TITLE 수정방법 (다른 예제)
http://www.zen-cart.com/showthread.php?197499-Creating-an-option-to-hide-the-sort-products-dropdown-within-the-admin

젠카트 가장 많이 하는 질문 top10
http://www.zen-cart.com/wiki/index.php/Top_10_questions

ZenCart Products All의 H1 텍스트 변경방법
Scroll to top