PageSourceSearch

https://hotelcollection.sa/cdn/shop/t/5/assets/cart-remove-fees.js?v=34660383910158695631763405273

js hotelcollection.sa collected 2026-10-08 02:05:04 UTC 941 bytes, 2 lines download raw bytes

1async function fetchCart(){let cartData;return await $.ajax({dataType:"json",url:`${window.Shopify.routes.root+"cart.js"}`,success:function(data){cartData=data}}),cartData}async function removeProcessingFees(){let lineItems=(await fetchCart()).items;console.log(lineItems),console.log("line items ----");const rItems=[];lineItems.length>0&&(lineItems.map(lineItem=>{lineItem.product_id==7934580261030&&rItems.push(lineItem)}),rItems.length>0&&await removeProcessingFeesQty(rItems,0))}async function removeProcessingFeesQty(products,qty){qty=parseInt(qty);const newObj={};products.forEach(item=>{newObj[item.key.toString()]=qty});try{await jQuery.post(window.Shopify.routes.root+"cart/update.js",{updates:newObj})}catch(error){console.log(error)}finally{window.location.reload()}}window.location.href.includes("/cart")&&removeProcessingFees();
2//# sourceMappingURL=/cdn/shop/t/5/assets/cart-remove-fees.js.map?v=34660383910158695631763405273

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.