website logo
⌘K
Introduction
PORTAL
Agency Whitelabelling
PAGES
Pages - Accessing Page Data
Pagination Layouts
Page Templates
FORMS
Form Confirmation Pages
Adding a Progress Bar
Adding Custom CSS To Show Form Submit Process
Dynamic Content in Workflow and Autoresponder Emails
How to output Custom Field Set fields in a Form's Custom Layout
Custom JavaScript Validation for Forms
File Upload Previews
FAQ
CATEGORIES
Filtering WebApps and Modules by Categories
Outputting Categories on WebApp / Module / eCommerce Layouts
Outputting Category Fields in any Location
Category Detail Layouts
FAQ
COMPANY INFORMATION
Company Information
SITE SEARCH
Site Search
PUBLIC API/ZAPIER
Zapier - Formatting arrays correctly
Public API/Zapier Changelog
MODULES
Module Marketplace
Building Custom Modules
Siteglide Modules
Front-end Submit Modules
DATA STRUCTURES
Automations
Creating WebApps from the CLI
Field Types
WEBAPPS
Front-end Submit WebApps
Layouts
Search and Filtering
Understanding Custom Field Names and IDs
FAQ
CRM
User Details
User Secure Zones
Storing User's Favourite WebApp / Module Items
User's Form Submissions (Cases)
How Users Edit their Email and Password Front End
Editing a User's CRM record Front End with Custom Field Sets
CLI
Introducing Siteglide CLI
CLI Changelog
Secure Zones with CLI
Page Templates with Siteglide CLI
Pages with Siteglide CLI
Includes with Siteglide CLI
Managing Email Templates
Migrate - Manual Form setup
Migrate - Convert existing Forms
Liquid
Accessing Assets
Liquid Dot Notation
Using WebApp Collections- Tutorial
Using the current_user object with Secure Zones
Preventing Duplicate Content with Query Parameters- Canonical URL and Robots.txt
FAQ
GraphQL
Tutorial Overview
About GraphQL
Tutorial 1- Your First Query
Tutorial 2 - Pagination
Tutorial 3 - Filtering the Results
Tutorial 3 - Answers to the First Filtering Challenge
Tutorial 4 - Advanced Filtering
Tutorial 4 - Challenge Answers
Tutorial 5 - Using Liquid to run GraphQL queries on your Site
Tutorial 6 - Variables
Tutorial 6 - Answers to the Variables Challenge
Tutorial 7 - Sorting
Tutorial 8 - Building a Liquid API GET Endpoint Page powered by GraphQL queries
Best Practice and Performance
Module/WebApp Caching
Getting Started with Liquid Caching - to Reduce Server Response time and Improve Performance
Includes
ecommerce/checkout_standard
Frequently Asked Questions
Using Liquid Logic to Check if a field exists, or is empty on the Front End
How do I learn more about Liquid?
How to setup a multi domain start page
Docs powered by archbee 
9min

Volume Pricing

Offer your customers better prices when they purchase in bulk. This feature lets you define as many levels of Volume Pricing as you like.

Introduction

Volume Pricing allows your Client to offer better prices to customers who buy products in greater quantities. Let's say for example a product normally costs £5, but to encourage larger sales , the following table of prices are available:

Quantity Threshold

Price

1

£5

100

£4

1000

£3.50

If the customer orders 105 items, they will have passed the quantity threshold of 100, so will have access to the price of £4 per product for all 105 items. They did not order a high enough quantity to get the best available price.

Attributes

At the present, when two alternate versions of the same Product with different attributes are present in the Cart, both their quantities will be added up and counted towards the Volume Pricing Calculation.

Setting up Volume Pricing

There is no need to implement any front-end code in order to start using Volume Pricing. All you need to do is define the pricing in the Admin against individual products and those prices will become available.

Outputting Volume Price Information in Product Layouts

Document image

You may wish Front End to dynamically display the available prices for a product. To do so, you can loop over each pricing threshold and display the prices in a table, list or format of your choice.

Inside the Product List/ Detail Page item.liquid file, you'll have access to the following fields:

Field Name / Liquid Tag

Example

Notes

{{this['Volume pricing Enabled']}}

true

Contains a boolean. If false, normal pricing will be used.

{{this['Volume Pricing']}}

{

"100": 400,

"1000": 350

}

Contains a JSON object of the currency thresholds for this product set in Admin.

When stored in the database, this is organised by currency, but front-end we'll fetch the relevant currency for you.

When looping over an object like this['Volume Pricing'], .first allows you to access the key (here the quantity threshold) and .last allows you to access the value (here the price).

First though, we use logic in the first line to check if the pricing has been enabled- to avoid confusion and disappointment.

HTML
|

Accessing Volume Prices in the Order Confirmation Email

Document image

Inside the Order Confirmation Email, you'll have access to the following relevant fields.

Field Name / Liquid Tag

Example

Notes

{{product.volume_pricing_original_price}}

60.00

A formatted price representing the price of the row, had the better volume price not been applied.

{{product.volume_pricing_threshold_reached}}

4

The highest quantity threshold reached. If no volume pricing was accessed, this will have the value nil.

You can use it in logic to check if Volume Pricing has been applied - see code example below.

{{product.currency_symbol}}

£

{{product.price}}

19.00

This formatted price shows the actual price of the order row. This will either be the default price, or a volume price if available.

The following example shows how the Volume Pricing can be shown inside a <td> element in an Order Confirmation Email.

HTML
|

See the Order Confirmation Email documentation for more.

Updated 12 Mar 2021
Did this page help you?
Yes
No
UP NEXT
Cart, Checkout, Shipping and Orders
Docs powered by archbee 
TABLE OF CONTENTS
Introduction
Attributes
Setting up Volume Pricing
Outputting Volume Price Information in Product Layouts
Accessing Volume Prices in the Order Confirmation Email