Is it possible to tell if a given `product` object represents a bundle?

Solved

Is it possible to tell if a given `product` object represents a bundle?

JamesTiplady
Shopify Partner
4 2 3

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.

Accepted Solution (1)

JamesTiplady
Shopify Partner
4 2 3

This is an accepted solution.

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.

View solution in original post

Reply 1 (1)

JamesTiplady
Shopify Partner
4 2 3

This is an accepted solution.

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.