How to filter out Summary

Hi I’d like to disable printing custom items that have a value of false (options boxes) and also remove printing value of ‘true’ for those that are true (so only the option name appears, not “option name - true”) in the cart summary.

What would be the best way to achieve that? I tried using the v-if but don’t understand how to get the values in the array to be evaluated (I was able to do it in the email template using #if_not_eq value ‘false’) Do I need to make a computed value?


Solved this through support thanks!

Turns out the array doesn’t need to be computer but customField.value and customField.type can be evaluated directly.