{"id":12722911,"date":"2020-04-23T23:20:00","date_gmt":"2020-04-23T23:20:00","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/conditional-visibility-for-color-and-or-size-variation\/"},"modified":"2020-04-23T23:20:00","modified_gmt":"2020-04-23T23:20:00","slug":"conditional-visibility-for-color-and-or-size-variation","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/conditional-visibility-for-color-and-or-size-variation\/","title":{"rendered":"Conditional visibility for color and\/or size variation"},"content":{"rendered":"<p>Hello <\/p>\n<p>If anyone could help with the following would be highly appreciated<br \/>\nI am doing a wholesale and retail shop page, I don&#8217;t need to create a user role as I want  all to be able to purchase as there choice a the same time<br \/>\nwhat I wanted to achieve is to the customer to have an option like wholesale or retail.<br \/>\nif the choose wholesale the product variations such as color and\/or size will be disabled or hidden, if they choose retail then those options will be visible so that they can choose,<br \/>\nif there is any plugin with that I can active that or any other option please let me know<\/p>\n<p>Note: using the woodmart theme with wpbakery page builder<\/p>\n<p>might not be the best explanation but I hope it is clear enough to get the idea <\/p>\n<p>thank you and stay safe<\/p>\n","protected":false},"template":"","class_list":["post-12722911","topic","type-topic","status-publish","hentry","topic-tag-conditional-logic"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12722911","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\/12722911\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12722911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}