Knowledge Base

Hi, How can we help?

Adjusting product price based on quantity in WooCommerce ?

Overview

This document explains how to configure a product addon form to modify the product price based on the quantity selected using WooCommerce Product Addons. This setup uses a custom formula to calculate pricing dynamically according to the selected quantity.

Scenario

A store wants the final price to change automatically based on the number of addon options selected by the customer. The pricing should be calculated using a custom formula that considers the selected quantity.

The requirements are

• Add a field to apply custom pricing logic
• Use a custom formula to calculate price
• Modify price based on the selected quantity
• Display the calculated value in cart and checkout
• Ensure the pricing updates automatically

This setup helps create flexible pricing models where the total price depends on the quantity of selected addon options.

What This Configuration Covers

• Adding a content field for custom pricing
• Setting custom labels for the field
• Enabling visibility in cart and checkout
• Using custom formula for price calculation
• Modifying price based on quantity
• Saving and testing the configuration

Video Walkthrough

To see this configuration step by step using WooCommerce Product Addons, please watch the video below.

The video demonstrates how to create a custom formula, apply it to a field, and calculate pricing based on the selected quantity.

Watch the video below to understand the complete configuration process.

Customer Support

If you have questions about our plugin(s), are experiencing issues with any of our plugin