How to Hide Default Configurator Clear/Reset Buttons

How to Hide Default Configurator Clear/Reset Buttons

If you want to hide the Clear and/or Reset buttons that are automatically attached to popup configurators, you can do so by creating a new element in the configurator logic and then setting that action to be hidden.

Clear Button

import net.pricefx.common.api.InputButtonAction def ce = api.createConfiguratorEntry() ce.setHiddenActions(InputButtonAction.CLEAR) return ce

Reset Button

import net.pricefx.common.api.InputButtonAction def ce = api.createConfiguratorEntry() ce.setHiddenActions(InputButtonAction.RESET) return ce

If you are removing both, put these in two different elements. Also, you can leave the visibility of the elements as visible Everywhere.