{"id":9402130,"date":"2017-08-11T15:18:26","date_gmt":"2017-08-11T15:18:26","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/error-message-621\/"},"modified":"2017-08-11T15:18:26","modified_gmt":"2017-08-11T15:18:26","slug":"error-message-621","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/error-message-621\/","title":{"rendered":"Error Message"},"content":{"rendered":"<p>I am trying to use a bulk pricing plugin and not sure if this error is theme related. It does not seem to be plugin related.<\/p>\n<p>When a customer selects, say, 10 items adn I go to the &#8220;cart&#8221; page the discount is not there automatically. For some strange reason I have to click on &#8220;apply coupon&#8221; even though I have no coupons assigned anywhere to any items.<\/p>\n<p>My error log give me this message:<\/p>\n<p>The &#8220;add_to_cart_fragments&#8221; hook uses out of date data structures and function is deprecated since version 3.1.1. Replace with woocommerce_add_to_cart_fragments.<\/p>\n<p>So is there some code I can add anywhere to circumvent this issue?<\/p>\n<p>Thank you!<\/p>\n","protected":false},"template":"","class_list":["post-9402130","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9402130","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\/9402130\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9402130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}