kowal.info

B2B Access Control

Product page

B2B Suite — kowal.co

Description

Choose what guests can see and buy on each wholesale website. A private storefront can require sign-in, while a public catalog can show products with restricted prices or purchasing.

For whom

For wholesalers deciding whether visitors may browse the catalog, see prices, register or place items in the cart.

Features

  • Require login for storefront pages.
  • Hide guest prices independently of guest purchasing.
  • Return the buyer to the originally requested page after login.

Installation

This component is included in B2B Suite. Follow the suite installation instructions.

Configuration

  1. In Stores → Configuration → Kowal → B2B, select the wholesale website and enable B2B under General.
  2. Under Guest Access, choose Guest Access Mode. For a public catalog, set Hide Prices From Guests and Disable Guest Purchasing separately.
  3. Use Customer Account Access to choose whether customers may register. In login-required mode, review Forced Login Exceptions for pages that must remain public.

Requirements / notes

The policy applies to guests on the selected B2B website. Test it in a fresh browser session.

FAQ

Can guests see prices but be required to sign in before buying?

Yes. Choose the public catalog with guest restrictions, leave prices visible and enable the purchasing restriction.

Verify the installation

bin/magento module:status Kowal_B2BAccessControl

As a guest, open a product and try adding it to the cart. Sign in as a company buyer and repeat. Compare the two results with the selected policy.