In my product page templates it would be useful to be able to discriminate between regular products and those which represent bundles from the Shopify Bundles app. Is is possible to inspect some property on the product object or its variants to determine this? Thanks.
Topic summary
A developer needs to programmatically identify whether a Shopify product object represents a bundle created through the Shopify Bundles app.
Initial Question:
- Seeking a property on the
productobject or its variants that indicates bundle status - Goal is to differentiate bundles from regular products in product page templates
Resolution:
- No native property exists to detect bundles
- Workaround implemented: manually tagging each bundle product and checking for that tag in the template
- The developer notes this solution works but is not ideal
This doesn’t seem to be possible so I eventually resorted to tagging each bundle product and checking for the tag. Not ideal but it works.
1 Like