Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
Twitch Base8 - Obsidian - This, is what's new.
AUD as in Australia.
There is no way to change the sort order in 1.5.6 but I have AUD as default currency and that does not make any difference. Thanks.
There is not any option to do this?
Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
Twitch Base8 - Obsidian - This, is what's new.
Thanks! :)
There is a new version of this module available for 1.56c with minor bugs fixed and some new features to make it easier to use/install. I'll be packing it up shortly for public release!
Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
Twitch Base8 - Obsidian - This, is what's new.
I downloaded this plugin and wanted to use it for v1.5.7c on a php 7.4.16 site.
Originally the plugin is for v1.5.5 so I compared the original templates with the plugin templates and adjusted them for v1.5.7c
This will work only if your site php is lower than php 7.2
Because each() function is deprecated in php 7.2 you'll get a lot of error logs.
A search in the forum didn't give me any solution but Google found one that I could work out further:
If your site is php 7.2 or higher than find all instances of "each" like:
\includes\modules\header_currencies.php
Replace
ByPHP Code:
<?php
while (list($key, $value) = each($currencies->currencies)) {
ReplacePHP Code:
<?php
foreach($currencies->currencies as $key => $value) {
ByPHP Code:
<?php
while (list($key, $value) = each($_GET)) {
\includes\templates\template_default\common\tpl_header_languages.phpPHP Code:
<?php
foreach($_GET as $key => $value) {
Replace
ByPHP Code:
<?php
while (list($key, $value) = each($lng->catalog_languages)) {
Changes in ALL_TEMPLATES\common\tpl_header.php for v1.5.7c are more extensive and include a change so it will fit for multi-lingual shops that have customers in whose language the word "language" isn't "language". This word is hard-coded in the file.PHP Code:
<?php
foreach ($lng->catalog_languages as $key => $value) {
My adaptation of the plugin works fine for me and as a member of the community of ZenCart users, I thought it would only be fair to share it with others users. So I submitted my version of this plugin which I tested and use for Zen Cart v1.5.7c on a php 7.4.16 site.
I has been approved and is available for download Language/Currency Links in Header version v3.0
Bookmarks