{"id":15492476,"date":"2022-03-24T15:16:15","date_gmt":"2022-03-24T15:16:15","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/empty-attributes-2\/"},"modified":"2022-03-24T15:16:15","modified_gmt":"2022-03-24T15:16:15","slug":"empty-attributes-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/empty-attributes-2\/","title":{"rendered":"empty attributes&#8230;"},"content":{"rendered":"<p>Hi there,<\/p>\n<p>I have a webshop selling computers, tablets, smartphones and printers so it has a different type products which need different attributes.<\/p>\n<p>What I&#8217;m looking for is to let the un-used attributes stay un-shown in the compare list because this is causing a lot of empty attribute blocks which is not looking nice&#8230;<\/p>\n<p>As you know attributes for a printer are different than the ones for a laptop so i need to keep all the attributes in settings checked but empty ones need to disappear, how would i do that?<\/p>\n<p>Regards,<br \/>\nRami<\/p>\n","protected":false},"template":"","class_list":["post-15492476","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15492476","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15492476\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=15492476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}