> For the complete documentation index, see [llms.txt](https://help.dollarlabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.dollarlabs.io/dollarlabs-b2b-custom-pricing/show-final-prices-on/product-page.md). Agents can also search and read this documentation through its [MCP server](https://help.dollarlabs.io/~gitbook/mcp).

# Product page

The Product Price block — showing the buyer's real price on the product page, with strike-through originals, currency codes and login gating.

{% embed url="<https://dollarlabs.neetorecord.com/watch/650a36008bf88393e524>" %}

**Product Price** shows the selected variant’s customer price. Add it beside your product details and remove the theme’s duplicate price block.

## Before you start

* Pricing is configured and the price list is **enabled**.
* Your theme is Online Store 2.0, so it supports app blocks.

## Adding the block

1. **Online Store → Themes → Customize**.
2. Open the **Product → Default product template** — or whichever template is assigned to the products you are testing.
3. **Add block → Apps → Product Price**.
4. Position it where the theme's price sits.
5. **Save**.

{% hint style="info" %}
If two prices appear, hide the theme's original price block. Contact support if your theme does not allow this.
{% endhint %}

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-ce20461d50bc00f865383b459fb4c18501f8330b%2Fproduct-block-picker-annotated.png?alt=media" alt="Shopify theme editor block picker on the Apps tab listing Dollarlabs Add to Cart, Order Form, Product Price, Validation Message and Volume Tiers."><figcaption><p>Select Add block inside the product details (badge 1 sits on that link), open the Apps tab, then choose Product Price.</p></figcaption></figure>

For a quantity picker that follows case and minimum rules, add the separate [Add to cart button](https://help.dollarlabs.io/dollarlabs-b2b-custom-pricing/show-final-prices-on/add-to-cart-button.md).

## Settings

<table><thead><tr><th width="290">Setting</th><th>What it does</th><th width="130">Default</th></tr></thead><tbody><tr><td><strong>Product</strong></td><td>The product to price. Normally the current product; choose one only when this block should always show that product.</td><td>current product</td></tr><tr><td><strong>Show original price</strong></td><td>When the product is discounted, show the catalog price struck through beside the buyer's price.</td><td>on</td></tr><tr><td><strong>Show compare at price for non-discounted price</strong></td><td>When there is <em>no</em> wholesale discount, show the compare-at price struck through instead. MSRP-style framing.</td><td>off</td></tr><tr><td><strong>Show currency code</strong></td><td>Print the currency code beside the price.</td><td>off</td></tr><tr><td><strong>Currency code position</strong></td><td><code>left</code> (<code>USD 700</code>) or <code>right</code> (<code>700 USD</code>).</td><td><code>right</code></td></tr><tr><td><strong>Hide price without login</strong></td><td>Hide prices from logged-out visitors and show the sign-in message instead.</td><td>on</td></tr><tr><td><strong>Hide this block entirely when logged out</strong></td><td>Hide the block instead of its sign-in message when login gating is enabled.</td><td>off</td></tr><tr><td><strong>Sign in message</strong></td><td>The HTML shown in place of a hidden price.</td><td><code>&#x3C;p>Sign in to see price&#x3C;/p></code></td></tr><tr><td><strong>Hyperlink to login page on sign in message</strong></td><td>Turn that message into a link to the login page.</td><td>on</td></tr><tr><td><strong>Show Unit Price</strong></td><td>Show a secondary unit price beneath the main price — per litre, per sheet, per kg.</td><td>off</td></tr><tr><td><strong>Unit price expression</strong></td><td>How the unit price is derived.</td><td>—</td></tr><tr><td><strong>Unit price metafield</strong></td><td>A Liquid value supplying the unit quantity, typically a product metafield.</td><td>—</td></tr><tr><td><strong>Unit price label</strong></td><td>Text after the unit price.</td><td><code>each</code></td></tr><tr><td><strong>CSS</strong></td><td>Your own CSS for the block.</td><td>—</td></tr></tbody></table>

Display switches such as original price, compare-at price, currency-code visibility, unit-price visibility and login visibility are controlled by the placed theme block. The wording and its translations are in the app under **Customize → Product price → Text & languages**. If a setting you change on the block has no effect, see [If a block ignores a theme-editor change](https://help.dollarlabs.io/dollarlabs-b2b-custom-pricing/show-final-prices-on/customize-page.md#if-a-block-ignores-a-theme-editor-change).

## Gating prices behind login

Use **Hide price without login** to show a sign-in message instead of a price to signed-out visitors.

Enable **Hide this block entirely when logged out** if you want no message from this block. This applies when **Hide price without login** is enabled.

Set a **Sign in message**, such as "Sign in to see your trade pricing". Enable the login hyperlink to make the message clickable. The block uses Shopify’s storefront login route for new customer accounts, or a login link with a return path for classic accounts.

{% hint style="warning" %}
This hides the price on the product page. It is not a security control and it does not hide products or prevent purchase. To restrict who can buy, use Shopify's customer account and market settings.
{% endhint %}

## Unit pricing

For products sold by volume or weight, **Show Unit Price** adds a secondary line — "$1.20 per litre" beneath "$14.40".

It needs a source for the unit quantity, which is what **Unit price expression** and **Unit price metafield** provide, usually a product metafield holding the pack size. Add that value to your product data before configuring the display.

## Testing

1. Sign in as a customer whose tag has pricing. The wholesale price should show.
2. Sign in as an untagged customer. Check the Default price if configured; otherwise check the catalog price.
3. Sign out. With login gating on, check the sign-in message or hidden block, depending on your settings.
4. Switch variants and quantities, then add to cart. Check the correct quantity tier and any case or loose-unit prices. Repeat in a quick-view window if your theme provides one.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-d512e2f046e15d14442e2792f9e8915250b23824%2Fproduct-page-wholesale-annotated.png?alt=media" alt="Everyday Notebook product page for a signed-in wholesale buyer with Product Price, Volume Tiers, Validation Message and a case-aware Add to Cart picker." width="684"><figcaption><p>A wholesale buyer sees their price, the tiers and the case rule before they add to cart.</p></figcaption></figure>

If the displayed price does not match the cart, check the selected variant, quantity and customer tag, then contact support if needed.

## When the block does not appear

* You are editing a **different template** to the one assigned to the product you are testing. This is the usual cause.
* You are editing a **different theme** to the one published or previewed.
* The theme is not Online Store 2.0.

## When the price looks wrong

* **Retail price for a tagged customer** — check the tag is spelled like the column (capital letters don't matter). See [Customer tags & columns](https://help.dollarlabs.io/dollarlabs-b2b-custom-pricing/getting-started/customer-tags-and-columns.md).
* **A different price to the one you set** — the customer probably has a second priced tag. [The lowest price wins](https://help.dollarlabs.io/dollarlabs-b2b-custom-pricing/getting-started/how-pricing-works.md).
* **No price at all** — check the two login visibility settings, the assigned product template and the browser console for script errors.
