Advanced Dynamic Pricing For WooCommerce

YITH Pre-Order for WooCommerce, by YITH


YITH Pre-Order for WooCommerce
 allows customers to reserve upcoming or out‑of‑stock products by placing an order and paying a fixed price or a discounted amount before the item is officially released. By default, YITH Pre-Order overrides the product’s regular price to show either the regular selling price, a fixed pre‑order price, or a percentage discount on the regular price.

When Advanced Dynamic Pricing for WooCommerce is also active, a pricing conflict can arise. YITH Pre-Order may not respect the dynamic pricing rules applied by Advanced Dynamic Pricing, leading to pre‑order products being added to the cart at an incorrect price — often the full regular price or a discounted amount that does not reflect the combined effect of both plugins.

This article provides a small compatibility snippet that resolves the conflict, ensuring that dynamic discounts are correctly combined with YITH Pre-Order’s pre‑order prices.

Required Settings Before Adding the Code

Two standard compatibility options must be enabled for Advanced Dynamic Pricing. These settings are required for most third‑party plugin integrations.

Step 1: Go to Advanced Dynamic Pricing → Settings → Calculation and set “Use prices modified by other plugins” to ON. This tells Advanced Dynamic Pricing to respect price changes introduced by other plugins (including YITH Pre-Order) rather than completely overriding them.

Step 2: Still in Advanced Dynamic Pricing → Settings → System, set “Suppress other pricing plugins in frontend” to OFF. This ensures that other pricing plugins are not blocked from modifying prices on the frontend.


The Compatibility Snippet

Place the following PHP code into your child theme’s functions.php file or via the free Code Snippets plugin. The snippet uses a filter provided by YITH Pre-Order.

 

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