# Hide Price & Add to Cart

This section explains how to use **Hide Price** and **Hide Add to Cart** within Quote Logic, and how to combine this with other B2B apps such as **B2B Lock** and **Custom Pricing** (B2B Solution / Shopify B2B).

***

### 1. Overview

With Quote Logic, you can control:

* Whether **prices** are shown or hidden
* Whether **Add to Cart / Buy It Now** buttons are available
* Whether customers must **request a quote** instead of placing a normal order

This is configured in the **Set Up Prices & Buttons** area of each quote rule.

Typical patterns:

* Keep price + Add to Cart + Quote button
* Show price + Quote only (no Add to Cart)
* Hide price + Quote only (full “price on request” mode)

***

### 2. Common Scenarios

#### A. “Call for Price” / “Request a Quote” Only

**Goal:** You do not want to show prices at all for certain products or customer groups. Customers must contact you first.

**Configuration idea:**

* Hide **price**
* Hide **Add to Cart / Buy It Now**
* Show **Quote button** with label like:
  * “Request a quote”
  * “Contact us for pricing”

**Typical use cases:**

* Highly customized products
* Large project-based orders
* Products with frequently changing costs (materials, FX, etc.)

***

#### B. Logged-In Customers Only (Hide Price for Guests)

**Goal:** Show prices and purchase options only to logged-in customers. Guests see “Login to see price” or “Request a quote”.

**Configuration idea:**

1. Create a quote rule targeting **All visitors** or **Not logged-in** users.
2. For that rule:
   * Hide **price**
   * Hide **Add to Cart**
   * Show **Quote button** or message like “Login or request a quote”.
3. For logged-in B2B customers, use:
   * Another quote rule (or no rule) to show normal pricing and Add to Cart.

**Typical use cases:**

* Wholesale sites where public visitors should not see B2B pricing
* Stores that require approval before showing prices

***

#### C. VIP-Only Pricing / RFQ

**Goal:** Standard B2B customers see normal prices and checkout; **VIP customers** get special “request a quote” treatment or hidden prices.

**Configuration idea:**

1. Tag VIP customers, e.g. `vip_b2b`.
2. Create a quote rule with **customer tags = vip\_b2b** and **higher priority**:
   * Option 1: Show price + Add to Cart + Quote (for extra negotiation room).
   * Option 2: Hide price + Quote only (for fully negotiated deals).
3. Create a more general rule (lower priority) for regular B2B customers (e.g. show price, no RFQ or optional RFQ).

**Typical use cases:**

* Key accounts with special volume deals
* Distributors with contract-based pricing
* Early-access or pilot customers

***

### 3. How to Configure Hide Price & Add to Cart

For each quote rule:

1. Go to **Set Up Prices & Buttons**.
2. In the **Hide Price** section:
   * Choose whether to **show or hide** product prices.
3. In the **Button** section:
   * Decide whether to show/hide **Add to Cart** and **Buy It Now**.
   * Enable the **Quote button** on product pages and/or collection pages.
   * Set the button text and position (e.g. under price, under Add to Cart).
4. Save the quote rule and test on the storefront as:
   * A guest
   * A logged-in B2B customer
   * A VIP / tagged customer (if applicable)

Use customer conditions + product conditions + price/button settings to precisely control the experience.

***

### 4. Combining with B2B Lock

**B2B Lock** (Lock/Login/Hide Price app) controls **access** to pages and content. Quote Logic controls **behavior on product pages** (price visibility, quote button, Add to Cart).

You can combine them for stronger B2B workflows:

#### Example 1 – Fully private B2B catalog

* **B2B Lock:**
  * Lock collections and product pages for non-logged-in visitors.
  * Redirect guests to a login or B2B registration page.
* **Quote Logic:**
  * For logged-in B2B users, show **hidden price + Quote only** for certain collections.
  * For other collections, show normal price + Add to Cart.

#### Example 2 – Public catalog, quotes for B2B only

* **B2B Lock:**
  * Do not lock product pages; keep catalog visible to everyone.
  * Optionally hide only key B2B pages (e.g. wholesale onboarding).
* **Quote Logic:**
  * For tagged B2B customers → show Quote button (optionally hide Add to Cart on specific products).
  * For public visitors → show standard pricing and Add to Cart, no RFQ.

**Key idea:**\
Use B2B Lock to decide **who can see pages**, and use Quote Logic to decide **what pricing/actions appear** on those pages.

***

### 5. Combining with Custom Pricing (B2B Solution / Shopify B2B)

If you are using **B2B Solution (custom pricing)** or **Shopify B2B catalogs**, you can layer Quote Logic on top:

#### A. Custom pricing + optional RFQ

**Goal:** Show personalized prices, but still allow customers to negotiate via RFQ.

* Custom pricing app or Shopify B2B:
  * Controls **base price** per customer, company, or catalog.
* Quote Logic:
  * Keeps **price visible** for transparency.
  * Adds a **Quote button** so customers can ask for better terms for large orders.

#### B. Custom pricing + RFQ-only for special items

**Goal:** Most products use custom pricing; some sensitive SKUs are “quote only”.

* Custom pricing logic sets base prices for all products.
* Quote Logic rule for **specific collections/tags**:
  * Hide price and Add to Cart.
  * Show Quote only.
* Other products still show custom prices and normal checkout.

#### C. Shopify B2B catalogs + RFQ per Company/Location

**Goal:** Respect catalog pricing per Company/Location, with RFQ as an extra option.

* Shopify B2B catalogs:
  * Control **prices per Company/Location**.
* Quote Logic in **B2B Store mode**:
  * Targets specific Companies/Locations with different hide/show rules.
  * Example:
    * Company A: sees catalog prices + Quote button.
    * Company B: certain products are quote-only, hiding catalog price.

***

By combining **Hide Price & Add to Cart** with **B2B Lock** and **custom pricing**, you can design a flexible B2B experience where:

* The right customers see the right products
* Pricing visibility matches your strategy
* RFQ is available exactly where negotiation is needed, without breaking normal Shopify checkout flows.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-shpf.bsscommerce.com/bss-b2b-quick-order-and-quotes/request-for-quote/hide-price-and-add-to-cart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
