Skip to content
Mark Tomlinson edited this page Dec 30, 2021 · 70 revisions

Using Markup by Attribute for WooCommerce

NOTE: These instructions assume you are familiar with WooCommerce global Product Attributes. If not, you may want to review the WooCommerce documentation on Product Attributes.

NOTE: These instructions assume you are familiar with WooCommerce Product Variations. If not, you may want to review the WooCommerce documentation on Variable Products.

Set up a few variable products to get the hang of it. Then come back here. We'll wait.

Three Easy Steps

  1. While creating new global attribute options or editing existing ones, add the markup.
  2. Create product variations as you normally would.
  3. Use the Set regular price and Set sale price bulk edit functions as you normally would.

Three Easy Steps

option

1. While creating new global attribute options or editing existing ones, add the markup.

  • If the option needs a markup, put the amount of the markup in the option's Markup field on either the Add new attribute panel or the Edit attribute panel.

    (Click to enlarge, use [Back] to return). ****
  • Examples of valid values include: ‘-5’, ‘5.95’, ‘+5.678’, ‘7.5%’, and ‘-12%’.

2. Create product variations as you normally would.

  • Markup by Attribute requires variable products because it changes the price of each variation.
  • Using Create variations from all attributes is the easiest way to ensure you have all combinations.

    (Click to enlarge, use [Back] to return).
  • TIP: Do not have a variation with “Any” in an attribute with a markup because WooCommerce will choose the “Any” variation regardless of others that may exist. (So if XX-Large is 5% more, you cannot have one variation for “XX-Large” and another for “Any size” to cover the rest because WooCommerce assumes Any includes XX-Large.)

3. Use the Set regular price and Set sale price bulk edit functions as you normally would.


(Click to enlarge, use [Back] to return).

  • The markup will be applied to the price according to the attribute options associated with the variation.
  • A description of the markup will be added to the variation description.
Product Price 18.95
Add 2.00 for Logo
  • NOTE: If you’ve already set the prices before installing Markup by Attribute, you will need to do it again to apply the markup.
  • TIP: If you change the markup later, repeat this step to recalculate the markup for this product. Or do not repeat the step to leave the previous markups unchanged.
  • TIP: Always set the regular price before setting a sale price. Percentage markups are calculated on the regular price, so they cannot be applied to a sale price if the regular price has not been set.
Clone this wiki locally