{"id":268847,"date":"2025-12-23T11:16:22","date_gmt":"2025-12-23T11:16:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/sdp-price-per-unit-for-woocommerce\/"},"modified":"2026-04-08T06:51:17","modified_gmt":"2026-04-08T06:51:17","slug":"sdp-price-per-unit-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/cn.wordpress.org\/plugins\/sdp-price-per-unit-for-woocommerce\/","author":23401577,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.2","stable_tag":"1.2.2","tested":"7.0","requires":"6.0","requires_php":"7.3","requires_plugins":null,"header_name":"SDP Price per Unit for WooCommerce","header_author":"Simple Direct Plugins","header_description":"Show a price per unit for WooCommerce products calculated from weight or dimensions, with global defaults and per-product control","assets_banners_color":"e2c7cd","last_updated":"2026-04-08 06:51:17","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/simpledirectplugins.com\/sdp-price-per-unit-pro\/","header_author_uri":"https:\/\/simpledirectplugins.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":542,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"simpledirectplugins","date":"2025-12-23 13:31:53"},"1.0.1":{"tag":"1.0.1","author":"simpledirectplugins","date":"2026-01-13 14:25:01"},"1.1.0":{"tag":"1.1.0","author":"simpledirectplugins","date":"2026-01-24 10:47:19"},"1.1.1":{"tag":"1.1.1","author":"simpledirectplugins","date":"2026-02-23 17:55:08"},"1.1.2":{"tag":"1.1.2","author":"simpledirectplugins","date":"2026-03-06 09:13:06"},"1.2.0":{"tag":"1.2.0","author":"simpledirectplugins","date":"2026-03-21 09:33:44"},"1.2.1":{"tag":"1.2.1","author":"simpledirectplugins","date":"2026-03-22 08:07:13"},"1.2.2":{"tag":"1.2.2","author":"simpledirectplugins","date":"2026-04-08 06:51:17"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3426133,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3426133,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3426139,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3426139,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.1.0","1.1.1","1.1.2","1.2.0","1.2.1","1.2.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3426133,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3426133,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Single product page showing the unit price","2":"Plugin settings in product data metabox"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[65547,13406,10234,202368,286],"plugin_category":[45],"plugin_contributors":[250806],"plugin_business_model":[],"class_list":["post-268847","plugin","type-plugin","status-publish","hentry","plugin_tags-product-price","plugin_tags-unit-price","plugin_tags-weight","plugin_tags-weight-based-pricing","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-simpledirectplugins","plugin_committers-enriquejros","plugin_committers-simpledirectplugins","plugin_support_reps-enriquejros"],"banners":{"banner":"https:\/\/ps.w.org\/sdp-price-per-unit-for-woocommerce\/assets\/banner-772x250.jpg?rev=3426139","banner_2x":"https:\/\/ps.w.org\/sdp-price-per-unit-for-woocommerce\/assets\/banner-1544x500.jpg?rev=3426139","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/sdp-price-per-unit-for-woocommerce\/assets\/icon-128x128.png?rev=3426133","icon_2x":"https:\/\/ps.w.org\/sdp-price-per-unit-for-woocommerce\/assets\/icon-256x256.png?rev=3426133","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/sdp-price-per-unit-for-woocommerce\/assets\/screenshot-1.png?rev=3426133","caption":"Single product page showing the unit price"},{"src":"https:\/\/ps.w.org\/sdp-price-per-unit-for-woocommerce\/assets\/screenshot-2.png?rev=3426133","caption":"Plugin settings in product data metabox"}],"raw_content":"<!--section=description-->\n<p>Price transparency is essential for helping customers compare products and make informed purchasing decisions. <strong>SDP Price per Unit for WooCommerce<\/strong> allows you to automatically display the unit price of your products based on weight or dimensions, directly alongside the regular product price.<\/p>\n\n<p>This plugin is especially useful for stores selling products by weight, length, area, or volume, and supports pricing transparency practices commonly required in many European markets, including those derived from Directive 98\/6\/EC.<\/p>\n\n<p>The unit price is calculated dynamically using the product's existing WooCommerce data, ensuring consistency and accuracy without duplicating information.<\/p>\n\n<h4>\u2699\ufe0f Features<\/h4>\n\n<ul>\n<li>Automatically displays the price per unit on WooCommerce products.<\/li>\n<li>Supports unit pricing based on:\n\n<ul>\n<li>Weight.<\/li>\n<li>Length.<\/li>\n<li>Area.<\/li>\n<li>Volume.<\/li>\n<\/ul><\/li>\n<li>Flexible display rules:\n\n<ul>\n<li>Only on product page.<\/li>\n<li>On archive pages (shop, categories, search results...).<\/li>\n<li>All of them.<\/li>\n<\/ul><\/li>\n<li>Global default settings with per-product overrides.<\/li>\n<li>Compatible with simple products and product variations, updating automatically with variation selection.<\/li>\n<li>Uses WooCommerce tax display settings (including or excluding tax).<\/li>\n<li>Clean and lightweight output, easy to style with CSS.<\/li>\n<li>Shortcode support to display the unit price anywhere on the product page.<\/li>\n<li>Translations ready.<\/li>\n<li>Completely translated into Spanish.<\/li>\n<\/ul>\n\n<h4>Shortcode<\/h4>\n\n<p>You can display the unit price manually using a shortcode (only on single and external products).<\/p>\n\n<pre><code>[sppu_price_per_unit]\n<\/code><\/pre>\n\n<p>This is useful if you want full control over placement within your product layout or custom templates.<\/p>\n\n<h4>\ud83d\udc8e Pro Version<\/h4>\n\n<p><strong>Unlock the full potential of <a href=\"https:\/\/simpledirectplugins.com\/sdp-price-per-unit-pro\/\">SDP Price per Unit Pro<\/a><\/strong> with these advanced features:<\/p>\n\n<ul>\n<li>Custom unit types (e.g. liter, bottle, pack, month).<\/li>\n<li>Custom unit text per product.<\/li>\n<li>Natural unit price wording, not just symbols: Use \"\/kg\" or \"per wash\" depending on what makes sense for your product.<\/li>\n<li>Elementor widget to display unit price anywhere on your pages.<\/li>\n<li>Advanced shortcode with support for variable products, optional inline usage, and variation-specific unit prices.<\/li>\n<li>Inline shortcode usage (without before\/after text)<\/li>\n<li>Extended display conditions.<\/li>\n<li>Additional formatting options.<\/li>\n<li>Priority support and ongoing feature updates.<\/li>\n<\/ul>\n\n<p>The Pro version is designed for stores that require advanced unit pricing scenarios or non-standard measurement units.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20modify%20my%20product%20prices%3F\"><h3>Does this plugin modify my product prices?<\/h3><\/dt>\n<dd><p>No. The plugin only displays additional pricing information. It does not alter product prices or calculations.<\/p><\/dd>\n<dt id=\"where%20does%20the%20plugin%20get%20the%20unit%20data%20from%3F\"><h3>Where does the plugin get the unit data from?<\/h3><\/dt>\n<dd><p>All calculations are based on the weight and dimensions defined in the WooCommerce product \"Shipping\" tab.<\/p><\/dd>\n<dt id=\"is%20this%20plugin%20compatible%20with%20variable%20products%3F\"><h3>Is this plugin compatible with variable products?<\/h3><\/dt>\n<dd><p>Yes. Unit prices are calculated individually for each variation.<\/p><\/dd>\n<dt id=\"can%20the%20plugin%20be%20translated%20into%20other%20languages%3F\"><h3>Can the plugin be translated into other languages?<\/h3><\/dt>\n<dd><p>Yes, it\u2019s fully compatible with translation files and multilingual plugins such as WPML, and comes with a complete Spanish translation included.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20guarantee%20legal%20compliance%3F\"><h3>Does this plugin guarantee legal compliance?<\/h3><\/dt>\n<dd><p>No. The plugin helps display unit pricing information clearly, but compliance depends on your store setup and local regulations.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Added  - Specific styles for product panel in mobile devices<\/li>\n<li>Tweak  - Improved styles for product panel<\/li>\n<li>Fix   - Variable products could display the default separator instead of the one set for the product<\/li>\n<li>Fix   - The unit price could fail to display on variable products if all variations had the same price<\/li>\n<li>Update - Support for WooCommerce 10.7<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Fix - The help notice was displayed on screens where it should not appear<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Added  - Help messages<\/li>\n<li>Update - POT file updated<\/li>\n<\/ul>","raw_excerpt":"Show a price per unit for WooCommerce products calculated from weight or dimensions, with global defaults and per-product control.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/268847","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=268847"}],"author":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/simpledirectplugins"}],"wp:attachment":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=268847"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=268847"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=268847"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=268847"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=268847"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=268847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}