DeMomentSomTres TrumpWoo

Description

DeMomentSomTres TrumpWoo adds a customizable tariff surcharge for shipments to the United States, helping WooCommerce store owners comply with import tariff policies.

Key Features:

  • Automatic U.S. Detection: Only applies to shipments with United States as destination country
  • Configurable Percentage: Set any percentage from 0-100% for the tariff calculation
  • Smart Calculation Base: Calculates surcharge on (product total after discounts + shipping cost), excluding taxes
  • Multi-language Support: Full WPML integration with custom labels for each language
  • Easy Administration: Simple settings page under WooCommerce > Settings > TrumpWoo
  • Non-taxable Fee: The surcharge is added as a non-taxable fee line item
  • Plugin Dependencies: Automatically checks for WooCommerce availability

How it Works:

  1. Customer adds products to cart
  2. Customer selects United States as shipping destination
  3. Plugin calculates: (Product Total – Discounts + Shipping) × Percentage
  4. Surcharge appears as separate line item in cart and checkout
  5. Custom labels support placeholders like {percent} for dynamic percentage display

WPML Integration:

If WPML is active, you can define custom labels for each language. If WPML is not installed, the plugin works perfectly with your site’s default language.

Perfect for:

  • Import/export businesses shipping to the United States
  • Stores needing to add tariff surcharges for compliance
  • Multi-language WooCommerce sites with international shipping

Installation

  1. Upload the plugin files to the /wp-content/plugins/demomentsomtres-trumpwoo directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Make sure WooCommerce is installed and activated.
  4. Navigate to WooCommerce > Settings > TrumpWoo to configure the plugin.
  5. Enable the surcharge, set your desired percentage, and customize labels if needed.

FAQ

Does this plugin require WPML?

No, WPML is optional. If WPML is installed, you can define custom labels for each language. Without WPML, the plugin works with your site’s default language.

Does it work without WooCommerce?

No, this plugin requires WooCommerce to be installed and active. The plugin will show an admin notice if WooCommerce is not available.

How is the surcharge calculated?

The surcharge is calculated as: (Product Total – Discounts + Shipping Cost) × Percentage. Taxes are excluded from this calculation.

Can I customize the surcharge label?

Yes! You can set custom labels for each language (if WPML is active) or a single label for your site. Use {percent} or %s as placeholders for the percentage value.

Is the surcharge taxable?

No, the surcharge is added as a non-taxable fee to comply with standard tariff practices.

Which countries does this apply to?

Currently, the plugin only applies the surcharge to shipments destined for the United States (US).

Reviews

There are no reviews for this plugin.

Contributors & Developers

“DeMomentSomTres TrumpWoo” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

20250917

  • Initial release
  • Configurable percentage-based tariff surcharge for US shipments
  • WPML integration for multi-language support
  • Non-taxable fee implementation
  • WooCommerce dependency checking
  • Custom label support with percentage placeholders