{"id":175481,"date":"2023-09-25T12:30:39","date_gmt":"2023-09-25T12:30:39","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/product-specific-email-content-for-woocommerce\/"},"modified":"2024-03-21T12:09:34","modified_gmt":"2024-03-21T12:09:34","slug":"product-specific-email-content-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/it.wordpress.org\/plugins\/product-specific-email-content-for-woocommerce\/","author":20228438,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.4.0","stable_tag":"trunk","tested":"6.5.12","requires":"6.1.1","requires_php":"","requires_plugins":null,"header_name":"Product Specific Email Content for WooCommerce","header_author":"Peter Morlion","header_description":"This plugin allows you to add content to the order emails per product. This is useful if a purchased product requires some more explanation.","assets_banners_color":"","last_updated":"2024-03-21 12:09:34","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/redstar.be","header_plugin_uri":"https:\/\/github.com\/petermorlion\/product-specific-email-content-for-woocommerce","header_author_uri":"https:\/\/redstar.be","rating":0,"author_block_rating":0,"active_installs":200,"downloads":1916,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2971288,"resolution":"1","location":"assets","locale":"","width":685,"height":513},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2971288,"resolution":"2","location":"assets","locale":"","width":600,"height":570}},"screenshots":{"1":"Adding the email text to the product.","2":"What the email will look like."}},"plugin_section":[],"plugin_tags":[267,286],"plugin_category":[41,45],"plugin_contributors":[216129],"plugin_business_model":[],"class_list":["post-175481","plugin","type-plugin","status-publish","hentry","plugin_tags-email","plugin_tags-woocommerce","plugin_category-communication","plugin_category-ecommerce","plugin_contributors-petermorlion","plugin_committers-petermorlion"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/product-specific-email-content-for-woocommerce.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/product-specific-email-content-for-woocommerce\/assets\/screenshot-1.png?rev=2971288","caption":"Adding the email text to the product."},{"src":"https:\/\/ps.w.org\/product-specific-email-content-for-woocommerce\/assets\/screenshot-2.png?rev=2971288","caption":"What the email will look like."}],"raw_content":"<!--section=description-->\n<p>If you want to add custom content to your order emails, on a per-product basis, this is\nthe plugin for you. With this plugin, you can add text to your order emails for each product\nthat your customer bought. Only the content for the bought products will be added to the\nemail.<\/p>\n\n<p>This is useful if you want to send some extra info to the customer, depending on the products\nthey bought.<\/p>\n\n<h3>Workflow<\/h3>\n\n<p>Develop in Git and on GitHub as normal. Then:<\/p>\n\n<ul>\n<li>git svn rebase<\/li>\n<li>git svn dcommit<\/li>\n<li>git rebase origin\/master master<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>product-specific-email-content-for-woocommerce.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to your product and you will see a new 'Email' tab under the product data.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20my%20other%20plugin%20add%20to%20the%20content%3F'><h3>Can my other plugin add to the content?<\/h3><\/dt>\n<dd><p>Yes! There are two actions that you can hook into:<\/p>\n\n<ul>\n<li><code>product_specific_email_content_before_content<\/code><\/li>\n<li><code>product_specific_email_content_after_content<\/code><\/li>\n<\/ul>\n\n<p>Both accept a two arguments:<\/p>\n\n<ul>\n<li><code>$item<\/code>: the current Order item<\/li>\n<li><code>$product<\/code>: the current Product<\/li>\n<\/ul>\n\n<p>With these hooks, you can add extra info before or after the content defined through this plugin.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>Tested with WordPress 6.5<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Declare HPOS compatibility<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>Tested with WordPress 6.3<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Remove empty admin JS<\/li>\n<li>Remove empty public JS and CSS.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Sanitize input and escape output<\/li>\n<li>Update \"tested up to\" version<\/li>\n<li>Add nonce and verify<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Add <code>product_specific_email_content_before_content<\/code> and <code>product_specific_email_content_after_content<\/code><\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Increase height of editor<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial version<\/li>\n<\/ul>","raw_excerpt":"This plugin allows you to add content to the order emails per product. This is useful if a purchased product requires some more explanation.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/175481","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=175481"}],"author":[{"embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/petermorlion"}],"wp:attachment":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=175481"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=175481"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=175481"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=175481"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=175481"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=175481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}