05GENERAL

Volume pricing

Display quantity tiers backed by a real Shopify discount and lock the quantity in the cart.

Volume pricing

Display quantity tiers backed by a real Shopify discount and lock the quantity in the cart.

Create the automatic discount matching the tier

The theme block changes the quantity and presents the offer. Shopify remains responsible for calculating and applying the discount.

  1. 01

    In Shopify admin, open Discounts and click Create discount.

  2. 02

    Choose Amount off products.

  3. 03

    Under Method, select Automatic discount so customers do not need to enter a code.

  4. 04

    Enter a recognizable title, such as “10% off 5 units”. This title can be visible in cart and checkout.

  5. 05

    Under Discount value, choose Percentage or Fixed amount, then enter the saving actually promised by the volume block.

  6. 06

    Under Applies to, choose Specific products and select the exact product, or Specific collections when the same offer covers several products.

  7. 07

    Under Minimum requirements, select Minimum quantity of items and enter the tier quantity, such as 5.

  8. 08

    Choose customer eligibility and, when needed, discount combination rules.

  9. 09

    Set active dates and save the discount.

Configure the matching tier on the product page

  1. 01

    Open Online Store → Themes → Customize.

  2. 02

    Load a product covered by the Shopify discount and open its product template.

  3. 03

    In Main product, add or open the Volume pricing / Volume offers block.

  4. 04

    For the relevant offer, enter exactly the same quantity as in Shopify. If Shopify requires 5 items, quantity_2 or the selected tier must be 5.

  5. 05

    Enter the tier title, detail, and saving badge. The displayed percentage or amount must match the Shopify discount.

  6. 06

    Save, then repeat this correspondence for every displayed tier.

Why quantity is locked in cart

When a volume offer is selected, the theme adds the chosen quantity and marks the line with private technical properties.

Properties used
_opaline_volume_offer_opaline_volume_quantity
  • ✓

    The cart recognizes that the line comes from the volume offers block.

  • ✓

    Controls that increase or decrease this quantity are not offered for that line.

  • ✓

    If an external change is attempted, the cart script restores the quantity stored by the tier.

  • ✓

    Customers can still remove the entire line: the lock does not force the purchase.

Test the offer from product to checkout

  1. 01

    Open the storefront preview and select the volume tier.

  2. 02

    Confirm that the form quantity exactly matches the tier.

  3. 03

    Add the product and confirm Shopify displays the expected discount in cart.

  4. 04

    Confirm the quantity cannot be changed to 6, 9, or another value from cart.

  5. 05

    Confirm the remove action deletes the complete line.

  6. 06

    Add the offer again and continue to checkout to confirm the final amount.

  7. 07

    Test every relevant variant and every permitted combination with other promotions.

Before you finish

  • ✓

    Content remains readable in every color scheme.

  • ✓

    Labels match the storefront language.

  • ✓

    Displayed promotions match Shopify rules.

  • ✓

    Interactions remain accessible by keyboard and touch.