I have certain section models in builderio which I want to target on certain pages. These pages are product pages for an e-commerce site.
Targeting should include
Specific categories e.g. If i target category to jewelery, the section will show on product page of type jewelry.
Specific vendor e.g. If i target vendor to XYZ, the section will show on product page of vendor XYZ.
Currently I don’t see any option to add shopifyVendor type in the targeting attribute. Thus, I had created type ‘enum’ and manually added some vendors in the list.
However, it would be great if we could dynamically update this data from code in the enum list using the vendors we have.
This isn’t possible now because Custom Targeting Attributes are not powered by dynamic data. It’s certainly possible to fetch data from a parent page and use Dynamic Symbols to pass data about the page (such as vendor data fetched by an API) and determine if the content should be displayed via a Show If binding.
If you’d like us to consider the addition of dynamic targeting, please submit that feature request at ideas.builder.io.