Group line items based on custom properties in a quote template
Hello everyone, We currently developing our own quot templates and looking for a way to group products by type.
Licenses (ongoing costs)
Consultation (One-off costs)
Optional licenses
Optional consultation
To achieve this, we have added custom properties to the products. However, we are unable to find information on how to retrieve these custom properties in code based on line items. Or how we can retrieve filtered lists of the same.
Does anyone have experience with this and can point us in the right direction? Thanks in advance.