Skip to content

2.0_Usage

Mark Tomlinson edited this page Dec 27, 2025 · 6 revisions

Using Markup by Attribute for WooCommerce

Markup-by-Attribute lets you add price adjustments to global attribute terms. When you set variation prices, the markups are automatically applied.

Before You Begin

This guide assumes familiarity with:

  • WooCommerce Global Attributes - Attributes like "Size" or "Color" that can be reused across products. See Managing Product Taxonomies in the WooCommerce documentation.
  • Variable Products - Products with variations based on attributes. See Variable Product in the WooCommerce documentation.

If you're new to these concepts, set up a few variable products first to get the hang of it. We'll wait.

Three Easy Steps

1. Add Markups to Global Attribute Terms

When creating or editing global attribute terms, add the markup value in the Markup field.

Click to enlarge, use [Back] to return Click to enlarge, use [Back] to return

Examples of valid markup values: -5, 5.95, +5.678, 7.5%, -12%

2. Create Product Variations

Create variations for your variable product as you normally would. Using the [Generate variations] button is the easiest way to ensure you have all combinations.

Click to enlarge, use [Back] to return

TIP: Avoid variations with "Any" in an attribute that has markups. WooCommerce may choose the "Any" variation regardless of more specific matches.

3. Set Variation Prices

Use the Set regular price bulk action on the Variations tab. Enter your base price, and Markup-by-Attribute will apply the appropriate markups to each variation.

Click to enlarge, use [Back] to return

For detailed instructions on setting prices, including sale prices and viewing base prices, see Applying Markups to Prices.

When Markups Change

If you change a markup value on an attribute term—to correct an error, adjust for cost changes, or seasonal pricing—existing product prices won't automatically update. You need to reapply the markups.

Common scenarios:

  • You corrected a typo in a markup value
  • Material costs changed and you need to adjust markups
  • Seasonal adjustments to pricing
  • You added markups to an attribute that didn't have them before

See Reapplying Markups for how to update existing product prices.

Clone this wiki locally