> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help-option.ymqapp.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Advanced Pricing Logic

1. [Option](/ymq-options-v2/option)
2. [Price Add-on](/ymq-options-v2/option/price-add-on)
3. [Advanced Price](/ymq-options-v2/option/price-add-on/advanced-price)

# Advanced Pricing Logic

📌 Provides the most flexible pricing by allowing you to calculate the final price using custom code. Use [Price Formula Builder](/ymq-options-v2/option/price-add-on/advanced-price/price-formula-builder) for simple logic, and **Advanced Pricing Logic** for more complex scenarios—but coding knowledge is required. _**(Plus Plan Feature)**_

---

💡 **Example**

* If the variant price is **less than 100**, the option price is set to **Product Price × 10%**.
* If the variant price is **greater than 100**, the option price is set to **Product Price × 15%**.

See the images and video below for setup instructions.

![](https://storage.crisp.chat/users/helpdesk/website/-/a/f/9/9/af994755d69f0800/329863f2-fb0e-4649-989f-6b2d57_a0q34j.jpg)

![](https://storage.crisp.chat/users/helpdesk/website/-/9/0/f/8/90f8c59d2c1a5000/ccc40a64-f7f0-4f24-b71c-18161b_1bke0jw.jpg)