Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Changing the text "Model:"

Changing the text "Model:"

Locked

Views: 909

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
11 Jun 2010, 9:03 AM
#1
yamadan avatar

yamadan

New Zenner

Join Date:
Nov 2009
Posts:
60
Plugin Contributions:
0

Changing the text "Model:"

Hi,

I have changed this text in 3 places so far and it still does not show my new text??

the line is

//define('TEXT_PRODUCT_MODEL', 'Model: ');

define('TEXT_PRODUCT_MODEL', 'Product Code: ');

changed so far in my template override folder

includes/languages/english/theme213/document_general_info.php
includes/languages/english/theme213/document_product_info.php
includes/languages/english/theme213/product_info.php

when i search Model: in developer tools it brings up a dozen places, do I need to change them all???

thanks for any help.

11 Jun 2010, 9:21 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Changing the text "Model:"

Yes, if you want 'Model' to be 'Product Code' for every product on every page, you'll need to change it everywhere it's defined.

Obviously, if you aren't using a certain product type, you wouldn't need to edit that type's file.

Your edits should have shown up on the product info pages, though. Your path seems to be right. When I change that define in product_info.php and save the file to includes/languages/english/MY_TEMPLATE, it shows up on the product info page, so check that the files are where you think they are.

11 Jun 2010, 10:52 AM
#3
yamadan avatar

yamadan

New Zenner

Join Date:
Nov 2009
Posts:
60
Plugin Contributions:
0

Re: Changing the text "Model:"

Thanks again stevesh,

Sorted :D

Can I rate your post or give it a +
some forums have that option?