{"id":7549425,"date":"2016-07-06T15:29:29","date_gmt":"2016-07-06T15:29:29","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/conditional-fields-based-on-product-quantity\/"},"modified":"2016-09-01T16:20:43","modified_gmt":"2016-09-01T16:20:43","slug":"conditional-fields-based-on-product-quantity","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/conditional-fields-based-on-product-quantity\/","title":{"rendered":"conditional fields based on product quantity"},"content":{"rendered":"<p>Scenario: Travel agent website, where a product is a trip somewhere and it can be booked for more than one person, so for two people the product gets added twice.<\/p>\n<p>Checkout Page: Needs to ask additional questions, like passport numbers, dietary requirements, etc for each passenger<\/p>\n<p>Question: Can WCM manage &#8216;blocks of fields&#8217;, a bit like GravityForms &#8216;Section Conditional Logic&#8217; &#8211; the conditional logic being the number of passengers booked on a particular trip. Equally, can it pass this info through to admin order\/emails?<\/p>\n<p>https:\/\/wordpress.org\/plugins\/woocommerce-checkout-manager\/<\/p>\n","protected":false},"template":"","class_list":["post-7549425","topic","type-topic","status-publish","hentry","topic-tag-conditional","topic-tag-quantity"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7549425","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\/7549425\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=7549425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}