• Skip to primary navigation
  • Skip to main content
LogoMain
WP Desk

WP Desk

WooCommerce Plugins

Flexible Invoices

Flexible Invoices

Automate invoicing

ShopMagic

ShopMagic

E-mail automations

Flexible Coupons

  • Pricing
  • Add-ons
  • Docs
  • Support
  • Blog
  • Ideas
  • My Account
How to add extra cost to a WooCommerce product like a gift card?

Published: 2024-05-08 / Updated: 2026-06-05 / Blog, Plugin Tutorials

How to add extra cost to a WooCommerce product like a gift card?

Przemek Rosa

Sometimes you would like to add the extra cost to a WooCommerce product. For example, a gift card with a small shipping fee when customers want to send it by post. Today, I will show you how to add extra price fields for your WooCommerce products!

Shipping costs may lower your profits, especially when customers get used to having free shipping!

But you can let customers decide about additional services, special packaging, or shipping options with extra price fields for WooCommerce products! Of course, charging customers additional costs will be fair when they make a decision.

Table of contents

  • WooCommerce products – price & additional fields
  • Let’s create a gift card!
  • Extra price field & shipping cost for WooCommerce gift card

WooCommerce products – price & additional fields

As you know, by default, WooCommerce lets you set the regular and sale price.

Woocommerce Default Price Settings
WooCommerce default product price settings

It lacks a way to customize the product with additional fields if you want to get more personalized items though.

But, you can use a free plugin to add new fields to your products!

Download for free →
 
The extension lets you manage WooCommerce products with ease.
Have a look at the plugin settings

Flexible Product Fields Pro Settings
Flexible Product Fields settings

And this is how these fields from the gif above look on the website:

Flexible Product Fields Pro On The Product Page Example
Flexible Product Fields with added extra fields
What’s more, the Flexible Product Fields plugin will help you customize any product! I will show you now how to create a gift card with a free plugin and add a new field (including the extra price option in PRO)!

How to create a gift card in WooCommerce?

๐Ÿ’ก First of all, I want to let you know that you can generate a gift card using the free version of the Flexible Coupons plugin.

Flexible PDF Coupons WooCommerce

Design your own PDF coupons and sell them as gift cards, tickets, or service vouchers. Use extra add-ons and insert your own shortcodes, delay sending coupons by email, or even generate QR codes.

Download for free or Go to WordPress.org
WP Desk
2,000+ Active Installations
Last Updated: 2026-09-16
Works with WooCommerce 10.8 - 11.1

๐Ÿ‘‰๐Ÿฝ With the plugin, you can create your card graphics and link them to your product. Once your customer purchases the product, a discount PDF card will be created for them with a value equal to the product price.

At the same time, a WooCommerce coupon will be created and a discount code will appear on the PDF gift card!

The PRO version of the plugin also enables the filling of the card with content from the order like the name of your client, or the value of the coupon (product). It’s possible with the shortcodes that automatically transfer content from the order to the gift card.

Pdf Gift Card Graphic Editor (a WooCommerce Plugin)
You can customize WooCommerce gift cards
Flexible Coupons PRO lets you add three types of fields to your product page:

  • The name of the person who is to receive the coupon.
  • The email address of the person to whom the email goes.
  • A field for the entry of wishes or a message for the recipient.

๐Ÿ’ก Read more about adding a PDF gift card in WooCommerce โ†’

Extra price field & shipping cost for WooCommerce gift card

The gift card is a WooCommerce virtual product and can’t be shipped. So, the shipping cost can’t be added to the order with the card. But, we would like to let customers buy the gift card and send it by mail!

To add the shipping cost per product, you can use Flexible Product Fields PRO. The PRO version of the plugin allows you to add an extra price field to your product page.

Now, follow the steps below to add a price field to the WooCommerce product (a gift card in my example).

  1. Create a gift card with Flexible Coupons

    The process is well described above, and I think plugin configuration will be effortless for you.
     

  2. Add shipping cost per product with Flexible Product Fields

    First, go to the plugin settings and create a new Fields Group, which you will assign to your product(s).

    Adding A New Fields Group In Flexible Product Fields Woocommerce
    Follow these steps to add a new fields group

    Then, select the product for which you want to display additional fields. In my example, I used the name Gift Card with optional shipping costs.

    Woocommerce Extra Price Fields With The Flexible Product Fields Plugin
    WooCommerce adds extra cost to the product’s step-by-step guide

     
  3. Add product fields

    Next, add several fields, the key one being the first – a checkbox whose ticking by your client will do two things on the product page:

    โœ… The address fields will be displayed,
    โœ… the shipping cost will be added to the order.

    In the General tab, fill in the field name, and optionally the placeholder and tip tool. Then go to the Pricing tab and fill in the price with the value you want to charge your customers.

    Now, look at the checkbox settings should look like this:

    Woocommerce Add Shipping Cost Per Product
    Add a new checkbox field and add extra price fields

    Woocommerce Additional Shipping Cost Per Item
    Set a fixed price type to the new checkbox field

     
  4. Conditional logic for product fields

    The second field is a text field for the recipientโ€™s first and last name. In this field, we need to set up conditional logic (in the Conditional logic tab) that will bind the text field to be displayed on the product page only after the checkbox is ticked.

    Conditional Logic For Woocommerce Product Fields With A Custom Placeholder

    The settings of this field will be analogous to the other fields, which differ only in name. So copy the text field settings to the next ones and make sure the settings in the Conditional logic tab are the same in each field’s settings.
  5. The extra price field for the WooCommerce product

    To sum up, we’ve added the following field types:

    Woocommerce Extra Product Fields

    ๐ŸŽ‰โ€ŠLet’s see now the result on the product page:

    WooCommerce Additional Shipping Cost Per Item Final Result
    This is how your WooCommerce extra price fields will look on the checkout page

    As you can see, it is easy to deal with the additional shipping cost if you want to send the WooCommerce gift card by post. Of course, you can similarly send tickets, certificates, vouchers, and gift cards sold in the WooCommerce shop.

    Gain additional revenue for the service you provide with extra price fields for the WooCommerce products!

    ๐Ÿ’ก You can also get the customer choices and print them on vouchers. Read how to use WooCommerce PDF gift cards with custom shortcodes!

Summary

Today, you’ve learned how to:

  • use additional product fields,
  • create a gift card in WooCommerce with a free plugin,
  • add an extra price field to the WooCommerce product,
  • also conditionally show/ hide the product fields,
  • and charge customers a small fee based on their input & choice.

So, I hope this post encourages you to use additional product fields and sell gift cards in WooCommerce!

You can read a comparison of plugins providing gift card functionality in this article from Plugin Hive →

About Przemek Rosa

Product Owner by day, carpenter in the evenings.
Guilty of not adding your ideas to Flexible Coupons ๐Ÿ™Š ๐Ÿ˜‰

  • Terms & Conditions
  • Privacy Policy
  • Support Policy
  • Refund Policy

© 2026 WP Desk WP Desk & Flexible Coupons

Manage Consent

We use necessary cookies to make our site work. We'd also like to set additional cookies to understand site usage, enhance your browsing experience, and serve personalized ads or content. By clicking โ€˜Accept All,โ€™ you consent to our use of additional cookies.

Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}