$product = {"id":7769781960803,"title":"iPhone XS SolidSuit ilovedoodle Love Keeps Our Hearts Warm - 溫暖的愛","handle":"iphone-xs-solidsuit-classic-xf56","description":null,"published_at":"2025-07-04T14:47:41+08:00","created_at":"2025-04-15T20:31:32+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit專區I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone XS","merge","reseller-ilovedoodle"],"price":83000,"price_min":83000,"price_max":83000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":43303934001251,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-XF56","requires_shipping":true,"taxable":true,"featured_image":{"id":34196745420899,"product_id":7769781960803,"position":11,"created_at":"2025-07-16T14:50:23+08:00","updated_at":"2025-07-16T14:50:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e62ba4f9413f415d57875b2526fd7f6fc76880c.webp?v=1752648625","variant_ids":[43303934001251]},"available":true,"name":"iPhone XS SolidSuit ilovedoodle Love Keeps Our Hearts Warm - 溫暖的愛 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0106452-XF56","featured_media":{"alt":null,"id":25829521326179,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e62ba4f9413f415d57875b2526fd7f6fc76880c.webp?v=1752648625"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303938326627,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01064P2-XF56","requires_shipping":true,"taxable":true,"featured_image":{"id":34196746403939,"product_id":7769781960803,"position":13,"created_at":"2025-07-16T14:50:25+08:00","updated_at":"2025-07-16T14:50:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b06760ebca1b6d4147942aab7c0cf1aa9ac49eb5.webp?v=1752648626","variant_ids":[43303938326627]},"available":true,"name":"iPhone XS SolidSuit ilovedoodle Love Keeps Our Hearts Warm - 溫暖的愛 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01064P2-XF56","featured_media":{"alt":null,"id":25829522112611,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b06760ebca1b6d4147942aab7c0cf1aa9ac49eb5.webp?v=1752648626"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b173202b84a4d342e981ae82013eeb471c936cf_698fca03-814d-48c4-be37-2a20e3683d25.webp?v=1744720299","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54d65b30da19b9e94976701074b491d06d0afbe2_442df979-39ff-452e-befa-aa76b1daed2b.webp?v=1752638695","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/555e5d94cbeeef36a1abbd95dc2b1b54eae2dc24_f69060bd-053b-41b5-ae6b-cc8e01523afc.webp?v=1752638696","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b06760ebca1b6d4147942aab7c0cf1aa9ac49eb5_3df52492-65a5-4fdb-b504-f2c1c748f5ae.webp?v=1752638697","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cba39ebcb8b55af8495a393d895ab654c7d78f2_55e7574b-c72a-4fdd-92c5-63dba0815036.webp?v=1752638697","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/324b2acac9c29c1c282cdbd205482656cbf32919_d5c7fca5-7b9a-4654-8812-641da0ba1d46.webp?v=1752638698","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e62ba4f9413f415d57875b2526fd7f6fc76880c_32e3e9e6-8f38-4a43-aa5f-6ffad6223188.webp?v=1752638699","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/555e5d94cbeeef36a1abbd95dc2b1b54eae2dc24.webp?v=1752648623","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54d65b30da19b9e94976701074b491d06d0afbe2.webp?v=1752648624","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cba39ebcb8b55af8495a393d895ab654c7d78f2.webp?v=1752648624","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e62ba4f9413f415d57875b2526fd7f6fc76880c.webp?v=1752648625","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/324b2acac9c29c1c282cdbd205482656cbf32919.webp?v=1752648626","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b06760ebca1b6d4147942aab7c0cf1aa9ac49eb5.webp?v=1752648626"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b173202b84a4d342e981ae82013eeb471c936cf_698fca03-814d-48c4-be37-2a20e3683d25.webp?v=1744720299","options":["color"],"media":[{"alt":null,"id":25496274960483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b173202b84a4d342e981ae82013eeb471c936cf_698fca03-814d-48c4-be37-2a20e3683d25.webp?v=1744720299"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b173202b84a4d342e981ae82013eeb471c936cf_698fca03-814d-48c4-be37-2a20e3683d25.webp?v=1744720299","width":2000},{"alt":null,"id":25828267294819,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54d65b30da19b9e94976701074b491d06d0afbe2_442df979-39ff-452e-befa-aa76b1daed2b.webp?v=1752638695"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54d65b30da19b9e94976701074b491d06d0afbe2_442df979-39ff-452e-befa-aa76b1daed2b.webp?v=1752638695","width":2000},{"alt":null,"id":25828267524195,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/555e5d94cbeeef36a1abbd95dc2b1b54eae2dc24_f69060bd-053b-41b5-ae6b-cc8e01523afc.webp?v=1752638696"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/555e5d94cbeeef36a1abbd95dc2b1b54eae2dc24_f69060bd-053b-41b5-ae6b-cc8e01523afc.webp?v=1752638696","width":2000},{"alt":null,"id":25828267753571,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b06760ebca1b6d4147942aab7c0cf1aa9ac49eb5_3df52492-65a5-4fdb-b504-f2c1c748f5ae.webp?v=1752638697"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b06760ebca1b6d4147942aab7c0cf1aa9ac49eb5_3df52492-65a5-4fdb-b504-f2c1c748f5ae.webp?v=1752638697","width":2000},{"alt":null,"id":25828267982947,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cba39ebcb8b55af8495a393d895ab654c7d78f2_55e7574b-c72a-4fdd-92c5-63dba0815036.webp?v=1752638697"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cba39ebcb8b55af8495a393d895ab654c7d78f2_55e7574b-c72a-4fdd-92c5-63dba0815036.webp?v=1752638697","width":2000},{"alt":null,"id":25828268310627,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/324b2acac9c29c1c282cdbd205482656cbf32919_d5c7fca5-7b9a-4654-8812-641da0ba1d46.webp?v=1752638698"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/324b2acac9c29c1c282cdbd205482656cbf32919_d5c7fca5-7b9a-4654-8812-641da0ba1d46.webp?v=1752638698","width":2000},{"alt":null,"id":25828268572771,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e62ba4f9413f415d57875b2526fd7f6fc76880c_32e3e9e6-8f38-4a43-aa5f-6ffad6223188.webp?v=1752638699"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e62ba4f9413f415d57875b2526fd7f6fc76880c_32e3e9e6-8f38-4a43-aa5f-6ffad6223188.webp?v=1752638699","width":2000},{"alt":null,"id":25829520408675,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/555e5d94cbeeef36a1abbd95dc2b1b54eae2dc24.webp?v=1752648623"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/555e5d94cbeeef36a1abbd95dc2b1b54eae2dc24.webp?v=1752648623","width":2000},{"alt":null,"id":25829520736355,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54d65b30da19b9e94976701074b491d06d0afbe2.webp?v=1752648624"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54d65b30da19b9e94976701074b491d06d0afbe2.webp?v=1752648624","width":2000},{"alt":null,"id":25829521064035,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cba39ebcb8b55af8495a393d895ab654c7d78f2.webp?v=1752648624"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cba39ebcb8b55af8495a393d895ab654c7d78f2.webp?v=1752648624","width":2000},{"alt":null,"id":25829521326179,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e62ba4f9413f415d57875b2526fd7f6fc76880c.webp?v=1752648625"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e62ba4f9413f415d57875b2526fd7f6fc76880c.webp?v=1752648625","width":2000},{"alt":null,"id":25829521883235,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/324b2acac9c29c1c282cdbd205482656cbf32919.webp?v=1752648626"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/324b2acac9c29c1c282cdbd205482656cbf32919.webp?v=1752648626","width":2000},{"alt":null,"id":25829522112611,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b06760ebca1b6d4147942aab7c0cf1aa9ac49eb5.webp?v=1752648626"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b06760ebca1b6d4147942aab7c0cf1aa9ac49eb5.webp?v=1752648626","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43303934001251,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-XF56","requires_shipping":true,"taxable":true,"featured_image":{"id":34196745420899,"product_id":7769781960803,"position":11,"created_at":"2025-07-16T14:50:23+08:00","updated_at":"2025-07-16T14:50:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e62ba4f9413f415d57875b2526fd7f6fc76880c.webp?v=1752648625","variant_ids":[43303934001251]},"available":true,"name":"iPhone XS SolidSuit ilovedoodle Love Keeps Our Hearts Warm - 溫暖的愛 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0106452-XF56","featured_media":{"alt":null,"id":25829521326179,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e62ba4f9413f415d57875b2526fd7f6fc76880c.webp?v=1752648625"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43303938326627,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"SST01064P2-XF56","requires_shipping":true,"taxable":true,"featured_image":{"id":34196746403939,"product_id":7769781960803,"position":13,"created_at":"2025-07-16T14:50:25+08:00","updated_at":"2025-07-16T14:50:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b06760ebca1b6d4147942aab7c0cf1aa9ac49eb5.webp?v=1752648626","variant_ids":[43303938326627]},"available":true,"name":"iPhone XS SolidSuit ilovedoodle Love Keeps Our Hearts Warm - 溫暖的愛 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01064P2-XF56","featured_media":{"alt":null,"id":25829522112611,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b06760ebca1b6d4147942aab7c0cf1aa9ac49eb5.webp?v=1752648626"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43303934001251,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0106452-XF56","requires_shipping":true,"taxable":true,"featured_image":{"id":34196745420899,"product_id":7769781960803,"position":11,"created_at":"2025-07-16T14:50:23+08:00","updated_at":"2025-07-16T14:50:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e62ba4f9413f415d57875b2526fd7f6fc76880c.webp?v=1752648625","variant_ids":[43303934001251]},"available":true,"name":"iPhone XS SolidSuit ilovedoodle Love Keeps Our Hearts Warm - 溫暖的愛 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0106452-XF56","featured_media":{"alt":null,"id":25829521326179,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e62ba4f9413f415d57875b2526fd7f6fc76880c.webp?v=1752648625"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $brand_handle = null; $type = ""; var sellingStatus // 只有設計款(SKU 含 '-')才需要合圖 if ($isMerge && $defaultVariant.sku.includes('-')) { $(document).ready(function() { var productImg = $product.images[0]; var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]); var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate') ? [productImg, bumperImg] : [bumperImg, productImg]; window.mergeProductImages(layers).then(function (mergedImg) { $('.merged-img').attr('src', mergedImg); }); }); }; var sellingStatusData window.fetchSellingStatus().then(data => { try { sellingStatusData = data; } catch (error) { sellingStatusData = null console.error('Unable to parse selling status', error) } $(document).ready(function() { handleSellingStatus($defaultVariant.sku); }); }) function handleSellingStatus(currentSku) { if (!sellingStatusData) { console.error('No selling status available!') return } const sellingStatusElement = document.getElementById('selling-status') const addToCartButton = document.getElementById('AddToCart-product-template') const currentProductSku = currentSku.replace(/-(.*)$/, '-') if ($variants) { const flattenedSellingStatus = [...sellingStatusData.pending, ...sellingStatusData.preorder] const matchSellingStatusProduct = flattenedSellingStatus.filter(product => currentProductSku === product.sku) if (matchSellingStatusProduct.length > 0) { const isProductPending = matchSellingStatusProduct[0].status === 'pending' const matchDate = matchSellingStatusProduct[0].date sellingStatus = isProductPending ? "缺貨中" : "預購完成出貨日:" + matchDate sellingStatusElement.textContent = sellingStatus if (sellingStatus.includes("缺貨中")){ addToCartButton.disabled ='true'; addToCartButton.textContent = "缺貨中無法加入購物車" } else { addToCartButton.textContent = "加到購物車" } } else { sellingStatusElement.textContent = '' addToCartButton.textContent = "加到購物車" }; }; }; document.addEventListener('DOMContentLoaded', function () { var currentVariantSelect = document.getElementById('SingleOptionSelector-0') currentVariantSelect.addEventListener('change', function() { var currentSku = $('#current_sku').text() var skuElement = document.getElementById('current-sku') skuElement.textContent = currentSku handleSellingStatus(currentSku) }); });
// Override default values of shop.strings for each template. // Alternate product templates can change values of // add to cart button, sold out, and unavailable states here. theme.productStrings = { addToCart: "加到購物車", soldOut: "售完", unavailable: "停產" }