You can use conditions if you want to show or hide some fields based on the value of another field

A condition has two parts: a formula and a visibility

The formula checks the fields values and the visibility shows or hides the desired fields

You can click on the displayed formula to edit it, this interface will be displayed

Finally you can save the formula and adjust the visibility of the fields

A field shown in green will be visible, the gray ones will be hidden when the condition is met


# Condition name:

The condition name is useful when you want to hide other elements in the product page.

When a condition is met the module will add it to the classes of the page body

For example, if you named a condition height, then the class dp_condition_height will be added when this condition is true

Then you can write some custom CSS code to hide elements on the page using this class


Was this article helpful to you? Yes No