{"id":14591081,"date":"2021-06-24T08:36:58","date_gmt":"2021-06-24T08:36:58","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/wc_qty-custom-quantity-field\/"},"modified":"2021-06-24T08:36:58","modified_gmt":"2021-06-24T08:36:58","slug":"wc_qty-custom-quantity-field","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/wc_qty-custom-quantity-field\/","title":{"rendered":"WC_qty, Custom quantity field"},"content":{"rendered":"<p>Hello! If you use WC_qty for the quantity of a product, then when the quantity of an item increases on the product page, the price is not recalculated, and if you use a custom field for the quantity of an item, then its change leads to a recalculation of the price, but in this case there is no way to add the same item to the cart other characteristics, because a message appears stating that it is not possible to add this product to the cart again, although it has different characteristics. How can this be done so that a change in the quantity of an item leads to a dynamic recalculation of the cost and at the same time, it is possible to add the same item to the cart, but with different characteristics?<\/p>\n","protected":false},"template":"","class_list":["post-14591081","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14591081","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\/14591081\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14591081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}