I am thinking something else is wrong.....and, I a sorry this is so long...I don't know how to fully describe it in a shorter way.
The voucher.twig page is pulling the following for this line:
However, the heading_title in the voucher.php language file is
Code: Select all
$_['heading_title'] = 'Purchase a Gift Certificate';
But that is not showing up. What is showing up is "Account"
I didn't really track this any further, however I did find that the definition "$_['heading_title'] = 'Account';" appears in the following language files:
- catalog\language\en-gb\extension\module\account.php
- admin\language\en-gb\extension\module\account.php
- catalog\language\en-gb\account\download.php
- catalog\language\en-gb\account\login.php
- catalog\language\en-gb\account\logout.php
I guess I could go in and change each definition until I find the right one, but since pulling from any of those files is the wrong solution, I did the following...
I changed "heading_title" to "text_voucher" which should give "Gift Certificate" from the voucher.php language file.
But what showed up was "Gift Certificates" rather than "Gift Certificate" (the "s" on the end).
The only place that "$_['text_voucher'] = 'Gift Certificates';" is defined is in the footer.php language file.
So I went into the footer.php language file, changed "Gift Certificates" to "Gift Certificates Test" and reloaded my page, and what showed up now was "Gift Certificates Test". (of course "Gift Certificates Test" now also shows up in the footer)
So, I think the voucher.twig file is at least in part pulling info from the footer.php language file rather than the voucher.php language file.
So, is it a bug? Did I win a million dollar finders fee!? Or, at least, do you have any ideas how to fix it?