{"id":2192,"date":"2019-12-12T11:27:17","date_gmt":"2019-12-12T16:27:17","guid":{"rendered":"https:\/\/www.thatsoftwareguy.com\/blog\/?p=2192"},"modified":"2019-12-12T11:27:18","modified_gmt":"2019-12-12T16:27:18","slug":"automatically-adding-a-downloadable-product-to-the-cart","status":"publish","type":"post","link":"https:\/\/www.thatsoftwareguy.com\/blog\/2019\/12\/12\/automatically-adding-a-downloadable-product-to-the-cart\/","title":{"rendered":"Automatically adding a downloadable product to the cart"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">People are using <a href=\"https:\/\/www.thatsoftwareguy.com\/zencart_auto_add.html\">Zen Cart Auto Add<\/a> to add bonus products to the cart when specific high  value products are bought.   But what if the bonus product is a downloadable?  Since downloadables have attributes, this won&#8217;t work, right?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wrong!  All you need to do is install my free <a href=\"https:\/\/www.thatsoftwareguy.com\/zencart_default_attribute.html\">Default Attribute<\/a> contribution, and you&#8217;ll be able to do this.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>People are using Zen Cart Auto Add to add bonus products to the cart when specific high value products are bought. But what if the bonus product is a downloadable? Since downloadables have attributes, this won&#8217;t work, right? Wrong! All you need to do is install my free Default Attribute contribution, and you&#8217;ll be able &hellip; <a href=\"https:\/\/www.thatsoftwareguy.com\/blog\/2019\/12\/12\/automatically-adding-a-downloadable-product-to-the-cart\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Automatically adding a downloadable product to the cart<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58,78],"tags":[],"class_list":["post-2192","post","type-post","status-publish","format-standard","hentry","category-that-software-guy","category-zen-cart"],"_links":{"self":[{"href":"https:\/\/www.thatsoftwareguy.com\/blog\/wp-json\/wp\/v2\/posts\/2192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thatsoftwareguy.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thatsoftwareguy.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thatsoftwareguy.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thatsoftwareguy.com\/blog\/wp-json\/wp\/v2\/comments?post=2192"}],"version-history":[{"count":1,"href":"https:\/\/www.thatsoftwareguy.com\/blog\/wp-json\/wp\/v2\/posts\/2192\/revisions"}],"predecessor-version":[{"id":2193,"href":"https:\/\/www.thatsoftwareguy.com\/blog\/wp-json\/wp\/v2\/posts\/2192\/revisions\/2193"}],"wp:attachment":[{"href":"https:\/\/www.thatsoftwareguy.com\/blog\/wp-json\/wp\/v2\/media?parent=2192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thatsoftwareguy.com\/blog\/wp-json\/wp\/v2\/categories?post=2192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thatsoftwareguy.com\/blog\/wp-json\/wp\/v2\/tags?post=2192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}