Shelfora – Catalog Mode for WooCommerce

By WPPoland (Mariusz Szatkowski)

0+ active installationsVersion 1.1.9

Turn your store into a catalog: hide the price, the add-to-cart button, or both, store-wide or only for selected visitor roles.

Description

Shelfora turns your WooCommerce store into a browsable catalog. You choose
whether to hide the price, the add-to-cart button, or both, and whether that
applies to every visitor or only some of them. A common setup is to show prices
to logged-in wholesale customers while hiding them from everyone else.

Hiding add-to-cart does more than remove the button. Catalog products are also
marked non-purchasable, so a guessed ?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

Features

  • Hide the price, the add-to-cart button, or both.
  • Four visitor rules: everyone, logged-out visitors only, selected roles only, or everyone except selected roles (so wholesale customers keep prices and checkout).
  • Optional price notice shown in place of the price, such as “Contact us for pricing”.
  • Applies on single product pages and on shop, category, and tag listings.
  • Marks hidden products non-purchasable, so they can’t be bought through direct cart URLs or the Store API.
  • Settings screen built with standard WordPress admin styles.
  • Ships with a POT file for translation and removes its option on uninstall.
  • Declares HPOS and cart/checkout blocks compatibility.

Works with other Plogins plugins

Shelfora Pro

Shelfora Pro is a separate paid plugin that extends Shelfora.

Included in Shelfora:

  • Hide price or add-to-cart
  • Role rules
  • Price notice
  • Add-to-cart replacement filter
  • Purchase enforcement

Shelfora Pro adds:

  • Per-role visibility
  • Request a quote
  • Scheduled catalog windows
  • Per-rule CTA

The free edition is not a trial and its features stay available without a time limit.

External Services

Shelfora does not connect to any external services. Price and add-to-cart visibility are decided on your own server from the current visitor’s role, and your choices are kept in a single catalog_settings option in your WordPress database (plus a catalog_db_version marker for upgrades), both removed on uninstall. The plugin sends no data anywhere and loads only its own stylesheets bundled with the plugin.

Translations

Shelfora is fully translatable and ships the shelfora.pot template. Translations are delivered by WordPress.org language packs from translate.wordpress.org, which is where Polish, German and Spanish are being contributed; the package itself carries no compiled translation files.

Installation

  1. Upload the plugin to /wp-content/plugins/shelfora, or install via Plugins > Add New.
  2. Activate it. WooCommerce must be installed and active.
  3. Go to WooCommerce > Catalog and choose what to hide and the visitor rule.

FAQ

Does it require WooCommerce?

Yes. WooCommerce must be installed and active.

Can I show prices only to logged-in or wholesale customers?

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.

Does it stop people buying via a direct URL?

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.

Does catalog mode hide products from shop archives?

No. Products remain visible in listings unless your theme hides them; Shelfora controls price visibility and purchasability.

Can wholesale customers still see prices?

Yes. Use the visitor rule to hide prices from guests while allowing selected roles to see prices and buy.

Does it work with Quotlet?

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.

Does this plugin work on WordPress Multisite?

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.

Screenshots

Changelog

1.1.9

  • Readme: link to Shelfora Pro in the documentation list. New screenshots.

1.1.8

  • Performance: the stylesheet now loads only where a price notice shows. Plain pages and posts load nothing from the plugin.

1.1.7

  • Fixed: a variation is judged as its parent product, so a rule that hides add to cart or the price for a product (from an add-on or custom code) also covers each of its variations, and variations are blocked from the cart through WooCommerce’s own variation check as well.
  • Fixed: on block themes, a replacement for the add-to-cart button (from an add-on such as a quote button) showed twice on the product page. It now shows once, in place of the add-to-cart block.
  • Fixed: colour swatches inside a replacement form (such as the Quotlet Add to quote form on a variable product) lost their colour and their radio role, because the filter that cleans the replacement HTML dropped those attributes.

1.1.6

  • Links point at the new plogins.com address and the renamed GitHub repository.

