Fatima Attribute Pricing Builder for WooCommerce banner
Plugin icon

Official WordPress.org Plugin Documentation

Fatima Attribute Pricing Builder for WooCommerce

Build WooCommerce variation regular prices from a base price, global attribute defaults, and product-level overrides — then preview the calculated prices before applying them.

Overview

Fatima Attribute Pricing Builder for WooCommerce helps store owners calculate and apply regular prices for existing WooCommerce product variations using a simple pricing formula:

Base price + attribute option values = variation regular price

Instead of manually editing every variation price, you can define a base price for a variable product, set price values for its attribute options, preview the calculated prices, and then apply them to the product variations.

Best for: stores that use repeated option values across many products, such as restaurants, cafés, food stores, gift shops, product add-ons, packaging options, and customizable products.

Requirements

WordPress

  • Requires WordPress 6.0 or newer.
  • Tested up to WordPress 7.0.
  • Requires PHP 7.4 or newer.

WooCommerce

  • Requires WooCommerce to be installed and active.
  • Designed for WooCommerce variable products.
  • Works with existing variations only.
Important: this plugin does not create product attributes or variations automatically. Create attributes and variations first using the standard WooCommerce product editor.

Installation

Go to Plugins → Add Plugin in your WordPress dashboard.
Search for Fatima Attribute Pricing Builder for WooCommerce.
Click Install Now, then click Activate.
Make sure WooCommerce is installed and active.
Go to WooCommerce → Fatima Attribute Pricing Builder to set global attribute price defaults.

You can also download the plugin directly from the official WordPress.org page:

https://wordpress.org/plugins/fatima-attribute-pricing-builder/

Quick Start

Create a WooCommerce variable product.
Add global attributes such as size, color, milk type, packaging, or add-ons.
Generate the product variations using WooCommerce.
Set global default prices for repeated attribute terms.
Open the product’s Price Builder tab.
Enter the base price and any product-level overrides.
Click Preview Prices to review the calculated results.
Click Apply Prices when the preview looks correct.

Global Attribute Defaults

Global defaults let you define reusable price values for WooCommerce global attribute terms. When a product uses the same attribute terms, it can inherit those values automatically.

For example:

  • Small = 0
  • Medium = 3
  • Large = 5

Go to WooCommerce → Fatima Attribute Pricing Builder to configure these values.

Global attribute price defaults screen
Global attribute price defaults screen.

Product-level Overrides

Product-level overrides let you customize option values for a specific variable product.

Leave a field empty

If global defaults are enabled, an empty product field uses the matching global default value.

Enter a number

The entered value becomes a product-level override for that product only.

Enter 0

The option adds no extra value for that product.

Reset to global defaults

Use the reset button to clear product-level values and return to global defaults.

Product Price Builder tab with base price and option values
Product Price Builder tab with base price and option values.
Product fields using global defaults and product-level overrides
Product fields can stay empty to inherit global defaults, or use product-level overrides when needed.

Preview Prices

Before changing saved variation prices, use Preview Prices to calculate and review the expected results.

The preview table shows:

  • Variation attributes.
  • Saved variation price.
  • Calculated price.
  • Difference between saved and calculated prices.
  • The formula used for each variation.
Safe workflow: Preview Prices does not change variation prices. It only displays the calculated results so you can review them first.
Variation price preview table with calculated prices and formulas
Variation price preview table with calculated prices, differences, and formulas.

Apply Prices

After reviewing the preview table, click Apply Prices to save the calculated values to the regular prices of the listed WooCommerce variations.

Important: Apply Prices overwrites the regular prices of the existing product variations listed in the preview. Review the preview table before applying.

The plugin focuses on regular variation prices. Review your sale price setup separately when running promotions.

Common Examples

Example 1: Product size pricing

Base priceAttribute optionOption valueCalculated price
10Small010
10Medium313
10Large515

Example 2: Multiple attributes

If the base price is 10, and the selected variation includes Large = 5 and Oat milk = 3, the calculated price becomes:

10 + 5 + 3 = 18

Frequently Asked Questions

Does this plugin work with simple products?

No. It is designed for WooCommerce variable products and their variations.

Does this plugin create variations automatically?

No. Create product attributes and variations using the standard WooCommerce tools first. This plugin calculates and applies prices to variations that already exist.

Can I set global prices for attribute terms?

Yes. Go to WooCommerce → Fatima Attribute Pricing Builder and set default values for global WooCommerce attribute terms.

Can a product override global prices?

Yes. Enter a value inside the product’s Price Builder tab to override the global default for that product.

What happens if I leave a product option field empty?

If global defaults are enabled for that product, the empty field uses the matching global default value. If global defaults are disabled, empty fields are treated as 0.

What happens if I enter 0?

Entering 0 means that option adds no extra value for that product.

Does Preview Prices change variation prices?

No. Preview Prices only calculates and displays the expected prices.

Does Apply Prices overwrite existing variation prices?

Yes. Apply Prices writes the calculated values to the regular prices of the listed WooCommerce variations.

Does this plugin change sale prices?

The plugin focuses on calculated regular variation prices. Review your sale price setup separately when running promotions.

Can I use this for restaurant or café add-ons?

Yes. It is useful for repeated options such as sizes, milk types, toppings, packaging, and add-ons.

Troubleshooting

The Price Builder tab does not appear

  • Make sure WooCommerce is installed and active.
  • Make sure the product type is set to Variable product.
  • Save or update the product after changing its product type.

Calculated prices do not look correct

  • Check the base price.
  • Review the product option values.
  • Check whether global defaults are enabled for the product.
  • Use Preview Prices before applying changes.

Some variations are missing from the preview

  • Confirm that the variations already exist in WooCommerce.
  • Regenerate variations using the standard WooCommerce product editor if needed.

I entered an empty field and got 0

If global defaults are disabled, empty fields are treated as 0. Enable global defaults or enter a product-level value.

Support and Feedback

For support, questions, or feature suggestions, use the plugin support area on WordPress.org.

Open Plugin Page