WP Manifestindependent plugin directory
manifest / ecommerce / tariff-fee-for-woocommerce

Tariff Fee for WooCommerce

This plugin adds a US reciprocal tariff fee to the Woocommerce cart based on the country of origin of the product.

by Nick Stewart · github.com/nickstewart95/tariff-fee-for-woocommerce

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/nickstewart95/tariff-fee-for-woocommerce/archive/refs/heads/main.zip

This plugin adds a US reciprocal tariff fee to the Woocommerce cart based on the country of origin of the product.

Features

  • Adds a tariff fee to the Woocommerce cart based on the country of origin of the product.
  • The tariff fee is calculated based on the tariff percent data located in "resources/data/tariff_fees.csv".
  • Fees are added per country, so multiple tariff fees can be added to the cart.
  • The tariff fee is included in the tax calculation by default, but can be turned off

Usage

To set the country of origin for a product, in the Product settings, click to the Advanced tab.

To modify the tax settings for tariffs, visit WooCommerce > Settings > Advanced > Tariff Fee.

Tariff Data

Tariff data is stored in the "resources/data/tariff_fees.csv" file. This plugin makes no guarantees about the accuracy of the data. Please confirm this data is correct before using on a production website.

Screenshots

Tariff Fees in the WooCommerce Cart Fees in the cart

Setting the country of origin Country of origin

Plugin settings Plugin settings