boldsupport
4/18/2016 - 4:40 PM

shappify-bdl-load-bundle-quickshop

<div id='shappify_bundle' class='css_container' style='display:none' onclick='$("form.bundle-form").unbind("submit")'></div>
<div id='shappify_bundle-{{ product.id }}' onclick='$("form.bundle-form").unbind("submit")'></div>
<script>
if(typeof(Bold) === 'undefined') var Bold = {};
if(typeof(Bold.bundles) === 'undefined') Bold.bundles = {};

function bold_load_bundle(prodID) {
  bundlejQuery("#shappify_bundle-" + prodID).html(Bold.bundles[prodID]);
    if (typeof (bold_bundle_callback) == "function") {
    bold_bundle_callback(prodID);
  }
}

function bold_bundle_ready(){
    Bold.bundles[{{ product.id }}] = htmloutput;
    bold_load_bundle({{ product.id }});
}
</script>
<script src="//secure.apps.shappify.com/apps/bundle/product_bundle.php?shop={{ shop.permanent_domain }}&product_id={{ product.id }}"></script>