{"id":6777896,"date":"2015-11-23T10:47:18","date_gmt":"2015-11-23T10:47:18","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/add-to-cart-another-link\/"},"modified":"2016-08-30T20:34:23","modified_gmt":"2016-08-30T20:34:23","slug":"add-to-cart-another-link","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/add-to-cart-another-link\/","title":{"rendered":"add to cart: another link"},"content":{"rendered":"<p>Hi,<br \/>\nI would like to use the button &#8220;Buy on Amazon&#8221; with the link to open the page of the book and not directly to the cart.<br \/>\nIf I use the tamplate &#8220;Add To Cart&#8221; I have to change this link?<br \/>\n&lt;form method = &#8220;GET&#8221; action = &#8220;http: \/\/www.amazon.%TLD%\/gp\/aws\/cart\/add.html&#8221;&gt;<br \/>\nIf possible, you can tell me how?<\/p>\n<p>I would also like to know what I have to put of code to open the window in a blank page. Like so?:<br \/>\n&lt;form method = &#8220;GET&#8221; action = &#8220;http: \/\/www.amazon.%TLD%\/gp\/aws\/cart\/add.html&#8221; <strong>target=&#8221;_ blank&#8221;<\/strong>&gt;<\/p>\n<p>Thanks for any suggestions<br \/>\nMargherita<\/p>\n<p>https:\/\/wordpress.org\/plugins\/amazon-link\/<\/p>\n","protected":false},"template":"","class_list":["post-6777896","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6777896","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\/6777896\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6777896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}