Hi all,
another small thing i hope, in Englis the product view works fine, but when i put it on the Dutch language the product attribute is titled as “none” (in dutch geen) in Product view
screen just above the short description.
anyone one what to do to get the "geen" (NONE) out of the product view ?
it is only showing up in the Dutch language!
Greetings, Wilfred
I Use Mageneto version 2.1.6
Hi
I don't see the screenshot.
If you edit the attribute (Stores > Attributes > Product) and go to the "Manage labels" page, you should see that "geen" is defined as the title for the Dutch store view.
Hi,
You also can edit same theme files to filter out the default "none" in other languages (like "geen" or "keine".
/public_html/app/design/frontend/**YOUR THEME VENDOR**/***THEME FOLDER****/Magento_Catalog/templates/product/view
Edit File: attribute.phtml
<?php if ($_attributeValue): ?> <div class="product attribute <?php /* @escapeNotVerified */ echo $_className?>"> <?php if ($_attributeLabel != 'none' && $_attributeLabel != 'geen' && $_attributeLabel != 'keine' ): ?><strong class="type"><?php /* @escapeNotVerified */ echo $_attributeLabel?></strong><?php endif; ?>
You will need to add this to the IF statement (in my example on line 37).
&& $_attributeLabel != 'geen' && $_attributeLabel != 'keine'
If you delete the short description of the product the 'geen' goes away.
This one worked!
It no longer shows up with this.