WooCommerce Product Add Ons, by WooCommerce

This code is ONLY for the 3.x.x version of the “Advanced Dynamic Pricing for Woocommerce” plugin.

Add provided code to functions.php and update Settings.

Calculation option “Use prices modified by other plugins” must be ON.

System option “Suppress other pricing plugins in frontend” must be OFF.

This code allows you to change prices for a variation product on the product and cart page:

This code allows you to correctly calculate the product price based on the addon on the product page: