Using Shopify Functions for Customer-Specific Pricing — Suppress Discount Display in Checkout & Invoice

Hi everyone,

I’m a developer working on a custom Wholesale B2B app that uses Shopify Functions (Product Discount) to implement tiered customer-specific pricing. For example, the same product may have the following pricing tiers:

  • ₹200 for regular customers
  • ₹150 for wholesalers
  • ₹100 for retailers

We’re applying these prices using Shopify Functions based on customer tags, and the logic itself is working fine. However, we’ve run into a presentation issue in the storefront and invoices.

Issue:

When the pricing is applied via Functions, Shopify treats it as a discount — so in the invoice and checkout, it appears like this:

This might confuse wholesale customers, who should simply see their fixed pricing without any notion of a discount.

What we need:

We want the price to be shown as-is, without any strike-through or discount breakdown. Ideally:

  • Line item should show the final price (e.g., ₹50), not a discounted price
  • No compare-at or discount labels should be shown
  • Invoices and order summaries should reflect clean, direct pricing
  • Checkout UI should treat the price as the base price, not as a result of a promotion

Question:

Is there a way — either through Shopify Functions or another official method — to override the line-item price directly without showing it as a discount?

We’re aiming for clean, segment-specific pricing, without any discount messaging.

If anyone has found a workaround or knows if this is possible via Function APIs or Shopify Checkout Extensibility, your help would be much appreciated.

Thanks in advance!

You could use the update method within the Cart Transform API, but this is locked down to Plus.