{"id":132425,"date":"2020-11-27T22:09:33","date_gmt":"2020-11-27T22:09:33","guid":{"rendered":"https:\/\/fr.wordpress.org\/plugins\/wash-care-symbols-for-woocommerce\/"},"modified":"2024-02-21T23:00:26","modified_gmt":"2024-02-21T23:00:26","slug":"wash-care-symbols-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/km.wordpress.org\/plugins\/wash-care-symbols-for-woocommerce\/","author":17895316,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"4.2.0","stable_tag":"4.2.0","tested":"6.4.8","requires":"5.2","requires_php":"7.2","requires_plugins":null,"header_name":"Wash Care Symbols for WooCommerce","header_author":"Charlie Etienne","header_description":"Display wash\/care symbols in WooCommerce products","assets_banners_color":"8684eb","last_updated":"2024-02-21 23:00:26","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/paypal.me\/webnancy","header_plugin_uri":"","header_author_uri":"https:\/\/web-nancy.fr","rating":4.9,"author_block_rating":0,"active_installs":100,"downloads":4889,"num_ratings":8,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.1.4":{"tag":"2.1.4","author":"charlieetienne","date":"2020-11-27 22:09:02"},"2.1.5":{"tag":"2.1.5","author":"charlieetienne","date":"2020-11-27 22:13:49"},"2.1.6":{"tag":"2.1.6","author":"charlieetienne","date":"2020-11-29 22:54:51"},"2.1.7":{"tag":"2.1.7","author":"charlieetienne","date":"2021-01-15 22:23:58"},"2.1.8":{"tag":"2.1.8","author":"charlieetienne","date":"2021-02-25 22:22:36"},"2.1.9":{"tag":"2.1.9","author":"charlieetienne","date":"2021-04-22 12:46:20"},"2.2.0":{"tag":"2.2.0","author":"charlieetienne","date":"2021-09-09 20:00:50"},"2.2.1":{"tag":"2.2.1","author":"charlieetienne","date":"2021-09-09 21:27:59"},"2.2.2":{"tag":"2.2.2","author":"charlieetienne","date":"2022-01-12 10:06:23"},"2.3.0":{"tag":"2.3.0","author":"charlieetienne","date":"2022-02-07 21:06:52"},"2.4.0":{"tag":"2.4.0","author":"charlieetienne","date":"2022-02-12 10:44:57"},"2.5.0":{"tag":"2.5.0","author":"charlieetienne","date":"2022-02-20 09:30:33"},"2.6.0":{"tag":"2.6.0","author":"charlieetienne","date":"2022-02-24 11:31:50"},"2.7.0":{"tag":"2.7.0","author":"charlieetienne","date":"2022-02-24 12:03:28"},"3.0.0":{"tag":"3.0.0","author":"charlieetienne","date":"2022-02-26 00:59:47"},"3.1.0":{"tag":"3.1.0","author":"charlieetienne","date":"2022-07-13 12:45:46"},"4.0.0":{"tag":"4.0.0","author":"charlieetienne","date":"2022-07-14 22:19:52"},"4.1.0":{"tag":"4.1.0","author":"charlieetienne","date":"2023-03-31 21:47:53"},"4.2.0":{"tag":"4.2.0","author":"charlieetienne","date":"2024-02-21 23:00:26"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":1,"5":7},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2427516,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2427516,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2891616,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-772x250.gif":{"filename":"banner-772x250.gif","revision":2891616,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.1.4","2.1.5","2.1.6","2.1.7","2.1.8","2.1.9","2.2.0","2.2.1","2.2.2","2.3.0","2.4.0","2.5.0","2.6.0","2.7.0","3.0.0","3.1.0","4.0.0","4.1.0","4.2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2427516,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2427516,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Product page","2":"Product edit in administration"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[11779,37520,42016,193521,286],"plugin_category":[45],"plugin_contributors":[192541],"plugin_business_model":[],"class_list":["post-132425","plugin","type-plugin","status-publish","hentry","plugin_tags-care","plugin_tags-clothes","plugin_tags-symbols","plugin_tags-wash","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-charlieetienne","plugin_committers-charlieetienne"],"banners":{"banner":"https:\/\/ps.w.org\/wash-care-symbols-for-woocommerce\/assets\/banner-772x250.gif?rev=2891616","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/wash-care-symbols-for-woocommerce\/assets\/icon.svg?rev=2891616","icon":"https:\/\/ps.w.org\/wash-care-symbols-for-woocommerce\/assets\/icon.svg?rev=2891616","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wash-care-symbols-for-woocommerce\/assets\/screenshot-1.png?rev=2427516","caption":"Product page"},{"src":"https:\/\/ps.w.org\/wash-care-symbols-for-woocommerce\/assets\/screenshot-2.png?rev=2427516","caption":"Product edit in administration"}],"raw_content":"<!--section=description-->\n<p>Display wash\/care symbols in WooCommerce products.<\/p>\n\n<h3>Usage &amp; Documentation<\/h3>\n\n<p>You can choose wash\/care symbols to display on product category level or in each individual product<\/p>\n\n<p>For now, these choices are available:<\/p>\n\n<ul>\n<li><p>Washing:<\/p>\n\n<ul>\n<li>Machine wash, gentle \/ delicate<\/li>\n<li>Machine wash, permanent press \/ wrinkle resistant<\/li>\n<li>Machine wash, regular \/ normal<\/li>\n<li>Do not wash<\/li>\n<li>Hand wash only<\/li>\n<li>Machine wash, gentle \/ delicate, 30 degrees C (85 degrees F)<\/li>\n<li>Machine wash, permanent press \/ wrinkle resistant, 30 degrees C (85 degrees F)<\/li>\n<li>Machine wash, regular \/ normal, 30 degrees C (85 degrees F)<\/li>\n<li>Machine wash, gentle \/ delicate, 40 degrees C (105 degrees F)<\/li>\n<li>Machine wash, permanent press, 40 degrees C (105 degrees F)<\/li>\n<li>Machine wash, regular \/ normal, 40 degrees C (105 degrees F)<\/li>\n<li>Machine wash, gentle \/ delicate, 50 degrees C (120 degrees F)<\/li>\n<li>Machine wash, permanent press, 50 degrees C (120 degrees F)<\/li>\n<li>Machine wash, regular \/ normal, 50 degrees C (120 degrees F)<\/li>\n<li>Machine wash, gentle \/ delicate, 60 degrees C (140 degrees F)<\/li>\n<li>Machine wash, permanent press, 60 degrees C (140 degrees F)<\/li>\n<li>Machine wash, regular \/ normal, 60 degrees C (140 degrees F)<\/li>\n<li>Machine wash, gentle \/ delicate, 70 degrees C (160 degrees F)<\/li>\n<li>Machine wash, permanent press, 70 degrees C (160 degrees F)<\/li>\n<li>Machine wash, regular \/ normal, 70 degrees C (160 degrees F)<\/li>\n<li>Machine wash, gentle \/ delicate, 95 degrees C (200 degrees F)<\/li>\n<li>Machine wash, permanent press, 95 degrees C (200 degrees F)<\/li>\n<li>Machine wash, regular \/ normal, 95 degrees C (200 degrees F)<\/li>\n<li>Hand wash, 30 degrees C (85 degrees F)<\/li>\n<li>Hand wash, 40 degrees C (105 degrees F)<\/li>\n<li>Hand wash, 50 degrees C (120 degrees F)<\/li>\n<\/ul><\/li>\n<li><p>Drying:<\/p>\n\n<ul>\n<li>Tumble dry, normal<\/li>\n<li>Tumble dry, normal, low heat<\/li>\n<li>Tumble dry, normal, medium heat<\/li>\n<li>Tumble dry, normal, high heat<\/li>\n<li>Tumble dry, normal, no heat<\/li>\n<li>Tumble dry, permanent press<\/li>\n<li>Tumble dry, permanent press, low heat<\/li>\n<li>Tumble dry, permanent press, medium heat<\/li>\n<li>Tumble dry, permanent press, high heat<\/li>\n<li>Tumble dry, gentle<\/li>\n<li>Tumble dry, gentle, low heat<\/li>\n<li>Tumble dry, gentle, medium heat<\/li>\n<li>Tumble dry, gentle, high heat<\/li>\n<li>Tumble dry, permanent press, no heat<\/li>\n<li>Line dry<\/li>\n<li>Drip dry<\/li>\n<li>Dry flat<\/li>\n<li>Dry in shade<\/li>\n<li>Do not dry<\/li>\n<li>Line dry in shade<\/li>\n<li>Drip dry in shade<\/li>\n<li>Dry flat in shade<\/li>\n<\/ul><\/li>\n<li><p>Ironing:<\/p>\n\n<ul>\n<li>Ironing required<\/li>\n<li>Iron, low temperature<\/li>\n<li>Iron, medium temperature<\/li>\n<li>Iron, high temperature<\/li>\n<li>Do not iron<\/li>\n<li>Iron, no steam<\/li>\n<li>Iron, no steam, low temperature<\/li>\n<li>Iron, no steam, medium temperature<\/li>\n<li>Iron, no steam, high temperature<\/li>\n<\/ul><\/li>\n<li><p>Dry cleaning:<\/p>\n\n<ul>\n<li>Dry clean<\/li>\n<li>Dry clean, any solvent<\/li>\n<li>Dry clean, petroleum based solvent only<\/li>\n<li>Dry clean, any solvent other than trichloroethylene<\/li>\n<li>Do not dry clean<\/li>\n<li>Dry clean, short cycle<\/li>\n<li>Dry clean, low moisture<\/li>\n<li>Dry clean, low heat<\/li>\n<li>Dry clean, no steam<\/li>\n<li>Dry clean, any solvent, short cycle<\/li>\n<li>Dry clean, any solvent, low moisture<\/li>\n<li>Dry clean, any solvent, low heat<\/li>\n<li>Dry clean, any solvent, no steam<\/li>\n<\/ul><\/li>\n<li><p>Bleaching:<\/p>\n\n<ul>\n<li>Use any bleach<\/li>\n<li>Use only non-chlorine bleach<\/li>\n<li>Do not bleach<\/li>\n<\/ul><\/li>\n<li><p>Chemical cleaning<\/p>\n\n<ul>\n<li>Dry clean, hydrocarbon solvent only (HCS)<\/li>\n<li>Gentle cleaning with hydrocarbon sovents (HCS)<\/li>\n<li>Very gentle cleaning with hydrocarbon sovents (HCS)<\/li>\n<li>Dry clean, tetrachloroethylene only (PCE)<\/li>\n<li>Gentle cleaning with tetrachloroethylene (PCE)<\/li>\n<li>Very gentle cleaning with tetrachloroethylene (PCE)<\/li>\n<\/ul><\/li>\n<li><p>Wet cleaning<\/p>\n\n<ul>\n<li>Wet clean<\/li>\n<li>Gentle wet cleaning<\/li>\n<li>Very gentle wet cleaning<\/li>\n<li>Professionnal wet cleaning is not allowed<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h3>Settings<\/h3>\n\n<p>Go to Settings &gt; Wash Care Symbols for WooCommerce.<\/p>\n\n<ul>\n<li><strong>Position:<\/strong> Inside \"Additional Information\"(default) \/ below short description (added in 2.4) \/ In custom tab (added in 3.1).<\/li>\n<li><strong>Layout:<\/strong> Horizontal\/Vertical\/Minimal (added in 2.2).<\/li>\n<li><strong>Icons size<\/strong> (added in 2.7).<\/li>\n<\/ul>\n\n<h3>Shortcode<\/h3>\n\n<p>If for some reason, you don't want to use WooCommerce Product data tabs, you can display wash\/care instructions wherever you want with the <code>[wcsfwc]<\/code> shortcode.<\/p>\n\n<p>In a product page, just do:<\/p>\n\n<pre><code>[wcsfwc]\n<\/code><\/pre>\n\n<p>It will use current product and the layout you defined in Settings.<\/p>\n\n<p>If you want to override layout, add a \"layout\" argument (available values are \"minimal\", \"vertical\", \"horizontal\"):<\/p>\n\n<pre><code>[wcsfwc layout=\"minimal\"]\n<\/code><\/pre>\n\n<p>If you want to display the wash\/care instructions outside a product page, or for another product, use \"product\" argument:<\/p>\n\n<pre><code>[wcsfwc product=\"123\"]\n<\/code><\/pre>\n\n<p>In a .php file, use the <code>do_shortcode<\/code> function:<\/p>\n\n<pre><code>echo do_shortcode( '[wcsfwc]' );\n<\/code><\/pre>\n\n<h3>Hooks<\/h3>\n\n<ul>\n<li><code>wcsfw_display<\/code> (action): allows you to use your own display hook<\/li>\n<li><code>wcsfw-data<\/code> (filter): allows you to modify symbols data and texts<\/li>\n<li><code>wcsfw_below_short_desc_priority<\/code> (filter): allows you to change hook priority if symbols doesn't appear in the right place when using <em>below short description<\/em> setting<\/li>\n<li><code>wcsfw_custom_tab_priority<\/code> (filter): allows you to change tabs order when using <em>custom tab<\/em> layout<\/li>\n<\/ul>\n\n<h3>How to Customize<\/h3>\n\n<p><strong>Remove hooks<\/strong><\/p>\n\n<p>In order to remove hooks used by this plugin, you'll need to get plugin instance and pass it in an array inside the callback argument.\nFor example:<\/p>\n\n<pre><code>$wcsfwc = WCSFWC\\WashCareSymbolsForWooCommerce::get_instance();\nremove_action( 'woocommerce_single_product_summary', [ $wcsfwc, 'below_short_desc_display' ], apply_filters( 'wcsfw_below_short_desc_priority', 21 ) );\nremove_action( 'woocommerce_product_additional_information', [ $wcsfwc, 'additional_info_display' ] );\n<\/code><\/pre>\n\n<p><strong>Display wherever you want<\/strong><\/p>\n\n<p>Here is what you'll need to use a custom hook to display instructions wherever you want on your product page:<\/p>\n\n<pre><code>add_action('whatever_hook_you_want', function(){\n    $wcsfwc = WCSFWC\\WashCareSymbolsForWooCommerce::get_instance();\n    $wcsfwc-&gt;additional_info_display();\n});\n<\/code><\/pre>\n\n<h4>Resources<\/h4>\n\n<ul>\n<li><strong>WordPress Plugin:<\/strong> <a href=\"https:\/\/wordpress.org\/plugins\/wash-care-symbols-for-woocommerce\">https:\/\/wordpress.org\/plugins\/wash-care-symbols-for-woocommerce<\/a><\/li>\n<li><strong>GitHub Repository:<\/strong> <a href=\"https:\/\/github.com\/CharlieEtienne\/wash-care-symbols-for-woocommerce\">https:\/\/github.com\/CharlieEtienne\/wash-care-symbols-for-woocommerce<\/a><\/li>\n<li><strong>Support:<\/strong> <a href=\"https:\/\/github.com\/CharlieEtienne\/wash-care-symbols-for-woocommerce\/issues\">https:\/\/github.com\/CharlieEtienne\/wash-care-symbols-for-woocommerce\/issues<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Install this plugin either via the WordPress.org plugin directory, or by uploading the files to your server.<\/li>\n<li>Activate the plugin.<\/li>\n<li>That's it. You're ready to go! Please, refer to the Usage &amp; Documentation section for examples and how-to information.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='is%20this%20plugin%20completely%20free%3F'><h3>Is this plugin completely free?<\/h3><\/dt>\n<dd><p>Yes.<\/p><\/dd>\n<dt id='can%20i%20use%20this%20plugin%20for%20commercial%20purposes%3F'><h3>Can I use this plugin for commercial purposes?<\/h3><\/dt>\n<dd><p>Sure, go ahead! It is completely open source.\nIf you like my work, you can donate here: <a href=\"https:\/\/paypal.me\/webnancy\">https:\/\/paypal.me\/webnancy<\/a><\/p><\/dd>\n<dt id='is%20it%20compatible%20with%20elementor%20page%20builder%3F'><h3>Is it compatible with Elementor Page Builder?<\/h3><\/dt>\n<dd><p>Yes.<\/p><\/dd>\n<dt id='how%20can%20i%20say%20thank%20you%3F'><h3>How can I say thank you?<\/h3><\/dt>\n<dd><p>If you like my work, you can donate here: <a href=\"https:\/\/paypal.me\/webnancy\">https:\/\/paypal.me\/webnancy<\/a><\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>4.2.0<\/h4>\n\n<ul>\n<li>Make plugin compatible with WooCommerce HPOS<\/li>\n<\/ul>\n\n<h4>4.1.0<\/h4>\n\n<ul>\n<li>[FIX] Fix tooltip overlap in some cases<\/li>\n<li>[FIX] Fix tooltip being hidden in elementor in some cases<\/li>\n<li>[FIX] Make method static (https:\/\/wordpress.org\/support\/topic\/wordpress-backend-throws-error-on-wash-care-plugin-category-level-enabling\/)<\/li>\n<\/ul>\n\n<h4>4.0.0<\/h4>\n\n<ul>\n<li>Major update, with rewrite of most of plugin's code. <\/li>\n<li><strong>We can now display wash\/care symbols with the <code>[wcsfwc]<\/code> shortcode!<\/strong> See the Shortcode section of the docs for more details.<\/li>\n<\/ul>\n\n<h4>3.1.0<\/h4>\n\n<ul>\n<li><strong>We can now display wash\/care symbols in a custom tab!<\/strong> Just go in settings and set position to \"In custom tab\"<\/li>\n<li>A new hook has been added: <code>wcsfw_custom_tab_priority<\/code>. It allows you to change tabs order.<\/li>\n<\/ul>\n\n<h4>3.0.0<\/h4>\n\n<ul>\n<li><strong>We can now choose wash\/care symbols on category level!<\/strong> This setting can be overrided in each individual product.<\/li>\n<\/ul>\n\n<h4>2.7.0<\/h4>\n\n<ul>\n<li>Adds a setting option to choose icons size<\/li>\n<\/ul>\n\n<h4>2.6.0<\/h4>\n\n<ul>\n<li><strong>We now have symbols in admin too!<\/strong> Gets rid of selectWoo on WCSFW fields and loads a modified copy of select2.js in order to add symbols in dropdowns and selected options, which is not possible with selectWoo since v1.07 (see https:\/\/github.com\/woocommerce\/selectWoo\/issues\/39)<\/li>\n<li>Move to Singleton pattern to let other developpers unhook actions or filters. If you want to unhook something, use it like this, for example: <code>remove_filter( 'hook_name', [ WashCareSymbolsForWooCommerce::get_instance(), 'method_name' ] );<\/code><\/li>\n<\/ul>\n\n<h4>2.5.0<\/h4>\n\n<ul>\n<li>Improve LocoTranslate compatibility: fix wrong domain path in .pot filename<\/li>\n<li>Update .pot file with new strings<\/li>\n<li>Improve themes compatibility: fix too large symbols on some themes<\/li>\n<li>Trying to improve WPML compatibility: in progress...<\/li>\n<\/ul>\n\n<h4>2.4.0<\/h4>\n\n<ul>\n<li>Adds a setting option to display symbols below short description<\/li>\n<\/ul>\n\n<h4>2.3.0<\/h4>\n\n<ul>\n<li>Adds 10 new symbols for professional cleaning:\n\n<ul>\n<li>Dry clean, hydrocarbon solvent only (HCS)<\/li>\n<li>Gentle cleaning with hydrocarbon sovents (HCS)<\/li>\n<li>Very gentle cleaning with hydrocarbon sovents (HCS)<\/li>\n<li>Dry clean, tetrachloroethylene only (PCE)<\/li>\n<li>Gentle cleaning with tetrachloroethylene (PCE)<\/li>\n<li>Very gentle cleaning with tetrachloroethylene (PCE)<\/li>\n<li>Wet clean<\/li>\n<li>Gentle wet cleaning<\/li>\n<li>Very gentle wet cleaning<\/li>\n<li>Professionnal wet cleaning is not allowed<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h4>2.2.2<\/h4>\n\n<ul>\n<li>Fix translation<\/li>\n<\/ul>\n\n<h4>2.2.1<\/h4>\n\n<ul>\n<li>You can now choose between Horizontal\/Vertical\/Minimal layouts<\/li>\n<\/ul>\n\n<h4>2.2.0<\/h4>\n\n<ul>\n<li>Added \"vertical\" mode<\/li>\n<\/ul>","raw_excerpt":"Display wash\/care symbols in WooCommerce products.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/132425","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=132425"}],"author":[{"embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/charlieetienne"}],"wp:attachment":[{"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=132425"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=132425"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=132425"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=132425"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=132425"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/km.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=132425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}