New answers tagged

1

Reasons is not built to be used on the frontend. But, if you really want to you can get all the Reasons raw data (emphasis on raw) in Twig like this: {% set reasonsData = craft.app.getPlugins().getPlugin('reasons').reasons.getData() %} The above would return an array containing the actual conditional rules, in addition to arrays of toggle fields and target ...


Top 50 recent answers are included