FPT display prices
FPT | Display setting and calculation | |
---|---|---|
Not Taxed | Excluding FPT | FPT appears as a separate row in the cart, and the value is used in appropriate tax calculations. |
Including FPT | FPT is added to the base price of an item; but is not included in tax-rule-based calculations. | |
Excluding FPT, FPT Description, Final Price | Prices appear without FPT amount or description. FPT is not included in tax-rule-based calculations. | |
Taxed | Excluding FPT | FPT appears as a separate row in the cart, and the value is used in appropriate tax calculations. |
Including FPT | FPT is included in the price of an item, and no change to tax calculations is required. | |
Excluding FPT, FPT Description, Final Price | Prices appear without the FPT amount or description. However, FPT is included in tax-rule-based calculations. |
Configure FPT
The Fixed Product Tax (FPT) 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 Create product 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
-
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.
For a detailed description of each of these configuration settings, see Fixed Product Taxes in the Configuration Reference Guide.
-
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:
-
For Default Label, enter a label that identifies the attribute.
-
Set Catalog Input for Store Owner to
Fixed Product Tax
.
-
-
Expand
-
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 Products list, 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
.
-
-
(Optional) In the left panel, choose Manage Labels and enter a label to use instead of the default label for each store view.
-
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.
-
When complete, click Save.
-
Repeat this step for each attribute set that should 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:
-
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.
-
-
To add more fixed product taxes, click Add Tax and repeat the process.
-
When complete, click Save.