Jump to content

[Resolved] Customizing Button Text


BradScott

Recommended Posts

In the skin template box.featured.php, near the bottom:

Find:
<input type="submit" class="button_default" value="{$LANG.catalogue.buy_now} &raquo;" />

Change to:
<input type="submit" class="button_default" value="{$LANG.catalogue.add_to_basket} &raquo;" />

 

Link to comment
Share on other sites

More or less.

I have not done it this way, but I think it would work:

Copy the file /language/en-GB.xml to a different name - en-GB-BradScott.xml, for example. (Use the language code you intend to use.)

Change the <group> name to "bradscott" and the <string> name to "custom_buy_now". Change the phrase, <![CDATA[County]]>, to what you want.

Then, where changed {$LANG.catalogue.buy_now}, replace that with {$LANG.bradscott.custom_buy_now}.

It is possible to change an existing phrase, but then that change applies everywhere. Creating a custom file allows you keep the existing phrase where you want to show the existing phrase, but add your own.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...