{"id":2448,"date":"2019-08-30T12:48:24","date_gmt":"2019-08-30T07:18:24","guid":{"rendered":"https:\/\/magecomp.com\/support\/?post_type=manual_documentation&#038;p=2448"},"modified":"2023-09-14T11:05:23","modified_gmt":"2023-09-14T05:35:23","slug":"discount-percentage-frontend","status":"publish","type":"manual_documentation","link":"https:\/\/magecomp.com\/support\/docs\/magento-2-discount-percentage-extension\/discount-percentage-frontend\/","title":{"rendered":"Discount Percentage in Frontend"},"content":{"rendered":"<p>Once you have enabled the extension from the backend, the extension will display discount percentage on the frontend product page. The extension will automatically fetch the product\u2019s special price and calculates discount percentage accordingly.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-10269\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/2_Discount-Percentage-on-Product-Page.png\" alt=\"Discount Percentage on Product Page\" width=\"1344\" height=\"890\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/2_Discount-Percentage-on-Product-Page.png 1344w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/2_Discount-Percentage-on-Product-Page-300x199.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/2_Discount-Percentage-on-Product-Page-1024x678.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/2_Discount-Percentage-on-Product-Page-768x509.png 768w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/2_Discount-Percentage-on-Product-Page-600x397.png 600w\" sizes=\"(max-width: 1344px) 100vw, 1344px\" \/><\/p>\n<p>Discount Percentage supported for Grouped Products<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-13289\" title=\"SS\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/SS-1.png\" alt=\"Discount Percentage for Grouped Products\" width=\"1170\" height=\"578\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/SS-1.png 1170w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/SS-1-300x148.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/SS-1-1024x506.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/SS-1-768x379.png 768w\" sizes=\"(max-width: 1170px) 100vw, 1170px\" \/><\/p>\n<p>Discount Percentage supported for Configurable Products with Dropdown option<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-13290\" title=\"SS\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/SS-2.png\" alt=\"Discount Percentage for Configurable Products\" width=\"1170\" height=\"578\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/SS-2.png 1170w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/SS-2-300x148.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/SS-2-1024x506.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/SS-2-768x379.png 768w\" sizes=\"(max-width: 1170px) 100vw, 1170px\" \/><\/p>\n<p>Discount Percentage supported for Configurable Products with Swatch option<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13291\" title=\"SS\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/SS-3.png\" alt=\"Discount Percentage for Configurable Product\" width=\"1170\" height=\"578\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/SS-3.png 1170w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/SS-3-300x148.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/SS-3-1024x506.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/08\/SS-3-768x379.png 768w\" sizes=\"(max-width: 1170px) 100vw, 1170px\" \/><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2443,"menu_order":2,"template":"","manualdocumentationcategory":[1221],"manual_doc_tag":[],"class_list":["post-2448","manual_documentation","type-manual_documentation","status-publish","hentry","manualdocumentationcategory-m2-discount-percentage"],"_links":{"self":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/2448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation"}],"about":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/types\/manual_documentation"}],"author":[{"embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/2448\/revisions"}],"predecessor-version":[{"id":13292,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/2448\/revisions\/13292"}],"up":[{"embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/2443"}],"wp:attachment":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/media?parent=2448"}],"wp:term":[{"taxonomy":"manualdocumentationcategory","embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manualdocumentationcategory?post=2448"},{"taxonomy":"manual_doc_tag","embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_doc_tag?post=2448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}