| 开发者 | motylanogha |
|---|---|
| 更新时间 | 2026年11月20日 14:08 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
?add-to-cart= URL or a Store API request
won't push a hidden product through to checkout.
Typical uses are wholesale and B2B stores, "request a quote" workflows,
members-only pricing, and showroom sites that display products without taking
orders online.
The plugin is open source. Source code and bug reports live on GitHub at
github.com/wppoland/shelfora.
Documentation and links
/wp-content/plugins/shelfora, or install via Plugins > Add New.Yes. WooCommerce must be installed and active.
Yes. Set the visitor rule to "Everyone except selected roles" and tick the roles that should still see prices and buy (e.g. your wholesale role), or use "Only logged-out visitors" to show prices to any logged-in customer.
Yes. Products under catalog mode with add-to-cart hidden are marked non-purchasable, so direct cart URLs and the REST API are blocked too.
No. Products remain visible in listings unless your theme hides them; Shelfora controls price visibility and purchasability.
Yes. Use the visitor rule to hide prices from guests while allowing selected roles to see prices and buy.
Yes, with no setting. When catalog mode hides add to cart, Quotlet quote products show one Add to quote button in its place, on product pages and in shop loops. Products that are not quote products keep Shelfora's own replacement.
Yes. This plugin is compatible with WordPress Multisite. Network activate it or activate it on individual sites; each site keeps its own settings and data.
catalog/rule_cta filter for per-role CTA links shown before add-to-cart replacement filters.catalog/add_to_cart_replacement filter for quote forms or CTA buttons when add-to-cart is hidden.catalog/hide_price, catalog/hide_add_to_cart and catalog/price_notice for PRO per-role visibility rules.