Reply To: How to generate the special price just for one product?

#99110
Tom Anbinder
Moderator
Plugin Support

Hi Ismar,

First solution that comes to mind:

1. Change your formula to:

x[if_product_category slug="cat1,cat2"]*p1[/if_product_category][if_product_category not_slug="cat1,cat2"]*1.20[/if_product_category]

2. Set “Number of parameters” to 1 and save changes.

3. For p1 value set:

[if_product_id compare_operator="in" compare_to_value="1659"]2.5[/if_product_id][if_product_id compare_operator="not_in" compare_to_value="1659"]1.10[/if_product_id]

Here you need to replace 1659 (in two places) with the product ID you wish to make the exception for. You can also enter multiple product IDs with comma-separated list, e.g.: 1659,1710,1900. Also you need to change 2.5 with the coefficient you wish to apply for the exception product.

Hope you get the idea. Please let me know if something is not working as expected or if you have any questions. And if you like the plugin, please consider leaving us a rating.