{"id":134696,"date":"2021-01-14T16:10:34","date_gmt":"2021-01-14T16:10:34","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wo-label-percentage-discount\/"},"modified":"2024-12-19T17:34:40","modified_gmt":"2024-12-19T17:34:40","slug":"wc-label-percentage-discount","status":"publish","type":"plugin","link":"https:\/\/sv.wordpress.org\/plugins\/wc-label-percentage-discount\/","author":18488177,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.4","stable_tag":"trunk","tested":"6.7.5","requires":"5.0.0","requires_php":"","requires_plugins":null,"header_name":"Label Percentage Discount","header_author":"Marco Barbadoro","header_description":"Calculate percentage and discount. Show percentage (%) Discount  on the category page and on the product page","assets_banners_color":"e2dbd1","last_updated":"2024-12-19 17:34:40","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/donate?hosted_button_id=8FLRK3N8Y8ASG","header_plugin_uri":"https:\/\/www.marcobarbadoro.it\/woo\/negozio\/","header_author_uri":"https:\/\/www.marcobarbadoro.it","rating":5,"author_block_rating":0,"active_installs":100,"downloads":3697,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.1.0":"<p>Updated compatibility and minor improvements.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":2455992,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":2488980,"resolution":"256x256","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3136871,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":2455992,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2455992,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":2455992,"resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":2455992,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Label Percentage Discount on a product page.","2":"Label Percentage Discount on a category page."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[331,230769,230770,195114,286],"plugin_category":[45],"plugin_contributors":[204981],"plugin_business_model":[],"class_list":["post-134696","plugin","type-plugin","status-publish","hentry","plugin_tags-discount","plugin_tags-discount-percentage","plugin_tags-prezzo-sale","plugin_tags-price-sale","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-marcobarbadoro81","plugin_committers-marcobarbadoro81"],"banners":{"banner":"https:\/\/ps.w.org\/wc-label-percentage-discount\/assets\/banner-772x250.jpg?rev=2455992","banner_2x":"https:\/\/ps.w.org\/wc-label-percentage-discount\/assets\/banner-1544x500.jpg?rev=2455992","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wc-label-percentage-discount\/assets\/icon-128x128.jpg?rev=2455992","icon_2x":"https:\/\/ps.w.org\/wc-label-percentage-discount\/assets\/icon-256x256.png?rev=3136871","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wc-label-percentage-discount\/assets\/screenshot-1.jpg?rev=2455992","caption":"Label Percentage Discount on a product page."},{"src":"https:\/\/ps.w.org\/wc-label-percentage-discount\/assets\/screenshot-2.jpg?rev=2455992","caption":"Label Percentage Discount on a category page."}],"raw_content":"<!--section=description-->\n<p>Label Percentage Discount calculates the discount percentage and displays it on both the category and product pages. Example: \"Save 38%\". The plugin subtracts the sale price from the regular price, divides it by the regular price, and then multiplies the result by 100 to get the discount percentage.<\/p>\n\n<h4>Features:<\/h4>\n\n<ul>\n<li>Supports the latest versions of WordPress and WooCommerce.<\/li>\n<li>Automatically shows the Percentage Discount on the front end, with no settings required.<\/li>\n<\/ul>\n\n<p><a href=\"https:\/\/www.marcobarbadoro.it\/woo\/prodotto\/calcolo-metri-quadri-woocmmerce\/\">Front end Demo<\/a> (See how it looks on the front-end website)<\/p>\n\n<!--section=installation-->\n<p>To install Woocommerce Label Percentage Discount, follow these steps:<\/p>\n\n<ol>\n<li>Download and unzip the plugin.<\/li>\n<li>Upload the entire <code>label-percentage-discount\/<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20to%20use%20it%3F'><h3>How to use it?<\/h3><\/dt>\n<dd><p>Once activated, the plugin automatically calculates and displays the discount percentage on product and category pages. No further configuration is needed.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Dichiarata compatibilit\u00e0 con High-Performance Order Storage (HPOS).<\/li>\n<li>Ottimizzato codice per compatibilit\u00e0 con WooCommerce 9.1+.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Improved translation support.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Sale icon removed.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial Release.<\/li>\n<\/ul>","raw_excerpt":"Calculate percentage and discount. Display a label with the percentage discount.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/134696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=134696"}],"author":[{"embeddable":true,"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/marcobarbadoro81"}],"wp:attachment":[{"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=134696"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=134696"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=134696"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=134696"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=134696"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=134696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}