{"id":104523,"date":"2019-05-28T15:09:57","date_gmt":"2019-05-28T15:09:57","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wp-custom-empty-price\/"},"modified":"2026-04-07T19:32:44","modified_gmt":"2026-04-07T19:32:44","slug":"woo-custom-empty-price","status":"publish","type":"plugin","link":"https:\/\/ast.wordpress.org\/plugins\/woo-custom-empty-price\/","author":23072003,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.3","stable_tag":"2.0.3","tested":"6.9.4","requires":"6.2","requires_php":"7.4","requires_plugins":null,"header_name":"Custom Empty Price for WooCommerce","header_author":"Chris Allen","header_description":"Customise what is shown on a product when it has no price set. Show a call to action, text or custom HTML.","assets_banners_color":"e9ebe8","last_updated":"2026-04-07 19:32:44","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/poodleplugins.com\/woo-custom-empty-price","header_author_uri":"https:\/\/poodleplugins.com","rating":4.8,"author_block_rating":0,"active_installs":300,"downloads":4785,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"chrisjallen","date":"2019-06-02 15:00:32"},"1.1.0":{"tag":"1.1.0","author":"chrisjallen","date":"2020-03-11 21:46:31"},"1.1.1":{"tag":"1.1.1","author":"chrisjallen","date":"2020-09-01 21:39:33"},"1.1.2":{"tag":"1.1.2","author":"chrisjallen","date":"2022-06-23 07:11:49"},"1.1.5":{"tag":"1.1.5","author":"chrisjallen","date":"2024-01-07 22:58:22"},"2.0.0":{"tag":"2.0.0","author":"poodleplugins","date":"2025-01-27 08:24:51"},"2.0.1":{"tag":"2.0.1","author":"poodleplugins","date":"2025-12-01 22:42:43"},"2.0.3":{"tag":"2.0.3","author":"poodleplugins","date":"2026-04-07 19:32:44"}},"upgrade_notice":{"1.1.0":"<p>Added shortcode support to HTML content type.<\/p>","1.0.0":"<p>This is the first version.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":1,"5":4},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3109790,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3407336,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3407336,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.1.1","1.1.2","1.1.5","2.0.0","2.0.1","2.0.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3407336,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3407336,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3407336,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2096609,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2096609,"resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"Plain Text settings:","2":"Call To Action settings:","3":"Custom HTML settings:"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[228654,1602,228653,3150,286],"plugin_category":[43],"plugin_contributors":[228502],"plugin_business_model":[],"class_list":["post-104523","plugin","type-plugin","status-publish","hentry","plugin_tags-call-for-pricing","plugin_tags-call-to-action","plugin_tags-empty-price","plugin_tags-price","plugin_tags-woocommerce","plugin_category-customization","plugin_contributors-poodleplugins","plugin_committers-chrisjallen","plugin_committers-poodleplugins"],"banners":{"banner":"https:\/\/ps.w.org\/woo-custom-empty-price\/assets\/banner-772x250.png?rev=3407336","banner_2x":"https:\/\/ps.w.org\/woo-custom-empty-price\/assets\/banner-1544x500.png?rev=3407336","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/woo-custom-empty-price\/assets\/icon-256x256.png?rev=3109790","icon_2x":"https:\/\/ps.w.org\/woo-custom-empty-price\/assets\/icon-256x256.png?rev=3109790","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/woo-custom-empty-price\/assets\/screenshot-1.png?rev=3407336","caption":"Plain Text settings:"},{"src":"https:\/\/ps.w.org\/woo-custom-empty-price\/assets\/screenshot-2.png?rev=3407336","caption":"Call To Action settings:"},{"src":"https:\/\/ps.w.org\/woo-custom-empty-price\/assets\/screenshot-3.png?rev=3407336","caption":"Custom HTML settings:"},{"src":"https:\/\/ps.w.org\/woo-custom-empty-price\/assets\/screenshot-4.png?rev=2096609","caption":""},{"src":"https:\/\/ps.w.org\/woo-custom-empty-price\/assets\/screenshot-5.png?rev=2096609","caption":""}],"raw_content":"<!--section=description-->\n<p>This plugin will allow you to completely customise the empty price HTML on a single product page. It can be used to add a 'CONTACT FOR PRICING' call to action button, \nsome advisory text, or any custom HTML you choose.<\/p>\n\n<p>There are three 'content types' available for flexibility &amp; ease of use:<\/p>\n\n<ol>\n<li>A simple text box with options for bold or italic styling<\/li>\n<li>A button with an optional link<\/li>\n<li>An option to add your own custom HTML<\/li>\n<\/ol>\n\n<p>By default it will use the styles available in your custom theme, but each content type has a configurable CSS class, should you wish to style the content further.<\/p>\n\n<p>Note on variable products:<\/p>\n\n<p>The custom content will only show on variable products if none of the variations have a price set. Due to the nature of variable products, this will result in an out of stock message being displayed. If you do not wish to have this out of stock message, the simplest option is to only use this on 'Simple' or 'Grouped' products.<\/p>\n\n<!--section=installation-->\n<h4>From your WordPress dashboard<\/h4>\n\n<ol>\n<li>Visit 'Plugins &gt; Add New'<\/li>\n<li>Search for 'Custom Empty Price for WooCommerce'<\/li>\n<li>Activate 'Custom Empty Price for WooCommerce' from your Plugins page.<\/li>\n<li>Visit 'Custom Empty Price' in the 'Settings' submenu to access the settings.<\/li>\n<\/ol>\n\n<h4>From WordPress.org<\/h4>\n\n<ol>\n<li>Download 'Custom Empty Price for WooCommerce'.<\/li>\n<li>Upload the 'woo-custom-empty-price' directory to your '\/wp-content\/plugins\/' directory, using your favorite method (ftp, sftp, scp, etc...)<\/li>\n<li>Activate 'Custom Empty Price for WooCommerce' from your Plugins page.<\/li>\n<li>Visit 'Custom Empty Price' in the 'Settings' submenu to access the settings.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20i%20set%20the%20button%20to%20open%20a%20popup%2C%20for%20say%20a%20contact%20form%3F\"><h3>Can I set the button to open a popup, for say a contact form?<\/h3><\/dt>\n<dd><p>Technically, yes, as long as you use the custom HTML option. As the custom HTML will not allow you to add your own script tags for security reasons, you  will have to enqueue your own Javascript seperately from the plugin. Your best option is to use a Wordpress <a href=\"https:\/\/codex.wordpress.org\/Shortcode\">Shortcode<\/a>. Support for shortcodes was added in V1.1.0.<\/p>\n\n<p>I am considering adding the ability to enqueue your own scripts as a built-in feature, so if you require this kind of functionality, just ask.<\/p><\/dd>\n<dt id=\"do%20you%20have%20any%20other%20useful%20plugins%3F\"><h3>Do you have any other useful plugins?<\/h3><\/dt>\n<dd><p>Yes, I have two other ( completely free ) plugins called WP Dev Flag &amp; WP Custom Author URL, both on the Wordpress Repository here:<\/p>\n\n<p><a href=\"https:\/\/wordpress.org\/plugins\/wp-dev-flag\/\">WP Dev Flag<\/a>\n<a href=\"https:\/\/wordpress.org\/plugins\/wp-custom-author-url\/\">WP Custom Author URL<\/a><\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.3<\/h4>\n\n<ul>\n<li>Fix all output escaping in admin settings callbacks (wp_kses \/ wp_kses_post).<\/li>\n<li>Remove dead code: leftover global options from unrelated plugin, unused template override method.<\/li>\n<li>Add 'Show in product listings' setting with placeholder to maintain equal card heights when disabled.<\/li>\n<li>Fix front-end style attribute to avoid empty color value.<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Fix text domain to match plugin slug (woo-custom-empty-price).<\/li>\n<li>Fix escaping on all echoed output.<\/li>\n<li>Add Requires Plugins header for WooCommerce dependency.<\/li>\n<li>Update tested up to WordPress 6.9.<\/li>\n<li>Update minimum required WordPress version to 6.2.<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Update plugin name to comply with WooCommerce trademark guidelines.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Full codebase rewrite. Remove code fluff, restructure code.<\/li>\n<\/ul>\n\n<h4>1.1.5<\/h4>\n\n<ul>\n<li>Remove unnecessary hook that was causing a warning.<\/li>\n<\/ul>\n\n<h4>1.1.4<\/h4>\n\n<ul>\n<li>Fixed bug causing errors on some themes, eg. Storefront.<\/li>\n<\/ul>\n\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>Full code factoring which no longer uses WPPB, resulting in a much lighter codebase. \nAlso the plugin now uses its own override template for single-product\/price.php to make it more consistent across themes.<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Updated deprecated jQuery .load() function to use .on()<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added shortcode support to HTML content type.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First Version.<\/li>\n<\/ul>","raw_excerpt":"Show text, a call to action or custom HTML when a product has no price set.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/104523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=104523"}],"author":[{"embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/poodleplugins"}],"wp:attachment":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=104523"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=104523"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=104523"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=104523"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=104523"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=104523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}