Configuring FPT

The Fixed Product Tax input type creates a section of fields for managing tax for each region.

The following instructions show how to set up a fixed product tax for your store, using “eco tax” as an example. After setting the scope for the tax and the countries and states where the tax applies, and depending on the options you choose, the input fields can change according to the local requirements. To learn more, see Creating Attributes.

Step 1: Enable fixed product tax

  1. On the Admin sidebar, go to Stores > Settings > Configuration.

  2. In the left panel, expand Sales and choose Tax.

  3. Expand the Fixed Product Taxes section.

  4. Set Enable FPT to Yes.

  5. To determine how fixed product taxes are used in store prices, choose the FPT setting for each of the following price display locations:

    • Display Prices in Product Lists
    • Display Prices on Product View Page
    • Display Prices in Sales Modules
    • Display Prices in Emails

    Options (same for each):

    • Including FPT Only
    • Including FPT and FPT description
    • Excluding FPT. Including FPT description and final price
    • Excluding FPT
  6. Set Apply Tax to FPT as needed.

  7. Set Include FPT in Subtotal as needed.

    Fixed Product Taxes

  8. When complete, click Save Config.

Step 2: Create an FPT attribute

  1. On the Admin sidebar, go to Stores > Attributes > Product.

  2. In the upper-right corner, click Add New Attribute and do the following:

    • Enter a Default Label to identify the attribute.

    • Set Catalog Input for Store Owner to Fixed Product Tax.

    Attribute Properties

  3. Expand the Advanced Attribute Properties section and set the property options:

    Attribute Code Enter a unique identifier in lowercase, without spaces or special characters. The maximum length is 30 characters. You can leave the field blank to the text from the Default Label field.
    Add to Column Options If you want the FPT field to appear in the Inventory grid, set to Yes.
    Use in Filter Options If you want to be able to filter products in the grid based on the value of the FPT field, set to Yes.

    Advanced Attribute Properties

  4. (Optional) In the left panel, choose Manage Labels and enter a label to use instead of the default label for each store view.

    Manage Labels

  5. When complete, click Save Attribute.

  6. When prompted, refresh the cache.

Step 3: Add the FPT attribute to an attribute set

  1. On the Admin sidebar, go to Stores > Attributes > Attribute Set.

  2. In the list, click the attribute set to open the record in edit mode.

  3. Drag the FPT attribute from the list of Unassigned Attributes on the right to the Groups list in the center column.

    Each group folder corresponds to a section of product information. You can place the attribute wherever you want it to appear when the product is open in edit mode.

    Edit Attribute Set

  4. When complete, click Save.

  5. Repeat this step for each attribute set that needs to include fixed product tax.

Step 4: Apply FPT to specific products

  1. On the Admin sidebar, go to Catalog > Products.

  2. Open the product that needs a fixed product tax in edit mode.

  3. Find the FPT section of fields that you added to the attribute set and click Add Tax.

  4. Specify the applicable tax for the product:

    Fixed Product Tax for Belgium

    • If your Commerce instance has multiple websites, choose the appropriate Website and base currency. In this example, the field is set by default to All Websites [USD].

    • Set Country/State to the region where the fixed product tax applies.

    • For Tax, enter the fixed product tax as a decimal amount.

  5. To add more fixed product taxes, click Add Tax and repeat the process.

  6. When complete, click Save.