{"id":7756,"date":"2025-12-09T10:15:14","date_gmt":"2025-12-09T02:15:14","guid":{"rendered":"https:\/\/blog.naibabiji.com\/?p=7756"},"modified":"2026-03-25T11:02:59","modified_gmt":"2026-03-25T03:02:59","slug":"remove-product-prices","status":"publish","type":"post","link":"https:\/\/blog.naibabiji.com\/woocommerce\/remove-product-prices.html","title":{"rendered":"\u600e\u4e48\u5220\u9664WooCommerce\u4ea7\u54c1\u4ef7\u683c\u663e\u793a"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u6211\u4eec<a href=\"https:\/\/blog.naibabiji.com\/fob-website-guide\" target=\"_blank\" rel=\"noopener\" title=\"\">\u4f7f\u7528WordPress\u642d\u5efa\u5916\u8d38\u7f51\u7ad9<\/a>\u6216\u8005\u5176\u4ed6B2B\u7f51\u7ad9\u7684\u65f6\u5019\uff0c\u4ea7\u54c1\u7ba1\u7406\u901a\u5e38\u90fd\u4f1a\u4f7f\u7528WooCommerce\u8fd9\u4e2a\u63d2\u4ef6\uff0c\u901a\u5e38\u5728\u505a2B\u4e1a\u52a1\u7684\u65f6\u5019\uff0c\u6211\u4eec\u4e0d\u5e0c\u671b\u7f51\u7ad9\u4e0a\u9762\u663e\u793a\u5546\u54c1\u7684\u4ef7\u683c\uff0c\u5982\u679c\u4f60\u7f51\u7ad9\u663e\u793a\u4e86\u4ef7\u683c\uff0c\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u7684\u65b9\u6cd5\u53bb\u6389\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u4e0d\u586b\u5199\u5546\u54c1\u4ef7\u683c<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/edgeone.naibabiji.com\/wp-content\/uploads\/2022\/12\/Snipaste_2022-12-03_10-16-11.png\"><img loading=\"lazy\" decoding=\"async\" width=\"873\" height=\"353\" src=\"https:\/\/edgeone.naibabiji.com\/wp-content\/uploads\/2022\/12\/Snipaste_2022-12-03_10-16-11.png\" alt=\"WordPress\u5546\u54c1\u4ef7\u683c\" class=\"wp-image-11392\"\/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u6211\u4eec\u5728\u7f16\u8f91\u4ea7\u54c1\u7684\u65f6\u5019\uff0c\u4ea7\u54c1\u6570\u636e\u91cc\u9762\u53ea\u8981\u4e0d\u586b\u5199\u4ef7\u683c\u4fe1\u606f\uff0c\u90a3\u4e48\u7f51\u7ad9\u4e0a\u5c31\u4e0d\u4f1a\u663e\u793a\u4ef7\u683c\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001\u4f7f\u7528\u63d2\u4ef6<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u4f60\u5f88\u591a\u4ea7\u54c1\u90fd\u5305\u542b\u4e86\u4ef7\u683c\u4fe1\u606f\uff0c\u81ea\u5df1\u624b\u52a8\u6765\u5220\u9664\u4ef7\u683c\u53c8\u592a\u9ebb\u70e6\uff0c\u90a3\u4e48\u4e5f\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u7684\u63d2\u4ef6\u6765\u5b9e\u73b0\u53bb\u6389\u4ef7\u683c\u663e\u793a\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0b\u9762\u662f\u5976\u7238\u7edf\u8ba1\u7684\u51e0\u6b3e\u5e26\u6709WooCommerce Catalog\u6a21\u5f0f\u7684\u63d2\u4ef6\uff0c\u53ef\u4ee5\u81ea\u884c\u6311\u9009\u4e00\u6b3e\u8d77\u4f5c\u7528\u7684\u5b89\u88c5\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/wordpress.org\/plugins\/yith-woocommerce-catalog-mode\/\" target=\"_blank\" rel=\"noopener\">YITH WooCommerce Catalog Mode<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/wordpress.org\/plugins\/elex-woocommerce-catalog-mode\/\" target=\"_blank\" rel=\"noopener\">ELEX WooCommerce Catalog Mode<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/wordpress.org\/plugins\/pryc-wp-woocommerce-catalog-mode\/\" target=\"_blank\" rel=\"noopener\">PRyC WP\/WooCommerce: Catalog Mode<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/wordpress.org\/plugins\/ns-woocommerce-catalog\/\" target=\"_blank\" rel=\"noopener\">NS WooCommerce Catalog<\/a><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001\u4e3b\u9898\u8bbe\u7f6e\u5173\u95ed\u4ef7\u683c\u663e\u793a<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u4e9b\u9ad8\u7ea7WordPress\u4e3b\u9898\u7684\u8bbe\u7f6e\u91cc\u9762\u9ed8\u8ba4\u4f1a\u5e26\u6709Catalog\u6a21\u5f0f\uff0c\u6216\u8005\u81ea\u5df1\u8bbe\u7f6e\u4e0d\u663e\u793a\u4ef7\u683c\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f8b\u5982<a href=\"https:\/\/blog.naibabiji.com\/theme\/woodmart\" target=\"_blank\" rel=\"noopener\">WoodMart\u4e3b\u9898<\/a>\u9ed8\u8ba4\u5c31\u53ef\u4ee5\u5728\u4e3b\u9898\u8bbe\u7f6e\u91cc\u9762\u5f00\u542fCatalog\u6a21\u5f0f\uff0c\u8fd8\u53ef\u4ee5\u8bbe\u7f6e\u4e0d\u767b\u5f55\u4e0d\u663e\u793a\u4ef7\u683c\uff0c\u767b\u5f55\u663e\u793a\u4ef7\u683c\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/blog.naibabiji.com\/astra-theme\" target=\"_blank\" rel=\"noopener\" title=\"\">Astra\u4e3b\u9898<\/a>\u5728\u4e3b\u9898\u81ea\u5b9a\u4e49\u91cc\u9762\u53ef\u4ee5\u81ea\u5df1\u8bbe\u7f6e\u4ea7\u54c1\u9875\u663e\u793a\u54ea\u4e9b\u5143\u7d20\uff0c\u5982\u679c\u4e0d\u60f3\u663e\u793a\u4ef7\u683c\u76f4\u63a5\u70b9\u6389\u4ef7\u683c\u9009\u9879\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u56db\u3001\u4f7f\u7528\u51fd\u6570\u4ee3\u7801\u9690\u85cf<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u9664\u4e86\u4e0a\u97623\u79cd\u65b9\u6cd5\u4e4b\u5916\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u901a\u8fc7\u51fd\u6570\u4ee3\u7801\u6765\u9690\u85cf\u5546\u54c1\u7684\u4ef7\u683c\uff08\u7b2c\u4e8c\u6b65\u7684\u90a3\u4e9b\u63d2\u4ef6\u4e5f\u662f\u8fd9\u4e2a\u539f\u7406\uff09\uff0c\u5982\u679c\u4f60\u4e5f\u60f3\u5c1d\u8bd5\u7528\u4ee3\u7801\u624b\u52a8\u9690\u85cf\uff0c\u90a3\u4e48\u628a\u4e0b\u9762\u7684\u4ee3\u7801\u590d\u5236\u540e\u7c98\u8d34\u5230\u4f60\u4e3b\u9898\u7684\u51fd\u6570\u6587\u4ef6functions.php\u91cc\u9762\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code>remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );\nremove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_price', 10 );<\/code><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u4e0a\u9762\u4ee3\u7801\u65e0\u6548\uff0c\u53ef\u80fd\u662f\u4f60\u4e3b\u9898\u4ee3\u7801\u6267\u884c\u987a\u5e8f\u4e0a\u6709\u51b2\u7a81\uff0c\u53ef\u4ee5\u518d\u8bd5\u8bd5\u4e0b\u9762\u7684\u4ee3\u7801\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code>add_filter( 'woocommerce_get_price_html', 'naiba_hide_price' );\nfunction naiba_hide_price( $price ) {\n$price = 'Please contact us for a quote';\nreturn $price;\n}}<\/code><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u9762\u7684\u4ee3\u7801\u4f1a\u9690\u85cf\u6389\u4ef7\u683c\u5e76\u4e14\u8f93\u51fa\u4e00\u53e5\u201cPlease contact us for a quote\u201d\uff0c\u5982\u679c\u4e0d\u9700\u8981\u6587\u5b57\uff0c\u76f4\u63a5\u5220\u9664\u7559\u7a7a\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u7136\uff0c\u8fd8\u53ef\u4ee5\u901a\u8fc7css\u4ee3\u7801\u9690\u85cf\uff0c\u4f46\u662fcss\u4ee3\u7801\u662f\u5047\u9690\u85cf\uff0c\u5728\u9875\u9762\u6e90\u4ee3\u7801\u91cc\u9762\u8fd8\u53ef\u4ee5\u770b\u5230\uff0c\u6240\u4ee5\u8fd9\u91cc\u5976\u7238\u5c31\u4e0d\u4ecb\u7ecdcss\u9690\u85cf\u4ef7\u683c\u7684\u65b9\u6cd5\u4e86\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u76f8\u5173\u6587\u7ae0\uff1a<a href=\"https:\/\/blog.naibabiji.com\/files\/wordpress-plugins\/catalog-mode.html\">\u5220\u9664\u548c\u9690\u85cfWooCommerce\u6dfb\u52a0\u5230\u8d2d\u7269\u8f66\u6309\u94ae\u7684\u51e0\u79cd\u65b9\u5f0f \u2013 \u5976\u7238\u5efa\u7ad9\u7b14\u8bb0<\/a><\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;7756&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;4&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;4.2&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;4&quot;,&quot;greet&quot;:&quot;\u7ed9\u672c\u6587\u6253\u5206 post&quot;,&quot;legend&quot;:&quot;4.2\\\/5 - (4 votes)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;\u600e\u4e48\u5220\u9664WooCommerce\u4ea7\u54c1\u4ef7\u683c\u663e\u793a&quot;,&quot;width&quot;:&quot;115.6&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 115.6px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            4.2\/5 - (4 votes)    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u4eec\u4f7f\u7528WordPress\u642d\u5efa\u5916\u8d38\u7f51\u7ad9\u6216\u8005\u5176\u4ed6B2B\u7f51\u7ad9\u7684\u65f6\u5019\uff0c\u4ea7\u54c1\u7ba1\u7406\u901a\u5e38\u90fd\u4f1a\u4f7f\u7528WooCommerce\u8fd9\u4e2a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":11393,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"\u600e\u4e48\u5220\u9664WooCommerce\u4ea7\u54c1\u4ef7\u683c\u663e\u793a - \u5976\u7238\u5efa\u7ad9\u7b14\u8bb0","description":"\u6211\u4eec \u4f7f\u7528WordPress\u642d\u5efa\u5916\u8d38\u7f51\u7ad9 \u6216\u8005\u5176\u4ed6B2B\u7f51\u7ad9\u7684\u65f6\u5019\uff0c\u4ea7\u54c1\u7ba1\u7406\u901a\u5e38\u90fd\u4f1a\u4f7f\u7528WooCommerce\u8fd9\u4e2a\u63d2\u4ef6\uff0c\u901a\u5e38\u5728\u505a2B\u4e1a\u52a1\u7684\u65f6\u5019\uff0c\u6211\u4eec\u4e0d\u5e0c\u671b\u7f51\u7ad9\u4e0a\u9762\u663e\u793a\u5546\u54c1\u7684\u4ef7\u683c\uff0c\u5982\u679c\u4f60\u7f51\u7ad9\u663e\u793a\u4e86\u4ef7\u683c\uff0c\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u7684\u65b9\u6cd5\u53bb\u6389\u3002 \u4e00\u3001\u4e0d\u586b\u5199\u5546\u54c1\u4ef7\u683c \u6211\u4eec\u5728\u7f16\u8f91\u4ea7\u54c1\u7684\u65f6\u5019\uff0c\u4ea7\u54c1\u6570\u636e\u91cc\u9762\u53ea\u8981\u4e0d\u586b\u5199\u4ef7\u683c\u4fe1\u606f\uff0c\u90a3\u4e48\u7f51\u7ad9\u4e0a\u5c31\u4e0d\u4f1a\u663e\u793a"},"footnotes":""},"categories":[405],"tags":[],"class_list":["post-7756","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-woocommerce"],"_links":{"self":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/7756","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/comments?post=7756"}],"version-history":[{"count":4,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/7756\/revisions"}],"predecessor-version":[{"id":13775,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/7756\/revisions\/13775"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/media\/11393"}],"wp:attachment":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/media?parent=7756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/categories?post=7756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/tags?post=7756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}