node;
if (isset($cptb_product_obj->inCollection) && !$cptb_product_obj->inCollection) {
continue;
}
$cptb_bundle_class = $cptb_product_obj->handle == 'wp-theme-bundle' ? 'is-bundle' : '';
$cptb_demo_url = isset($cptb_product->node->metafield->value) ? $cptb_product->node->metafield->value : '';
$cptb_product_url = isset($cptb_product->node->onlineStoreUrl) ? $cptb_product->node->onlineStoreUrl : '';
$cptb_image_src = isset($cptb_product->node->images->edges[0]->node->src) ? $cptb_product->node->images->edges[0]->node->src : ''; ?>