ErrorOops, something went wrong (SyntaxError: Unexpected end of JSON input). Please try again.
The problem requires examination on your server. Please contact us via Customer Help Desk and provide temporary access to your server by clicking on the Add record link on the Access information page of your Help Desk account so that we could examine the issue.
The problem requires examination on your server. Please contact us via Customer Help Desk and provide temporary access to your server by clicking on the Add record link on the Access information page of your Help Desk account so that we could examine the issue.
Can I copy and pasty (without problems) entire content of fn.init.php ( app/functions ) from another new installed version 4.3.9 ?
Open the fn.init.php file located in the app/functions directory of your CS-Cart installation.
Find and replace the following part of code: foreach ($currencies as $v) {
if ($v['is_primary'] == 'Y') {
$secondary_currency = $v['currency_code'];
break;
}
}with this one: $secondary_currency = 'DESIRED_CURRENCY_CODE';
where replace "DESIRED_CURRENCY_CODE" with the 3-symbol code of the currency that you want to be selected by default in the storefront (USD, EUR, etc.).