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
-
On the Admin sidebar, go to Stores > Settings > Configuration.
-
In the left panel, expand Sales and choose Tax.
-
Expand the Fixed Product Taxes section.
-
Set Enable FPT to
Yes
. -
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
-
Set Apply Tax to FPT as needed.
-
Set Include FPT in Subtotal as needed.
-
When complete, click Save Config.
Step 2: Create an FPT attribute
-
On the Admin sidebar, go to Stores > Attributes > Product.
-
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
-
-
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
-
(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
-
When complete, click Save Attribute.
-
When prompted, refresh the cache.
Step 3: Add the FPT attribute to an attribute set
-
On the Admin sidebar, go to Stores > Attributes > Attribute Set.
-
In the list, click the attribute set to open the record in edit mode.
-
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
-
When complete, click Save.
-
Repeat this step for each attribute set that needs to include fixed product tax.
Step 4: Apply FPT to specific products
-
On the Admin sidebar, go to Catalog > Products.
-
Open the product that needs a fixed product tax in edit mode.
-
Find the FPT section of fields that you added to the attribute set and click Add Tax.
-
Specify the applicable tax for the product:
Fixed Product Tax for Belgium
-
If your Magento installation 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.
-
-
To add more fixed product taxes, click Add Tax and repeat the process.
-
When complete, click Save.