Questions about our plugins? Join our live Q&A

Thursday 15 May at 09:00 PT / 12:00 ET / 18:00 CET
Register
Barn2 Plugins
  • Plugins
    • Most Popular Plugins
      • Document Library Pro
      • WooCommerce Product Table
      • WooCommerce Product Options
      • WooCommerce Fast Cart
      • WooCommerce Discount Manager
      • WooCommerce Product Filters
    • VIP ACCESS

      Get full access to all 19 plugins for one low price

      Go All Access
    • Browse All Plugins
  • Services
    • Plugin Installation & Setup
    • Plugin Customization
    • WordPress Websites
    • Maintenance Plans
    • Website Fixes
  • Support
  • Resources
    • Documentation
    • Blog
  • About
    • About
    • Team
    • Media
    • Events
  • My Account
    • My Account
    • Edit Profile
    • Affiliates
    • Priority Support
    • Log In
    • Log Out

Knowledge Base

  1. Home
  2. Knowledge Base
  3. WooCommerce Product Options
  4. Price Formulas

Price Formulas

How to create a price formula for your WooCommerce products

The WooCommerce Product Options plugin comes with a Price Formula field type which you can use to create a product...

Create a custom price formula with AI

Our WooCommerce Product Options plugin lets you create custom price formulas for your products. We've created an AI bot which...

How to use each option type in the price formula

WooCommerce Product Options supports every type of option inside formulas. We can divide these into 6 categories: Numeric options -...

How to use math functions in price formulas

The price formula field type in WooCommerce Product Options allows store owners to create custom calculations for product prices based...

How to use logical functions in price formulas

The price formula field type in WooCommerce Product Options allows store owners to create custom calculations for product prices based...

How to use custom variables in price formulas

Custom price calculators can get easily out of hand in terms of complexity and readability. Custom variables allow you to...

How to define new custom functions

The price formula field type in WooCommerce Product Options allows store owners to create custom calculations for product prices based...

Price formula example: Apply a discount based on the number of choices selected

A store sells mobile devices and displays a list of accessories that customers can purchase together with the main product....

Price formula example: Bulk calculations in price formulas

Stores often need to change the price of a product based on the quantity being ordered. For example, a product...

Price formula example: How to use bulk pricing with different options

The price formulas in the WooCommerce Product Options plugin include bulk functions. Most people use the bulk functions in combination...

Price formula example: How to create seasonal prices

Stores may need to set the price of their products differently based on the time of the year. For example,...

Price formula example: Apply a discount based on the number of choices selected

In addition to sales or other regular discounts, stores might need more complex models to calcualate the price of their...

Can I create multiple price formulas for the same product?

WooCommerce Product Options comes with a Price formula field which you can use to create custom price calculations. Customers sometimes ask...

Categories

  • No categories

Add extra options to any WooCommerce product

Try the plugin risk-free!
WooCommerce Product Options left-right CTA Get Plugin

Need help writing your price formula? 🤖

Try our new AI Bot — just describe your pricing rules in plain English and get the correct formula instantly.

Use the AI Bot

Video tutorial

https://youtu.be/IdVM9CIgE8c

Need support?

Can’t find the answer you’re looking for? We’re here to help 😀
Contact Support

Need Inspiration?

See WooCommerce Product Options in action on real customer websites 👀

View Showcase

Plugin setup & customization service

We offer full setup services and can customize our plugins to your exact requirements 🛠️

Get a Quote

Join Our Newsletter

Get news & tutorials from Barn2.

Newsletter

Helpful articles and tutorials. No spam, unsubscribe any time.
Barn2 Plugins

Professional WordPress Plugins

  • Facebook
  • X / Twitter
  • LinkedIn
  • YouTube
  • WordPress
  • GitHub

Navigation

  • Plugins
  • Services
  • Careers
  • Affiliates
  • Sitemap

Links

  • Brand Assets
  • Barn2 Merch Store
  • Nonprofits
  • Privacy Policy
  • Terms
© 2025 Barn2 Media Ltd. UK company 08565444. All rights reserved.
WordPress® and WooCommerce® are registered trademarks of their respective owners.
logo logo-simple logo-text logo-text ampersand quote search question-mark share katie-sig support-center next-arrow My Account