From 5eeec5b27d52ca2fa909dc2994c0418a9920e1cc Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 4 May 2017 11:05:52 +0200 Subject: [PATCH 1/2] update attribute.phtml to respect translation `$_attributeLabel` contains the translated label which then fails marvelously if your language isn't English. This is more of a quick fix cause if you do not use the translation of 'none' for an empty attribute it will still fail :( --- .../view/frontend/templates/product/view/attribute.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Catalog/view/frontend/templates/product/view/attribute.phtml b/app/code/Magento/Catalog/view/frontend/templates/product/view/attribute.phtml index 177b788f544ca..ec6c3dc639eee 100644 --- a/app/code/Magento/Catalog/view/frontend/templates/product/view/attribute.phtml +++ b/app/code/Magento/Catalog/view/frontend/templates/product/view/attribute.phtml @@ -34,7 +34,7 @@ if ($_attributeType && $_attributeType == 'text') {
- +
>
From 67a5b2ada5c7107bf4bd1175384268ac76b5857a Mon Sep 17 00:00:00 2001 From: Steven Date: Mon, 8 May 2017 15:55:36 +0200 Subject: [PATCH 2/2] Update attribute.phtml sometimes it is translated, sometimes not... *rainbow* --- .../view/frontend/templates/product/view/attribute.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Catalog/view/frontend/templates/product/view/attribute.phtml b/app/code/Magento/Catalog/view/frontend/templates/product/view/attribute.phtml index ec6c3dc639eee..eeee540b953ec 100644 --- a/app/code/Magento/Catalog/view/frontend/templates/product/view/attribute.phtml +++ b/app/code/Magento/Catalog/view/frontend/templates/product/view/attribute.phtml @@ -34,7 +34,7 @@ if ($_attributeType && $_attributeType == 'text') {
- +
>