Article ID: 120383, created on Feb 28, 2014, last review on May 29, 2015

  • Applies to:
  • Odin Business Automation Standard 4.5
  • Odin Business Automation Standard 4.2

Steps to reproduce

  1. Go Top > Configuration Director > Miscellaneous Settings > Regional Settings and select Italian as Available languages.
  2. Go to the Store, select Italian language.
  3. Select any hosting plan, click Checkout.

Order details are not shown, the page is not refreshed:

Cause

The reason of this issue is Italian language. According to OBAS Language support:

Italian language pack can be installed on Odin Business Automation Standard, but will have incomplete or outdated translations. Locale translations contain apostrophes that break JavaScript in the store.

Such behavior was classified as the software issue PBAS-29287 and was fixed in OBAS 4.5.2 release.

Resolution

Upgrade OBAS to the latest version.

Hotfix for OBAS versions older than 4.5.2

Replace apostrophes with double quotes in the files resources.html.php and checkout.html.php:

[root@obas ~]# diff -U0 /var/opt/hspc-store/templates/resources.html.php.orig /var/opt/hspc-store/templates/resources.html.php
--- /var/opt/hspc-store/templates/resources.html.php.orig       2014-01-28 09:43:50.000000000 +0100
+++ /var/opt/hspc-store/templates/resources.html.php    2014-02-27 17:17:23.309000599 +0100
@@ -45 +45 @@
-       var string_RESOURCE_OUT_OF_RANGE = '<?php echo $view['translator']->trans('RESOURCE_OUT_OF_RANGE'); ?>';
+       var string_RESOURCE_OUT_OF_RANGE = "<?php echo $view['translator']->trans('RESOURCE_OUT_OF_RANGE'); ?>";

[root@obas ~]# diff -U0 /var/opt/hspc-store/templates/checkout.html.php.orig /var/opt/hspc-store/templates/checkout.html.php
--- /var/opt/hspc-store/templates/checkout.html.php.orig        2014-01-28 09:43:50.000000000 +0100
+++ /var/opt/hspc-store/templates/checkout.html.php     2014-02-27 17:17:38.011000510 +0100
@@ -23 +23 @@
-       var agreement_not_checked = '<?php echo $view['translator']->trans('ACCEPT_USER_AGREEMENT_ON_PLACE_ORDER'); ?>';
+       var agreement_not_checked = "<?php echo $view['translator']->trans('ACCEPT_USER_AGREEMENT_ON_PLACE_ORDER'); ?>";

Search Words

Italian store

Italian order details

62a72d260afd42b853c9105003928212 caea8340e2d186a540518d08602aa065 400e18f6ede9f8be5575a475d2d6b0a6 70a5401e8b9354cd1d64d0346f2c4a3e 624ca542e40215e6f1d39170d8e7ec75

Email subscription for changes to this article
Save as PDF