1.1.5

  • Renamed to Shelfora, a coined English name, following the WordPress.org naming guidelines. Settings, database keys and hooks are untouched.

1.1.4

  • A replacement that is a form (for example a quote request form from an add-on) keeps its fields. The output filter allowed post HTML only, which removed form, input, textarea and button and left bare labels. Scripts and event attributes are still removed.

1.1.3

  • Fixed: on block themes such as Twenty Twenty-Five, variable and external products kept their add-to-cart form (or the external buy button), and the replacement text or call to action never showed on product pages. The add-to-cart block is now replaced the same way the classic form is.
  • Fixed: with “Hide the price” on, the raw price still reached the page source and search engines through the product structured data, the variation data of variable products and the Store API used by block pages. All three now leave the price out.
  • Fixed: a shop manager saving the settings dropped every selected role except Customer, because only the roles a shop manager may edit were listed. The role list now shows every role on the site.
  • Fixed: deleting the plugin on a multisite network removed the settings of one site only. Uninstall now cleans every site.

1.1.2

  • The upgrade notice’s “Coming soon” and “Get notified” labels are English source strings for every language; Polish sites used to get their own Polish source text, which translators in other languages then saw untranslated.

1.1.1

  • The sidebar upgrade promo now follows the same dismissal as the banner. Dismissing the banner used to leave a full-height advert on the settings screen for good, which is not what the WordPress.org guideline on upgrade prompts means by used with moderation.

1.1.0

  • Renamed to Vitrino. The WordPress.org review team asks a plugin name to lead with a distinctive, coined identifier rather than a generic descriptive word. Vitrino is Esperanto for a shop window. The text domain follows the name; the stored data, the settings and every hook are unchanged.

1.0.11

  • Fixed: the PRO upgrade promo kept selling to people who had already bought the paid edition. Only the banner could be dismissed, so the sidebar promo and the locked feature cards followed a paying customer around for good. The promo now checks whether the paid edition is active and steps aside when it is.
  • Fixed: arrow glyphs in the admin menu paths, and in the strings handed to translators. An arrow inside a translatable string makes the glyph every translator’s problem and changes the layout in any locale that drops it.

1.0.10

  • Fixed: deleting the plugin left the per-user “dismiss” flag from the PRO notice in the database. Uninstall now removes it for every user, not just the one who dismissed it.

1.0.9

  • The translation template was regenerated. It still named an older version of the plugin and pointed at source lines that had since moved, which is what translation tools read to show a string in context.

1.0.8

  • Renamed to Plogins Catalog – Catalog Mode for WooCommerce so the name leads with the brand rather than a generic word, which is what the WordPress.org plugin review team asks for. The plugin slug is unchanged.

1.0.7

  • Tested against WordPress 7.1. Verified by activating this build on a clean 7.1 install with WooCommerce 11.1, not by editing the header.

1.0.6

  • Fixed the PRO promo on the settings screen quoting a price in PLN. PRO is priced and charged in EUR, so an admin on a Polish site was shown a zloty amount and then billed in euro, and the zloty figure was a fixed conversion that drifted from the real charge as the rate moved. The promo now shows the euro price that is actually taken.

1.0.4

  • Translations: completed Polish, German and Spanish for the PRO upgrade panel.

1.0.3

  • Fixed low-contrast admin headings under an OS dark-mode preference.

1.0.2

  • Added bundled Polish, German and Spanish translations for the plugin interface.

1.0.1

  • First stable release.

0.1.4

  • Renamed to Plogins Catalog for WooCommerce for a more distinctive plugin name.

0.1.3

  • catalog/rule_cta filter for per-role CTA links shown before add-to-cart replacement filters.

0.1.2

  • catalog/add_to_cart_replacement filter for quote forms or CTA buttons when add-to-cart is hidden.

0.1.1

  • Extension filters catalog/hide_price, catalog/hide_add_to_cart and catalog/price_notice for PRO per-role visibility rules.

0.1.0

  • Initial release: hide the price and/or add-to-cart store-wide or by visitor role, optional price notice, single and listing support, and non-purchasable enforcement.