{"id":7384,"date":"2019-08-13T17:23:38","date_gmt":"2019-08-13T09:23:38","guid":{"rendered":"https:\/\/5566.site\/?p=7384"},"modified":"2020-08-17T04:36:56","modified_gmt":"2020-08-17T04:36:56","slug":"woocommerce%e6%b7%bb%e5%8a%a0%e8%87%aa%e5%ae%9a%e4%b9%89%e6%8c%89%e9%92%ae","status":"publish","type":"post","link":"https:\/\/5566.site\/en\/web7384html","title":{"rendered":"woocommerce add custom button"},"content":{"rendered":"<p>Woocommerce has only one add to cart button by default, which can no longer meet the various requirements of our customers. Sometimes it is necessary to add custom buttons to product pages, such as buttons for downloading materials, or linking to other online stores to buy, etc. Wait, you need to add custom fields<\/p>\n<p>With the custom field plugin Custom Field Suite<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-7411\" src=\"https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite.png\" alt=\"Custom Field SuiteCustom Fields\" width=\"571\" height=\"252\" srcset=\"https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite.png 571w, https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite-300x132.png 300w, https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite-150x66.png 150w, https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite-400x177.png 400w\" sizes=\"(max-width: 571px) 100vw, 571px\" \/><\/p>\n<p>Add field group<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-7412\" src=\"https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite2.png\" alt=\"Custom Field SuiteCustom Fields\" width=\"819\" height=\"633\" srcset=\"https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite2.png 819w, https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite2-300x232.png 300w, https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite2-150x116.png 150w, https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite2-600x464.png 600w, https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite2-400x309.png 400w, https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite2-768x594.png 768w, https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite2-705x545.png 705w\" sizes=\"(max-width: 819px) 100vw, 819px\" \/><\/p>\n<p>Then your product will have an additional field group, and this field will correspond to the current product, whether it is text, link, upload file, etc.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-7413\" src=\"https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite3.png\" alt=\"Custom Field SuiteCustom Fields\" width=\"819\" height=\"338\" srcset=\"https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite3.png 819w, https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite3-300x124.png 300w, https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite3-150x62.png 150w, https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite3-600x248.png 600w, https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite3-400x165.png 400w, https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite3-768x317.png 768w, https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/Custom-Field-Suite3-705x291.png 705w\" sizes=\"(max-width: 819px) 100vw, 819px\" \/><\/p>\n<p>Finally, it is necessary to output and display these fields. The official output interface of the plug-in uses http:\/\/customfieldsuite.com\/api\/get.html<\/p>\n<p>&nbsp;<\/p>\n<p>The following takes the Avada theme as an example: added to the child theme functions.php, the output interface is displayed on a single product page, that is, next to the add to cart button.<\/p>\n<hr \/>\n<blockquote><p>add_action( &#039;woocommerce_single_product_summary&#039;, &#039;my_extra_button_on_product_page&#039;, 30 );<\/p>\n<p>function my_extra_button_on_product_page()<\/p>\n<p>{<\/p>\n<p>global $product;<\/p>\n<p>echo &amp;#039;&lt;a href=&quot;\/en\/&rdquo;URL&rdquo;\/?wmc-currency=USD&quot;&gt;Add to cart&lt;\/a&gt;&amp;#039;;<\/p>\n<p>}<\/p><\/blockquote>\n<hr \/>\n<p>or<\/p>\n<hr \/>\n<blockquote><p>add_action( &#039;woocommerce_single_product_summary&#039;, &#039;custom_button_after_product_summary&#039;, 30 );<\/p>\n<p>function custom_button_after_product_summary()<\/p>\n<p>{<\/p>\n<p>global $product;<\/p>\n<p>echo CFS()-&gt;get( &#039;amazon&#039; ) ;<br \/>\necho &amp;#039;&lt;a class=&quot;\\&rsquo;amazon\\&rsquo;&quot; href=&quot;\/en\/&rdquo;\/?wmc-currency=USD&quot; &lsquo;. cfs()-&gt;get(&amp;#039;amazon&amp;#039; ).&amp;#039; &rdquo;&amp;gt;BUY ON AMAZON&lt;\/a&gt; &amp;#039;;<br \/>\necho &amp;#039;&lt;div class=&quot;\\&rsquo;amazon\\&rsquo;&quot;&gt; &amp;#039;.CFS()-&amp;gt;get(&amp;#039;amazon&amp;#039;) .&amp;#039;&lt;\/div&gt; &amp;#039;;<\/p>\n<p>}<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>By default, woocommerce has only one add<\/p>","protected":false},"author":1,"featured_media":7414,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37],"tags":[],"class_list":["post-7384","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>woocommerce\u6dfb\u52a0\u81ea\u5b9a\u4e49\u6309\u94ae \u5916\u94fe\u63a5\u5230\u5176\u5b83\u7f51\u5e97\u5e73\u53f0 | Wordpress\u4e3b\u9898\u63d2\u4ef6\u6c49\u5316-Mloun<\/title>\n<meta name=\"description\" content=\"woocommerce\u9ed8\u8ba4\u90fd\u662f\u53ea\u6709\u4e00\u4e2a\u6dfb\u52a0\u5230\u8d2d\u7269\u8f66\u6309\u94ae\uff0c\u5df2\u7ecf\u6ee1\u8db3\u4e0d\u4e86\u6211\u4eec\u5ba2\u6237\u5404\u79cd\u8981\u6c42\uff0c\u6709\u65f6\u9700\u8981\u6dfb\u52a0\u81ea\u5b9a\u4e49\u6309\u94ae\u5230\u4ea7\u54c1\u9875\u9762\uff0c\u6bd4\u5982\u4ec0\u4e48\u4e0b\u8f7d\u8d44\u6599\u7684\u6309\u94ae\uff0c\u6216\u8005\u641e\u4e2a\u94fe\u63a5\u5230\u5176\u5b83\u7f51\u5e97\u53bb\u8d2d\u4e70\uff0c\u7b49\u7b49\uff0c\u5c31\u9700\u8981\u6dfb\u52a0\u81ea\u5b9a\u4e49\u5b57\u6bb5\u4e86 \u914d\u5408\u81ea\u5b9a\u4e49\u5b57\u6bb5\u63d2\u4ef6Custom Field Suite \u6dfb\u52a0\u5b57\u6bb5\u7ec4\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/5566.site\/en\/web7384html?wmc-currency=USD\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"woocommerce\u6dfb\u52a0\u81ea\u5b9a\u4e49\u6309\u94ae \u5916\u94fe\u63a5\u5230\u5176\u5b83\u7f51\u5e97\u5e73\u53f0 | Wordpress\u4e3b\u9898\u63d2\u4ef6\u6c49\u5316-Mloun\" \/>\n<meta property=\"og:description\" content=\"woocommerce\u9ed8\u8ba4\u90fd\u662f\u53ea\u6709\u4e00\u4e2a\u6dfb\u52a0\u5230\u8d2d\u7269\u8f66\u6309\u94ae\uff0c\u5df2\u7ecf\u6ee1\u8db3\u4e0d\u4e86\u6211\u4eec\u5ba2\u6237\u5404\u79cd\u8981\u6c42\uff0c\u6709\u65f6\u9700\u8981\u6dfb\u52a0\u81ea\u5b9a\u4e49\u6309\u94ae\u5230\u4ea7\u54c1\u9875\u9762\uff0c\u6bd4\u5982\u4ec0\u4e48\u4e0b\u8f7d\u8d44\u6599\u7684\u6309\u94ae\uff0c\u6216\u8005\u641e\u4e2a\u94fe\u63a5\u5230\u5176\u5b83\u7f51\u5e97\u53bb\u8d2d\u4e70\uff0c\u7b49\u7b49\uff0c\u5c31\u9700\u8981\u6dfb\u52a0\u81ea\u5b9a\u4e49\u5b57\u6bb5\u4e86 \u914d\u5408\u81ea\u5b9a\u4e49\u5b57\u6bb5\u63d2\u4ef6Custom Field Suite \u6dfb\u52a0\u5b57\u6bb5\u7ec4\" \/>\n<meta property=\"og:url\" content=\"https:\/\/5566.site\/en\/web7384html?wmc-currency=USD\" \/>\n<meta property=\"og:site_name\" content=\"Wordpress\u4e3b\u9898\u63d2\u4ef6\u6c49\u5316-Mloun\" \/>\n<meta property=\"article:published_time\" content=\"2019-08-13T09:23:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-17T04:36:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/code.png\" \/>\n\t<meta property=\"og:image:width\" content=\"534\" \/>\n\t<meta property=\"og:image:height\" content=\"568\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u6d6a\u82b1\u5c9b\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6d6a\u82b1\u5c9b\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/5566.site\\\/en\\\/web7384html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/5566.site\\\/en\\\/web7384html\"},\"author\":{\"name\":\"\u6d6a\u82b1\u5c9b\",\"@id\":\"https:\\\/\\\/5566.site\\\/en\\\/#\\\/schema\\\/person\\\/7305519cbaaed13b3bf3e89698ec32dc\"},\"headline\":\"woocommerce\u6dfb\u52a0\u81ea\u5b9a\u4e49\u6309\u94ae\",\"datePublished\":\"2019-08-13T09:23:38+00:00\",\"dateModified\":\"2020-08-17T04:36:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/5566.site\\\/en\\\/web7384html\"},\"wordCount\":105,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/5566.site\\\/en\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/5566.site\\\/en\\\/web7384html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/5566.site\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/code.png\",\"articleSection\":[\"wordpress\u5efa\u7ad9\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/5566.site\\\/en\\\/web7384html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/5566.site\\\/en\\\/web7384html\",\"url\":\"https:\\\/\\\/5566.site\\\/en\\\/web7384html\",\"name\":\"woocommerce\u6dfb\u52a0\u81ea\u5b9a\u4e49\u6309\u94ae \u5916\u94fe\u63a5\u5230\u5176\u5b83\u7f51\u5e97\u5e73\u53f0 | Wordpress\u4e3b\u9898\u63d2\u4ef6\u6c49\u5316-Mloun\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/5566.site\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/5566.site\\\/en\\\/web7384html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/5566.site\\\/en\\\/web7384html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/5566.site\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/code.png\",\"datePublished\":\"2019-08-13T09:23:38+00:00\",\"dateModified\":\"2020-08-17T04:36:56+00:00\",\"description\":\"woocommerce\u9ed8\u8ba4\u90fd\u662f\u53ea\u6709\u4e00\u4e2a\u6dfb\u52a0\u5230\u8d2d\u7269\u8f66\u6309\u94ae\uff0c\u5df2\u7ecf\u6ee1\u8db3\u4e0d\u4e86\u6211\u4eec\u5ba2\u6237\u5404\u79cd\u8981\u6c42\uff0c\u6709\u65f6\u9700\u8981\u6dfb\u52a0\u81ea\u5b9a\u4e49\u6309\u94ae\u5230\u4ea7\u54c1\u9875\u9762\uff0c\u6bd4\u5982\u4ec0\u4e48\u4e0b\u8f7d\u8d44\u6599\u7684\u6309\u94ae\uff0c\u6216\u8005\u641e\u4e2a\u94fe\u63a5\u5230\u5176\u5b83\u7f51\u5e97\u53bb\u8d2d\u4e70\uff0c\u7b49\u7b49\uff0c\u5c31\u9700\u8981\u6dfb\u52a0\u81ea\u5b9a\u4e49\u5b57\u6bb5\u4e86 \u914d\u5408\u81ea\u5b9a\u4e49\u5b57\u6bb5\u63d2\u4ef6Custom Field Suite \u6dfb\u52a0\u5b57\u6bb5\u7ec4\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/5566.site\\\/en\\\/web7384html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/5566.site\\\/en\\\/web7384html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/5566.site\\\/en\\\/web7384html#primaryimage\",\"url\":\"https:\\\/\\\/5566.site\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/code.png\",\"contentUrl\":\"https:\\\/\\\/5566.site\\\/wp-content\\\/uploads\\\/2019\\\/08\\\/code.png\",\"width\":534,\"height\":568,\"caption\":\"code\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/5566.site\\\/en\\\/web7384html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/5566.site\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"woocommerce\u6dfb\u52a0\u81ea\u5b9a\u4e49\u6309\u94ae\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/5566.site\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/5566.site\\\/en\\\/\",\"name\":\"Wordpress\u4e3b\u9898\u63d2\u4ef6\u6c49\u5316-Mloun\",\"description\":\"\u6d6a\u82b1\u5c9b\",\"publisher\":{\"@id\":\"https:\\\/\\\/5566.site\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/5566.site\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/5566.site\\\/en\\\/#organization\",\"name\":\"\u6d6a\u82b1\u5c9b\",\"url\":\"https:\\\/\\\/5566.site\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/5566.site\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/5566.site\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/logo-700.png\",\"contentUrl\":\"https:\\\/\\\/5566.site\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/logo-700.png\",\"width\":700,\"height\":700,\"caption\":\"\u6d6a\u82b1\u5c9b\"},\"image\":{\"@id\":\"https:\\\/\\\/5566.site\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/5566.site\\\/en\\\/#\\\/schema\\\/person\\\/7305519cbaaed13b3bf3e89698ec32dc\",\"name\":\"\u6d6a\u82b1\u5c9b\",\"description\":\"Wordpress \u5916\u8d38\u5efa\u7ad9\uff0cB2B\u4f01\u4e1a\u5c55\u793a\uff0cB2C\u5728\u7ebf\u5546\u5e97\uff0cB2B2C\u5e73\u53f0\uff0cWordpress\u4e3b\u9898\u548c\u63d2\u4ef6\u7ffb\u8bd1\",\"sameAs\":[\"https:\\\/\\\/5566.site\"],\"url\":\"https:\\\/\\\/5566.site\\\/en\\\/webauthor\\\/hacken\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"woocommerce adds custom button external links to other online store platforms | Wordpress theme plugin Chinese-Mloun","description":"Woocommerce has only one add to cart button by default, which can no longer meet the various requirements of our customers. Sometimes it is necessary to add custom buttons to product pages, such as buttons for downloading materials, or linking to other online stores to buy, etc. Wait, you need to add custom fields to add field groups with the custom field plugin Custom Field Suite","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/5566.site\/en\/web7384html?wmc-currency=USD","og_locale":"en_US","og_type":"article","og_title":"woocommerce\u6dfb\u52a0\u81ea\u5b9a\u4e49\u6309\u94ae \u5916\u94fe\u63a5\u5230\u5176\u5b83\u7f51\u5e97\u5e73\u53f0 | Wordpress\u4e3b\u9898\u63d2\u4ef6\u6c49\u5316-Mloun","og_description":"woocommerce\u9ed8\u8ba4\u90fd\u662f\u53ea\u6709\u4e00\u4e2a\u6dfb\u52a0\u5230\u8d2d\u7269\u8f66\u6309\u94ae\uff0c\u5df2\u7ecf\u6ee1\u8db3\u4e0d\u4e86\u6211\u4eec\u5ba2\u6237\u5404\u79cd\u8981\u6c42\uff0c\u6709\u65f6\u9700\u8981\u6dfb\u52a0\u81ea\u5b9a\u4e49\u6309\u94ae\u5230\u4ea7\u54c1\u9875\u9762\uff0c\u6bd4\u5982\u4ec0\u4e48\u4e0b\u8f7d\u8d44\u6599\u7684\u6309\u94ae\uff0c\u6216\u8005\u641e\u4e2a\u94fe\u63a5\u5230\u5176\u5b83\u7f51\u5e97\u53bb\u8d2d\u4e70\uff0c\u7b49\u7b49\uff0c\u5c31\u9700\u8981\u6dfb\u52a0\u81ea\u5b9a\u4e49\u5b57\u6bb5\u4e86 \u914d\u5408\u81ea\u5b9a\u4e49\u5b57\u6bb5\u63d2\u4ef6Custom Field Suite \u6dfb\u52a0\u5b57\u6bb5\u7ec4","og_url":"https:\/\/5566.site\/en\/web7384html?wmc-currency=USD","og_site_name":"Wordpress\u4e3b\u9898\u63d2\u4ef6\u6c49\u5316-Mloun","article_published_time":"2019-08-13T09:23:38+00:00","article_modified_time":"2020-08-17T04:36:56+00:00","og_image":[{"width":534,"height":568,"url":"https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/code.png","type":"image\/png"}],"author":"\u6d6a\u82b1\u5c9b","twitter_card":"summary_large_image","twitter_misc":{"Written by":"\u6d6a\u82b1\u5c9b","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/5566.site\/en\/web7384html#article","isPartOf":{"@id":"https:\/\/5566.site\/en\/web7384html"},"author":{"name":"\u6d6a\u82b1\u5c9b","@id":"https:\/\/5566.site\/en\/#\/schema\/person\/7305519cbaaed13b3bf3e89698ec32dc"},"headline":"woocommerce\u6dfb\u52a0\u81ea\u5b9a\u4e49\u6309\u94ae","datePublished":"2019-08-13T09:23:38+00:00","dateModified":"2020-08-17T04:36:56+00:00","mainEntityOfPage":{"@id":"https:\/\/5566.site\/en\/web7384html"},"wordCount":105,"commentCount":0,"publisher":{"@id":"https:\/\/5566.site\/en\/#organization"},"image":{"@id":"https:\/\/5566.site\/en\/web7384html#primaryimage"},"thumbnailUrl":"https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/code.png","articleSection":["wordpress\u5efa\u7ad9"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/5566.site\/en\/web7384html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/5566.site\/en\/web7384html","url":"https:\/\/5566.site\/en\/web7384html","name":"woocommerce adds custom button external links to other online store platforms | Wordpress theme plugin Chinese-Mloun","isPartOf":{"@id":"https:\/\/5566.site\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/5566.site\/en\/web7384html#primaryimage"},"image":{"@id":"https:\/\/5566.site\/en\/web7384html#primaryimage"},"thumbnailUrl":"https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/code.png","datePublished":"2019-08-13T09:23:38+00:00","dateModified":"2020-08-17T04:36:56+00:00","description":"Woocommerce has only one add to cart button by default, which can no longer meet the various requirements of our customers. Sometimes it is necessary to add custom buttons to product pages, such as buttons for downloading materials, or linking to other online stores to buy, etc. Wait, you need to add custom fields to add field groups with the custom field plugin Custom Field Suite","breadcrumb":{"@id":"https:\/\/5566.site\/en\/web7384html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/5566.site\/en\/web7384html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/5566.site\/en\/web7384html#primaryimage","url":"https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/code.png","contentUrl":"https:\/\/5566.site\/wp-content\/uploads\/2019\/08\/code.png","width":534,"height":568,"caption":"code"},{"@type":"BreadcrumbList","@id":"https:\/\/5566.site\/en\/web7384html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/5566.site\/"},{"@type":"ListItem","position":2,"name":"woocommerce\u6dfb\u52a0\u81ea\u5b9a\u4e49\u6309\u94ae"}]},{"@type":"WebSite","@id":"https:\/\/5566.site\/en\/#website","url":"https:\/\/5566.site\/en\/","name":"Wordpress theme plugin finished-Mloun","description":"Splash Island","publisher":{"@id":"https:\/\/5566.site\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/5566.site\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/5566.site\/en\/#organization","name":"Splash Island","url":"https:\/\/5566.site\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/5566.site\/en\/#\/schema\/logo\/image\/","url":"https:\/\/5566.site\/wp-content\/uploads\/2023\/05\/logo-700.png","contentUrl":"https:\/\/5566.site\/wp-content\/uploads\/2023\/05\/logo-700.png","width":700,"height":700,"caption":"\u6d6a\u82b1\u5c9b"},"image":{"@id":"https:\/\/5566.site\/en\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/5566.site\/en\/#\/schema\/person\/7305519cbaaed13b3bf3e89698ec32dc","name":"Splash Island","description":"Wordpress foreign trade website, B2B enterprise display, B2C online store, B2B2C platform, Wordpress theme and plugin translation","sameAs":["https:\/\/5566.site"],"url":"https:\/\/5566.site\/en\/webauthor\/hacken"}]}},"_links":{"self":[{"href":"https:\/\/5566.site\/en\/wp-json\/wp\/v2\/posts\/7384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/5566.site\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/5566.site\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/5566.site\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/5566.site\/en\/wp-json\/wp\/v2\/comments?post=7384"}],"version-history":[{"count":0,"href":"https:\/\/5566.site\/en\/wp-json\/wp\/v2\/posts\/7384\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/5566.site\/en\/wp-json\/wp\/v2\/media\/7414"}],"wp:attachment":[{"href":"https:\/\/5566.site\/en\/wp-json\/wp\/v2\/media?parent=7384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/5566.site\/en\/wp-json\/wp\/v2\/categories?post=7384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/5566.site\/en\/wp-json\/wp\/v2\/tags?post=7384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}