I have an attribute named warranty. I want to show it on top of the page (it is ok and done), but don't need to show it on the description table on product page with other attributes. what should I do?
want to use something like this:
<?php if($_data['value'] == 'N/A') continue;?>
in attributes.phtml but nut use value, use backend_code or frontend_label. but it doesn't work...
Add a comment
|
1 Answer
Follow these steps
- Go to Store->Attributes->Products
- Search warranty attribute and open it
- Open tab Storefront Properties
- Select Visible on Catalog Pages on Storefront to Yes
- Run Re-index
- Flush cache
Hope this will work for you
-
Thanks, knew it, my problem is: want to show under title, that it shows now, but on more information tab, that shows table of attributes, don't want to show this attribute.– MGPMCommented Sep 2, 2019 at 6:25
-
Did you follow above steps? Because I have already used it in my project and above process removed attribute from information tab. Commented Sep 2, 2019 at 6:27
-
-
1Did you recache your website if its still showing that could be the only possible reason Commented Sep 2, 2019 at 6:53
-
1Probably information tab is created with some custom module. Enable template hints and check how attributes are getting in that phtml Commented Sep 2, 2019 at 6:54