{"id":527431,"date":"2020-12-25T22:50:49","date_gmt":"2020-12-25T14:50:49","guid":{"rendered":"https:\/\/loyseo.com\/woocommerce%e5%a6%82%e4%bd%95%e8%a8%ad%e7%bd%ae%e8%88%87%e6%b7%bb%e5%8a%a0%e5%8f%af%e4%b8%8b%e8%bc%89%e7%94%a2%e5%93%81\/"},"modified":"2024-06-17T14:09:22","modified_gmt":"2024-06-17T06:09:22","slug":"how-to-set-up-and-add-downloadable-product-with-woocommerce","status":"publish","type":"tutorial","link":"https:\/\/loyseo.com\/zh-hant\/tutorial\/woocommerce\/how-to-set-up-and-add-downloadable-product-with-woocommerce\/","title":{"rendered":"WooCommerce\u5982\u4f55\u8a2d\u7f6e\u8207\u6dfb\u52a0\u53ef\u4e0b\u8f09\u7522\u54c1"},"content":{"rendered":"\n<p>\u5728\u4f7f\u7528<a href=\"\/\" class=\"rank-math-link\">WordPress\u67b6\u8a2d\u7db2\u7ad9<\/a>\u6642\uff0c\u5982\u679c\u4f60\u92b7\u552e\u5be6\u7269\u7684\u540c\u6642\u9084\u63d0\u4f9b\u96fb\u5b50\u6a94\uff0c\u8b6c\u5982\u8ce3\u5be6\u9ad4\u66f8\u7684\u540c\u6642\u9084\u63d0\u4f9b\u96fb\u5b50\u66f8\uff0c\u53c8\u6216\u662f\u50cf\u6211\u4e00\u6a23\u92b7\u552e\u4e3b\u984c\u3001\u5916\u639b\u3001\u7bc4\u672c\uff0c\u90a3\u5c31\u80fd\u7528\u4e0aWooCommerce\u7684\u53ef\u4e0b\u8f09\u7522\u54c1\u529f\u80fd\u4e86\u3002 \u672c\u7bc7\u662f<a href=\"https:\/\/loyseo.com\/zh-hant\/tutorial\/woocommerce\/\">WooCommerce\u6559\u5b78<\/a>\u7cfb\u5217\u4e4b\u4e00\uff0c\u5c07\u8a73\u7d30\u4ecb\u7d39WooCommerce\u5982\u4f55\u8a2d\u7f6e\u8207\u6dfb\u52a0\u53ef\u4e0b\u8f09\u7522\u54c1\u3002<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"setup-and-configuration\">\u53ef\u4e0b\u8f09\u7522\u54c1\u7684\u529f\u80fd\u8a2d\u7f6e<\/h2>\n\n<figure class=\"wp-block-image alignnone\"><img fetchpriority=\"high\" decoding=\"async\" width=\"950\" height=\"465\" src=\"https:\/\/loyseo.com\/wp-content\/uploads\/2020\/12\/digital-downloads-1-1.png\" alt=\"\" class=\"wp-image-508377\" title=\"-\"><\/figure>\n\n<ol class=\"wp-block-list\"><li>\u9032\u5165\uff1a<strong> WooCommerce &gt; Settings &gt; Products &gt; Downloadable Products<\/strong>.<\/li><li>\u5f9e\u4e0b\u62c9\u5217\u8868\u4e2d\u9078\u64c7\u6a94\u6848\u4e0b\u8f09\u65b9\u6cd5\u3002<ul><li><strong>Force Downloads<\/strong>\/\u5f37\u5236\u4e0b\u8f09\uff1a\u4f7f\u7528PHP\u5f37\u5236\u4e0b\u8f09\u6a94\u3002 \u8981\u78ba\u4fdd\u6a94\u4e0d\u88ab\u76f4\u63a5\u9023\u7d50\uff0c\u53ef\u4ee5\u4f7f\u7528\u5f37\u5236\u4e0b\u8f09\u3002 \u6a94\u7531PHP\u63d0\u4f9b\u3002 \u4f46\u662f\uff0c\u5982\u679c\u60a8\u7684\u6a94\u5f88\u5927\uff0c\u6216\u8005\u4f3a\u670d\u5668\u7684\u8655\u7406\u80fd\u529b\u4e0d\u8db3\uff0c\u60a8\u53ef\u80fd\u6703\u5728\u4e0b\u8f09\u904e\u7a0b\u4e2d\u9047\u5230\u8d85\u6642\u4e0b\u8f09\u5931\u6557\u554f\u984c\u3002 \u5728\u9019\u7a2e\u60c5\u6cc1\u4e0b\uff0c\u60a8\u9700\u8981\u67e5\u770b\u60a8\u7684\u4f3a\u670d\u5668\u6216\u4f7f\u7528\u91cd\u5b9a\u5411\u65b9\u6cd5\u3002<\/li><\/ul><\/li><li>\u9078\u64c7\u8a2a\u554f\u9650\u5236\u7d1a\u5225\uff08<strong>Access Restriction<\/strong>\uff09\u3002<ul><li>\u5982\u679c\u5e0c\u671b\u7528\u6236\u767b\u9304\u5f8c\u624d\u80fd\u4e0b\u8f09\u6a94\uff0c\u8acb\u52fe\u9078\u201c<strong>Downloads Require Login<\/strong>\/\u9700\u8981\u767b\u9304\u624d\u80fd\u4e0b\u8f09\u201d\u8907\u9078\u6846\uff0c\u90a3\u6b64\u6642\u4f60\u9700\u8981\u7981\u7528\u904a\u5ba2\u7d50\u5e33\u529f\u80fd\u3002<\/li><li>\u5982\u679c\u60a8\u5e0c\u671b\u5728\u8655\u7406\u8a02\u55ae\u800c\u4e0d\u662f\u5b8c\u6210\u8a02\u55ae\u6642\u6388\u4e88\u5c0d\u6587\u4ef6\u7684\u8a2a\u554f\u8a31\u53ef\u6b0a\uff0c\u8acb\u52fe\u9078\u201c<strong>Grant access to downloadable products after payment<\/strong>\/\u4ed8\u6b3e\u540e\u6388\u4e88\u5c0d\u53ef\u4e0b\u8f09\u7522\u54c1\u7684\u8a2a\u554f\u8a31\u53ef\u6b0a\u201d\u8907\u9078\u6846\u3002<\/li><\/ul><\/li><li>\u5982\u679c\u8981\u78ba\u4fdd\u589e\u5f37\u6587\u4ef6\u7684\u5b89\u5168\u6027\uff0c\u8acb\u9078\u64c7\u201c<strong>Append a unique string to filename for security<\/strong>\/\u5c07\u552f\u4e00\u5b57\u4e32\u9644\u52a0\u5230\u6a94\u540d\u4ee5\u78ba\u4fdd\u5b89\u5168\u6027\u201c\u3002 \u5efa\u8b70\u5c07\u5176\u52fe\u9078\uff0c\u4e26\u4e14\u9810\u8a2d\u5c31\u662f\u52fe\u9078\u7684\u3002 \u4f46\u5982\u679c\u67d0\u4eba\u5df2\u6b63\u78ba\u914d\u7f6e\u5176\u4e0a\u50b3\u76ee\u9304\uff0c\u5247\u4e0d\u9700\u8981\u6b64\u64cd\u4f5c\u3002 \u7576\u60a8\u555f\u7528\u5b83\u6642\uff0c\u4e0d\u6703\u5f71\u97ff\u4efb\u4f55\u6a94\u540d\u6216\u9023\u7d50\uff0c\u53ea\u6709\u5728\u9078\u53d6\u6b64\u8a2d\u5b9a\u6642\u4e0a\u50b3\u7684\u6a94\u624d\u6703\u6dfb\u52a0\u552f\u4e00\u7684\u5b57\u4e32\u3002 \u6b64\u8a2d\u7f6e\u5b8c\u5168\u5411\u5f8c\u76f8\u5bb9\uff0c\u53ef\u4ee5\u96a8\u610f\u95dc\u9589\u6216\u6253\u958b\uff0c\u800c\u4e0d\u6703\u5f71\u97ff\u4efb\u4f55\u5df2\u751f\u6210\u7684\u6587\u4ef6\u9023\u7d50\u3002<\/li><li>\u4fdd\u5b58\u914d\u7f6e<\/li><\/ol>\n\n<h3 class=\"wp-block-heading\">\u4fdd\u8b77\u60a8\u7684\u6a94\u6848\u4e0a\u50b3\u76ee\u9304<\/h3>\n\n<p>\u9ed8\u8a8d\u60c5\u6cc1\u4e0b\uff0cWooCommerce\u5f15\u5165\u4e86\u4e00\u500b.htaccess\u6a94\u4f86\u4fdd\u8b77\u60a8\u7684wp-content\/uploads\/wooCommerce_uploads\u76ee\u9304\uff0c\u4f46\u662f\uff0c\u9019\u4e26\u4e0d\u80fd\u4fdd\u8b49\u4fdd\u8b77\u8a72\u76ee\u9304\uff0c\u56e0\u70ba\u4e00\u5207\u90fd\u53d6\u6c7a\u65bc\u4f3a\u670d\u5668\u7684\u914d\u7f6e\u3002<\/p>\n\n<h4 class=\"wp-block-heading\" id=\"nginx-setting\">\u4f7f\u7528Nginx\u4f3a\u670d\u5668\uff1f<\/h4>\n\n<p>\u5982\u679c\u60a8\u7684\u7db2\u7ad9\u4f7f\u7528nginx\u4f3a\u670d\u5668\u4ee5\u53cax-accel-redirect\/x-sendfile\u6216force downloads\u4e0b\u8f09\u65b9\u6cd5\uff0c\u5247\u6709\u5fc5\u8981\u6dfb\u52a0\u6b64\u914d\u7f6e\u4ee5\u7372\u5f97\u66f4\u597d\u7684\u5b89\u5168\u6027\uff1a<\/p>\n\n<pre class=\"wp-block-preformatted\"># Protect WooCommerce upload folder from being accessed directly.\n# You may want to change this config if you are using \"Redirect Only\" method for downloadable products.\n# Place this config towards the end of \"server\" block in nGinx configuration.\nlocation ~* \/wp-content\/uploads\/woocommerce_uploads\/ {\n  if ( $upstream_http_x_accel_redirect = \"\" ) {\n  return 403;\n  }\n  internal;\n}<\/pre>\n\n<p>\u5982\u679c\u60a8\u4f7f\u7528\u7684\u662f\u50c5\u91cd\u5b9a\u5411\u4e0b\u8f09\u65b9\u6cd5\uff0c\u90a3\u5c31\u4f7f\u7528\u4e0b\u9762\u7684\u914d\u7f6e\u70ba\uff1a<\/p>\n\n<pre class=\"wp-block-preformatted\"># Protect WooCommerce upload folder from being accessed directly.\n# You may want to change this config if you are using \"X-Accel-Redirect\/X-Sendfile\" or \"Force Downloads\" method for downloadable products.\n# Place this config towards the end of \"server\" block in nGinx configuration.\nlocation ~* \/wp-content\/uploads\/woocommerce_uploads\/ {\n  autoindex off;\n}<\/pre>\n\n<p>\u5982\u679c\u60a8\u4e0d\u77e5\u9053\u60a8\u4f7f\u7528\u7684\u662f\u4ec0\u9ebc\u6a23\u7684Web\u4f3a\u670d\u5668\uff0c\u8acb\u806f\u7e6b\u60a8\u7684\u4e3b\u6a5f\u5546\u8aee\u8a62\u3002<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"creating-downloadable-products\">\u5275\u5efa\u53ef\u4e0b\u8f09\u7684\u7522\u54c1<\/h2>\n\n<h3 class=\"wp-block-heading\" id=\"downloadable-simple-products\">\u53ef\u4e0b\u8f09\u7684\u7c21\u55ae\u7522\u54c1<\/h3>\n\n<figure class=\"wp-block-image alignnone\"><img decoding=\"async\" width=\"1280\" height=\"700\" src=\"https:\/\/loyseo.com\/wp-content\/uploads\/2020\/12\/simple_downloadable_virtual_product_product_data_general-1.png\" alt=\"\" class=\"wp-image-508378\" title=\"-\"><\/figure>\n\n<p>\u63a5\u4e0b\u4f86\u6dfb\u52a0\u53ef\u4e0b\u8f09\u7684\u7c21\u55ae\u7522\u54c1<\/p>\n\n<ol class=\"wp-block-list\"><li>\u9032\u5165WooCommerce&gt;Products&gt;Add Product\uff08WooCommerce&gt;\u7522\u54c1&gt;\u6dfb\u52a0\u7522\u54c1\uff09\uff0c\u6309\u7167<a href=\"https:\/\/loyseo.com\/zh-hant\/tutorial\/woocommerce\/adding-and-managing-products\/\" class=\"rank-math-link\">\u6dfb\u52a0\u548c\u7ba1\u7406\u7522\u54c1<\/a>\u4e2d\u6240\u8ff0\u6dfb\u52a0\u7c21\u55ae\u7522\u54c1\u3002<\/li><li>\u7136\u5f8c\u52fe\u9078downloadable\/\u53ef\u4e0b\u8f09\u8907\u9078\u6846\uff1a\u52fe\u9078\u6b64\u6846\u540e\uff0c\u5c07\u51fa\u73fe\u5176\u4ed6\u9078\u9805\uff1aDownloadable Files\/\u53ef\u4e0b\u8f09\u7684\u6a94\u3001Download Limit\/\u4e0b\u8f09\u9650\u5236\u6b21\u6578\u3001Download Expiry\/\u53ef\u4e0b\u8f09\u6709\u6548\u671f\u3002<\/li><li>\u9078\u64c7\u300cAdd file\/\u6dfb\u52a0\u6a94\u300d\u6309\u9215\uff0c\u7136\u5f8c\u547d\u540d\u8a72\u6a94\u3002 \u8f38\u5165\u6a94\u7684URL\uff0c\u6216\u8005\u9ede\u64ca\u300cchoose file\/\u9078\u64c7\u6a94\u300d\u6309\u9215\u4ee5\u63d2\u5165\u5a92\u9ad4\u5eab\u4e2d\u7684\u73fe\u6709\u6a94\u6216\u4e0a\u50b3\u65b0\u6a94\u3002 \u4e0a\u50b3\u6a94\u4e26\u6309\u4e0b\u300c\u63d2\u5165\u300d\u4ee5\u8a2d\u7f6e\u6bcf\u500b\u53ef\u4e0b\u8f09\u6a94\u7684URL\u3002<\/li><li>\u8f38\u5165\u201cDownload limit\/\u4e0b\u8f09\u9650\u5236\u201d\uff08\u53ef\u9078\uff09\u3002 \u4e00\u65e6\u7528\u6236\u9054\u5230\u6b64\u9650\u5236\uff0c\u4ed6\u5011\u5c07\u7121\u6cd5\u518d\u4e0b\u8f09\u8a72\u6a94\u3002<\/li><li>\u8f38\u5165\u201cDownload expiry\/\u4e0b\u8f09\u5230\u671f\u201d\uff08\u53ef\u9078\uff09\u3002 \u5982\u679c\u60a8\u5b9a\u7fa9\u4e86\u5929\u6578\uff0c\u5247\u4e0b\u8f09\u9023\u7d50\u5c07\u5728\u8a72\u5929\u6578\u5f8c\u904e\u671f\u3002<\/li><li>\u7de8\u8f2f\u5b8c\u7522\u54c1\u5f8c\uff0c\u8acb\u6309\u300c\u767c\u4f48\u300d\u6216\u201c\u66f4\u65b0\u201d\u6309\u9215<\/li><\/ol>\n\n<h3 class=\"wp-block-heading\" id=\"downloadable-variations\">\u53ef\u4e0b\u8f09\u7684\u53ef\u8b8a\u7522\u54c1<\/h3>\n\n<p>\u53ef\u8b8a\u7522\u54c1\u4e5f\u53ef\u4ee5\u6709\u53ef\u4e0b\u8f09\u7684\u8b8a\u9ad4\u3002 \u6dfb\u52a0\u8b8a\u9ad4\u6642\uff0c\u52fe\u9078\u300c\u53ef\u4e0b\u8f09\u300d\u8907\u9078\u6846\u5c31\u80fd\u770b\u5230\uff1aDownloadable Files\/\u53ef\u4e0b\u8f09\u7684\u6a94\u3001Download Limit\/\u4e0b\u8f09\u9650\u5236\u6b21\u6578\u3001Download Expiry\/\u53ef\u4e0b\u8f09\u6709\u6548\u671f\u3002<\/p>\n\n<figure class=\"wp-block-image alignnone\"><img decoding=\"async\" width=\"950\" height=\"889\" src=\"https:\/\/loyseo.com\/wp-content\/uploads\/2020\/12\/digital-downloads-3.png\" alt=\"\" class=\"wp-image-508379\" title=\"-\"><\/figure>\n\n<h2 class=\"wp-block-heading\">\u5c07\u53ef\u4e0b\u8f09\u7522\u54c1\u548c\u865b\u64ec\u7522\u54c1\u7d50\u5408<\/h2>\n\n<p>\u5982\u679c\u60a8\u52fe\u9078\u300c\u53ef\u4e0b\u8f09\u300d\u8907\u9078\u6846\uff0c\u5247\u7522\u54c1\u53ef\u4ee5\u6709\u5eab\u5b58\u4e26\u88ab\u8996\u70ba\u5be6\u7269\u7522\u54c1\u3002 \u9019\u4f7f\u60a8\u53ef\u4ee5\u540c\u6642\u92b7\u552e\u5305\u542b\u53ef\u4e0b\u8f09\u6a94\u7684\u5be6\u7269\u7522\u54c1\uff0c\u8b6c\u5982\u5be6\u7269\u66f8+\u96fb\u5b50\u66f8\u3002<\/p>\n\n<p>\u5982\u679c\u8981\u6dfb\u52a0\/\u92b7\u552e\u6c92\u6709\u5be6\u52d9\u7684\u53ef\u4e0b\u8f09\u7522\u54c1\uff0c\u8acb\u555f\u7528\u201cVirtual\/\u865b\u64ec\u201d\u9078\u9805\u3002<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"usage\"><a href=\"https:\/\/docs.woocommerce.com\/document\/digital-downloadable-product-handling\/#usage\" target=\"_blank\" rel=\"noopener\"><\/a>\u53ef\u4e0b\u8f09\u7522\u54c1\u7684\u8a02\u8cfc\u6d41\u7a0b<\/h2>\n\n<p>\u53ef\u4e0b\u8f09\u7522\u54c1\u7684\u8a02\u8cfc\u6d41\u7a0b\u5982\u4e0b\uff1a<\/p>\n\n<ol class=\"wp-block-list\"><li>\u5ba2\u6236\u5c07\u53ef\u4e0b\u8f09\u7522\u54c1\u6dfb\u52a0\u5230\u8cfc\u7269\u8eca\u4e2d\u3002<\/li><li>\u5ba2\u6236\u7d50\u5e33\u4e26\u4ed8\u6b3e\u3002<\/li><li>\u4ed8\u6b3e\u540e\uff0c\u6839\u64da\u60a8\u7684\u8a2d\u7f6e\uff0c\u6703\u6709\u5982\u4e0b\u5e7e\u7a2e\u60c5\u6cc1\uff1a<ol><li>\u5982\u679c\u8a02\u55ae\u4e2d\u7684\u6240\u6709\u5546\u54c1\u90fd\u662f\u53ef\u4e0b\u8f09\u7684\u6216\u865b\u64ec\u7684\uff0c\u5247\u8a02\u55ae\u72c0\u614b\u662f\u5df2\u5b8c\u6210\u3002<\/li><li>\u5982\u679c\u5546\u54c1\u5305\u542b\u4e86\u5be6\u7269\u548c\u53ef\u4e0b\u8f09\u7684\u6216\u865b\u64ec\u7684\u5546\u54c1\uff0c\u5247\u8a02\u55ae\u72c0\u614b\u662f\u6b63\u5728\u8655\u7406\u4e2d\uff0c\u76f4\u5230\u60a8\u8655\u7406\u8a02\u55ae\u3002<\/li><\/ol><\/li><li>\u4e00\u65e6\u8a02\u55ae\u662f\u5df2\u5b8c\u6210\u72c0\u614b\uff0c\u6216\u8005\uff0c\u5982\u679c\u4f60\u555f\u7528\u4e86\u300c\u4ed8\u6b3e\u540e\u6388\u4e88\u5c0d\u53ef\u4e0b\u8f09\u7522\u54c1\u7684\u8a2a\u554f\u8a31\u53ef\u6b0a\u300d\u9078\u9805\uff0c\u5ba2\u6236\u53ef\u4ee5\uff1a<ol><li>\u7372\u5f97\u4e0b\u8f09\u8a31\u53ef\u6b0a<\/li><li>\u5728\u8a02\u55ae\u9801\u9762\u4e0a\u770b\u5230\u4e0b\u8f09\u9023\u7d50<\/li><li>\u5728\u5ba2\u6236\u6536\u5230\u7684\u8a02\u55ae\u90f5\u4ef6\u4e2d\u770b\u5230\u4e0b\u8f09\u9023\u7d50<\/li><li>\u5982\u679c\u5ba2\u6236\u5df2\u767b\u9304\uff0c\u53ef\u4ee5\u5728\u300c\u6211\u7684\u5e33\u6236\u300d-\u300c\u4e0b\u8f09\u300d\u9801\u9762\u4e0a\u67e5\u770b\u5230\u4e0b\u8f09\u9023\u7d50<\/li><\/ol><\/li><\/ol>\n\n<p>\u7136\u5f8c\uff0c\u5ba2\u6236\u53ef\u4ee5\u4e0b\u8f09\u6a94\u3002<\/p>\n\n<h3 class=\"wp-block-heading\" id=\"invoice-order-email\">\u6536\u64da\/\u8a02\u55ae\u90f5\u4ef6<\/h3>\n\n<p>\u7576\u5ba2\u6236\u652f\u4ed8\u8a02\u55ae\u540e\uff0c\u4e00\u7d93\u4f60\u78ba\u8a8d\u5df2\u5b8c\u6210\u8a02\u55ae\uff0c\u5ba2\u6236\u5c07\u6536\u5230\u8a02\u55ae\u6536\u64da\uff0c\u5176\u4e2d\u5305\u542b\u4e0b\u8f09\u9023\u7d50\u3002<\/p>\n\n<figure class=\"wp-block-image alignnone\"><img loading=\"lazy\" decoding=\"async\" width=\"684\" height=\"949\" src=\"https:\/\/loyseo.com\/wp-content\/uploads\/2020\/12\/digital-download-email.png\" alt=\"\" class=\"wp-image-508380\" title=\"-\"><\/figure>\n\n<p>\u5982\u679c\u5df2\u5b8c\u6210\u7684\u8a02\u55ae\u90f5\u4ef6\u4e2d\u4e0d\u5305\u542b\u6587\u4ef6\u4e0b\u8f09\u9023\u7d50\uff0c\u90a3\u5f88\u53ef\u80fd\u662f\u4f60\u7684\u7db2\u7ad9\u8cc7\u6599\u5eab\u51fa\u554f\u984c\u4e86\uff0c\u8acb\u67e5\u770b\u9019\u7bc7\u6587\u7ae0\u4f86\u4fee\u5fa9\u5b83\uff1a<a href=\"https:\/\/docs.woocommerce.com\/document\/completed-order-email-doesnt-contain-download-links\/\" class=\"rank-math-link\" target=\"_blank\" rel=\"noopener\">https:\/\/docs.woocommerce.com\/document\/completed-order-email-doesnt-contain-download-links\/<\/a><\/p>\n\n<h3 class=\"wp-block-heading\" id=\"section-9\">\u7ba1\u7406\u5177\u6709\u53ef\u4e0b\u8f09\u7522\u54c1\u7684\u8a02\u55ae<\/h3>\n\n<ol class=\"wp-block-list\"><li>\u9032\u5165\uff1aWooCommerce&gt;Orders\uff0c\u7136\u5f8c\u9ede\u9078\u4f60\u8981\u67e5\u770b\u6216\u7de8\u8f2f\u7684\u8a02\u55ae\u3002<\/li><li>\u5411\u4e0b\u6efe\u52d5\u9801\u9762\u5230\u201cDownloadable Product Permissions\uff08\u53ef\u4e0b\u8f09\u7522\u54c1\u8a31\u53ef\u6b0a\uff09\u201d\u6b04\u76ee\uff0c\u5176\u4e2d\u5c55\u793a\u4e86\u53ef\u4e0b\u8f09\u7684\u5167\u5bb9\u4ee5\u53ca\u5ba2\u6236\u8a2a\u554f\u8a72\u5167\u5bb9\u7684\u6b21\u6578\u3002<\/li><li>\u4f60\u9084\u53ef\u4ee5\u64a4\u92b7\u8a2a\u554f\u8a31\u53ef\u6b0a\u3001\u6388\u4e88\u5c0d\u65b0\u7684\u7522\u54c1\u7684\u4e0b\u8f09\u8a31\u53ef\u6b0a\u3002<\/li><\/ol>\n\n<figure class=\"wp-block-image alignnone\"><img loading=\"lazy\" decoding=\"async\" width=\"950\" height=\"148\" src=\"https:\/\/loyseo.com\/wp-content\/uploads\/2020\/12\/download-prod-permission.jpg\" alt=\"\" class=\"wp-image-508381\" title=\"-\"><\/figure>\n\n<h2 class=\"wp-block-heading\" id=\"download-logs-reports\"><a href=\"https:\/\/docs.woocommerce.com\/document\/digital-downloadable-product-handling\/#download-logs-reports\" target=\"_blank\" rel=\"noopener\"><\/a>\u4e0b\u8f09\u65e5\u8a8c\/\u5831\u544a<\/h2>\n\n<p>\u53ef\u4e0b\u8f09\u7522\u54c1\u7684\u4e0b\u8f09\u5177\u6709\u552f\u4e00\u7684ID\uff0c\u9019\u4e9bID\u5c07\u88ab\u8ddf\u8e64\u4e26\u8a18\u9304\u5728\u5831\u544a\u4e2d\u3002 \u8acb\u5728WooCommerce&gt;Reports\u4e2d\u67e5\u770b\u3002<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"faq\">\u5e38\u898b\u554f\u984c<\/h2>\n\n<h3 class=\"wp-block-heading\" id=\"what-happens-if-i-edit-a-downloadable-product-files-after-customers-have-purchased-it\">\u5982\u679c\u6211\u5728\u5ba2\u6236\u8cfc\u8cb7\u5f8c\u4fee\u6539\u53ef\u4e0b\u8f09\u7522\u54c1\u7684\u6a94\uff0c\u6703\u767c\u751f\u4ec0\u9ebc\u60c5\u6cc1\uff1f<\/h3>\n\n<ul class=\"wp-block-list\"><li>\u4fee\u6539\u6a94\uff08\u8b6c\u5982\u66f4\u6539\u540d\u7a31\u3001\u6a94URL\uff09\u6703\u66f4\u65b0\u5df2\u8cfc\u8cb7\u5ba2\u6236\u7684\u4e0b\u8f09\u9023\u7d50\uff0c\u4f46\u4e0b\u8f09\u7684\u5230\u671f\u65e5\u671f\u4e0d\u8b8a\u3002<\/li><li>\u6dfb\u52a0\u65b0\u7684\u4e0b\u8f09\u6a94\u4e0d\u6703\u5f71\u97ff\u5df2\u6709\u7684\u8a02\u55ae\uff0c\u53ea\u6709\u65b0\u8cb7\u7684\u4eba\u624d\u80fd\u7372\u5f97\u4e0b\u8f09\u8a31\u53ef\u3002<\/li><\/ul>\n\n<p>\u5982\u679c\u60a8\u7684\u7522\u54c1\u88ab\u6388\u4e88\u300c\u7d42\u8eab\u8a2a\u554f\u300d\u6216\u985e\u4f3c\u65bc\u4e00\u500b\u7522\u54c1\u6709\u5f88\u591a\u4e0b\u8f09\u5167\u5bb9\uff0c\u90a3\u8a02\u95b1\u6216\u6703\u54e1\u985e\u7522\u54c1\u5247\u53ef\u80fd\u66f4\u5408\u9069\u3002 \u60a8\u9084\u53ef\u4ee5\u5c07\u6a94\u6848\u5408\u4f75\u5230\u4e00\u500b\u58d3\u7e2e\u5305\uff08ZIP\uff09\u4e2d\u3002 \u5982\u679c\u4f60\u60f3\u8b93\u8001\u8a02\u55ae\u7372\u5f97\u65b0\u4e0b\u8f09\u6a94\u7684\u8a31\u53ef\u6b0a\uff0c\u53ef\u4ee5\u8a66\u8a66\u9019\u500b\u5916\u639b\u7a0b\u5f0f\uff1a<a href=\"https:\/\/github.com\/woocommerce\/grant-download-permissions-for-past-woocommerce-orders\" class=\"rank-math-link\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/woocommerce\/grant-download-permissions-for-past-woocommerce-orders<\/a><\/p>\n\n<h3 class=\"wp-block-heading\">\u4fee\u6539\u7522\u54c1\u5f8c\uff0c\u8001\u8a02\u55ae\u662f\u5426\u53ef\u4ee5\u4e0b\u8f09\u65b0\u6a94\uff1f<\/h3>\n\n<p>\u4e0d\u80fd\u3002<\/p>\n\n<p>\u672c\u6587\u7531LOYSEO\u57fa\u65bc\u4e00\u4e0b\u8cc7\u6599\u9032\u884c\u7ffb\u8b6f\u3001\u6f64\u8272\uff1a<a href=\"https:\/\/docs.woocommerce.com\/document\/digital-downloadable-product-handling\/\" class=\"rank-math-link\" target=\"_blank\" rel=\"noopener\">https:\/\/docs.woocommerce.com\/document\/digital-downloadable-product-handling\/<\/a><\/p>\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4f7f\u7528WordPress\u67b6\u8a2d\u7db2\u7ad9\u6642\uff0c\u5982\u679c\u4f60\u92b7\u552e\u5be6\u7269\u7684\u540c\u6642\u9084\u63d0\u4f9b\u96fb\u5b50\u6a94\uff0c\u8b6c\u5982\u8ce3\u5be6\u9ad4\u66f8\u7684\u540c\u6642\u9084\u63d0\u4f9b\u96fb\u5b50\u66f8\uff0c\u53c8\u6216\u662f\u50cf\u6211\u4e00\u6a23\u92b7\u552e\u4e3b\u984c\u3001\u5916\u639b\u3001\u7bc4\u672c\uff0c\u90a3\u5c31\u80fd\u7528\u4e0aWooCommerce\u7684\u53ef\u4e0b\u8f09\u7522\u54c1\u529f\u80fd\u4e86\u3002 \u672c\u7bc7\u662fWooCommerce\u6559\u5b78\u7cfb\u5217\u4e4b\u4e00\uff0c\u5c07\u8a73\u7d30\u4ecb\u7d39WooCommerce\u5982\u4f55\u8a2d\u7f6e\u8207\u6dfb\u52a0\u53ef\u4e0b\u8f09\u7522\u54c1\u3002 \u53ef\u4e0b\u8f09\u7522\u54c1\u7684\u529f\u80fd\u8a2d\u7f6e \u9032\u5165\uff1a WooCommerce &gt; Settings &gt; Product [&hellip;]<\/p>\n","protected":false},"featured_media":0,"parent":530959,"menu_order":84,"comment_status":"open","ping_status":"closed","template":"","hf_cat_tutorial":[],"class_list":["post-527431","tutorial","type-tutorial","status-publish","hentry"],"acf":[],"taxonomy_info":[],"featured_image_src_large":false,"author_info":[],"comment_info":0,"_links":{"self":[{"href":"https:\/\/loyseo.com\/zh-hant\/wp-json\/wp\/v2\/tutorial\/527431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/loyseo.com\/zh-hant\/wp-json\/wp\/v2\/tutorial"}],"about":[{"href":"https:\/\/loyseo.com\/zh-hant\/wp-json\/wp\/v2\/types\/tutorial"}],"replies":[{"embeddable":true,"href":"https:\/\/loyseo.com\/zh-hant\/wp-json\/wp\/v2\/comments?post=527431"}],"version-history":[{"count":0,"href":"https:\/\/loyseo.com\/zh-hant\/wp-json\/wp\/v2\/tutorial\/527431\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/loyseo.com\/zh-hant\/wp-json\/wp\/v2\/tutorial\/530959"}],"wp:attachment":[{"href":"https:\/\/loyseo.com\/zh-hant\/wp-json\/wp\/v2\/media?parent=527431"}],"wp:term":[{"taxonomy":"hf_cat_tutorial","embeddable":true,"href":"https:\/\/loyseo.com\/zh-hant\/wp-json\/wp\/v2\/hf_cat_tutorial?post=527431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}