1. Home
  2. Knowledge Base
  3. Fields & Mapping
  4. How to Configure Unit Pricing in the Product Feed

How to Configure Unit Pricing in the Product Feed

Unit pricing is essential for products typically sold by weight, volume, or length, such as cosmetics, health care products, food items, and more. Displaying the unit price (e.g., cost per 100ml or per kg) helps customers understand the value they are getting and builds transparency and trust.

Example

If you sell a 100ml bottle of perfume for $146.50, showing a unit price of $43.95 per 30ml gives customers a better cost comparison with other products.

How unit_pricing_measure might display in your ad

Configuring Unit Pricing with Product Feed Elite

The Product Feed Elite plugin supports unit pricing through two additional fields:

  1. Unit Pricing Measure: This represents the product’s actual quantity (e.g., 100 ml).
  2. Unit Pricing Base Measure: This is the reference measure for unit pricing (e.g., 30 ml).

This configuration will display the unit price as the cost per 30 ml in Google.

Configuring Unit Pricing Using the Germanized for WooCommerce plugin

If you’re using the Germanized for WooCommerce plugin:

  • Set the product quantity in the Product Units field (e.g., 100 ml).
  • Set the base reference unit in the Unit Price Units field (e.g., 30 ml).

This enables the plugin to calculate the unit price dynamically.

Germanized Pro Users

If you’re using Germanized for WooCommerce Pro and have enabled the Calculate unit prices automatically option, the unit pricing will be automatically calculated based on the product’s regular or sale price and displayed next to the respective price fields.

Field Mapping for Unit Pricing

To include unit pricing in your product feed, you’ll need to map two key attributes:

  • unit_pricing_measure
  • unit_pricing_base_measure

These attributes allow comparison shopping engines (CSEs) like Google Shopping to display cost per unit (e.g., price per 100ml or per kg), helping shoppers make informed decisions.

For Product Feed Elite Plugin Users

If you are using the Extra Fields feature of the Product Feed Elite plugin:

Unit Pricing AttributeMap To
unit_pricing_measureWoosea unit pricing measure
unit_pricing_base_measureWoosea unit pricing base measure

These fields ensure that the correct unit pricing data is included in your feed output.

For Germanized for WooCommerce Plugin Users

If you’re using the Germanized for WooCommerce plugin:

Unit Pricing AttributeMap To
unit_pricing_measureUnit product
unit_pricing_base_measureUnit base

These mappings correspond to the fields provided by Germanized to handle unit-based product pricing.

If the Unit product or Unit base Fields are not appearing in the field mapping dropdown:

  1. Go to Product Feed Pro/Elite > Settings.
  2. Click the “Clear custom attribute cache” button.
  3. Return to the field mapping screen and search again.

This action refreshes the field list and allows the plugin to recognize custom fields added by third-party plugins like Germanized

Add Supported Units in the Suffix Field

Lastly, you should add the supported unit of measurement to the Suffix field in your product feed configuration.

Google adds a space automatically between the net quantity and the measurement unit. So, ensure that there’s no additional space before the measurement unit. Otherwise, Google will fail to parse it.

Feed XML Preview

Once you complete the configuration, an item with unit_pricing_measure and unit_pricing_base_measure attributes will look like below:

<item>
<g:id>72</g:id>
<g:title>Perfume</g:title>
<g:link>https://wpeu.test/product/perfume/</g:link>
<g:image_link>https://wpeu.test/wp-content/uploads/2025/07/perfume.jpg</g:image_link>
<g:checkout_link_template>https://wpeu.test/cart/?add-to-cart=72</g:checkout_link_template>
<g:availability>in_stock</g:availability>
<g:price>EUR 146.50</g:price>
<g:product_type>Home > Uncategorized</g:product_type>
<g:condition>new</g:condition>
<g:unit_pricing_measure>100 ml</g:unit_pricing_measure>
<g:unit_pricing_base_measure>30 ml</g:unit_pricing_base_measure>
<g:identifier_exists>no</g:identifier_exists>
</item>

Need Help?

That’s everything you need to know about configuring unit pricing in your product feed. If you’re still experiencing issues or need further assistance, don’t hesitate to reach out to our support team. We’re here to help ensure your feed is fully optimized and compliant.

If you are an existing customer, please go to the support ticket request form and send us a message.

If you are a free plugin user, please send us a support request on the forum. We actively monitor the WordPress.org support forums for the free plugin and help our users there as best as we can.

Was this article helpful?

Related Articles

Complete Your Purchase
AdTribes WooCommerce Product Feed

The best WooCommerce product feed plugin

  • AdTribes Pty Ltd
    ABN: 40 675 636 816