{"id":13053140,"date":"2020-06-30T10:52:06","date_gmt":"2020-06-30T10:52:06","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=topic&#038;p=13053140"},"modified":"2020-06-30T13:29:25","modified_gmt":"2020-06-30T13:29:25","slug":"problem-applying-discounts-to-non-composite-items","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/problem-applying-discounts-to-non-composite-items\/","title":{"rendered":"Problem applying discounts to non-composite items"},"content":{"rendered":"<p>I have a Dynamic Discount plugin I use to apply a discount to a product category &#8220;A&#8221; when purchasing 2 or more.<\/p>\n<p>I already have a separate discount when that product category is in a composite product. But the Discount plugin picks up the item category &#8220;A&#8221; in the composite product selections and adds an additional discount to it.<\/p>\n<p>Is it possible for the plugin to have an option for the composite product to not include or to dynamically remove the child-item&#8217;s product categories info from being included in the cart line items somehow?<\/p>\n","protected":false},"template":"","class_list":["post-13053140","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13053140","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":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13053140\/revisions"}],"predecessor-version":[{"id":13053817,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13053140\/revisions\/13053817"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=13053140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}