Advanced Dynamic Pricing For WooCommerce

Tooltip for the “Fee name” field

When Advanced Dynamic Pricing for WooCommerce applies a cart or order fee (via a Cart/Shipping Discount rule configured as a fee), the fee name appears as a plain text label in the cart and checkout totals table. For some store setups — particularly B2B stores or stores with complex pricing structures — it can be helpful to attach an explanatory tooltip to the fee name, giving customers more context about what the fee represents without cluttering the cart layout.

This article provides a three-part snippet that adds a WooCommerce-styled help-tip tooltip directly next to the fee name in the cart and checkout totals, using WooCommerce’s own built-in TipTip library and admin styles — no third-party libraries needed.

Code Sample

Add the full snippet below to your theme’s functions.php or the Code Snippets plugin. It consists of three parts that must all be present for the tooltip to work correctly.

To change the tooltip text, find this line in Part 1 and replace "The text you would love to see" with your own message:

Have questions? Please submit a support request. We're always happy to help!

Advanced Dynamic Pricing
for WooCommerce
PRO

From $60
Buy
✓ 30-day money-back guarantee