PageSourceSearch

https://ahcapublications.org/cdn/shop/t/37/assets/custom.js?v=128396894022184755751760628292

js ahcapublications.org collected 2026-09-29 03:19:21 UTC 1,910 bytes, 2 lines download raw bytes

1$(document).ready(function(){var qty_value,ipt_qty;$(".qtybox .btnqty").on("click",function(){var qty=parseInt($(this).parent(".qtybox").find(".quantity-input").val());$(this).hasClass("qtyplus")?qty++:qty>0&&qty--,qty=isNaN(qty)?1:qty,$(this).parent(".qtybox").find(".quantity-input").val(qty),qty_value=$(this).parent(".qtybox").find(".quantity-input").val(),$(this).parents(".content_pro").find(".cst_add_product").attr("quantity",qty_value),$(".quantity-input").each(function(){ipt_qty=$(this).val(),console.log(ipt_qty),ipt_qty>0?($(this).parents(".featured__collection-product").addClass("p_active"),$(this).closest(".content_pro").find(".cst_add_product").prop("checked",!0)):($(this).parents(".featured__collection-product").removeClass("p_active"),$(this).closest(".content_pro").find(".cst_add_product").prop("checked",!1))}),$(".featured__collection-product").hasClass("p_active")?$(".custom-cart-btn").removeAttr("disabled").removeClass("disable").text("Add to cart"):$(".custom-cart-btn").attr("disabled",!0).addClass("disable").text("Choose products first")}),$(document).on("click","button.custom-cart-btn",function(e){e.preventDefault(),Shopify.queue=[],$(".bundle-product-section .cst_add_product:checked").each(function(){var varid=$(this).attr("variant_id"),quantity_val=$(this).attr("quantity");varid!=""&&Shopify.queue.push({variantId:varid,qty:quantity_val})}).promise().done(function(){if(Shopify.queue.length>0)Shopify.moveAlong=function(){if(Shopify.queue.length){var request=Shopify.queue.shift(),varid=request.variantId,qty_box=request.qty;$.ajax({method:"POST",url:"/cart/add.js",data:{id:varid,quantity:qty_box},dataType:"json",success:function(res){Shopify.moveAlong()},error:function(data){Shopify.moveAlong()}})}else window.location.href="/cart"},Shopify.moveAlong();else return!1})})});
2//# sourceMappingURL=/cdn/shop/t/37/assets/custom.js.map?v=128396894022184755751760628292

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.