$product = {"id":7769626280035,"title":"iPhone X Mod NX ilovedoodle White Cat Flowers - 白貓花朵","handle":"iphone-x-mod-nx-printable-xf49","description":null,"published_at":"2025-07-16T17:16:38+08:00","created_at":"2025-04-15T18:37:04+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone X","merge","reseller-ilovedoodle"],"price":90000,"price_min":90000,"price_max":90000,"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":43303226835043,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0106424-XF49","requires_shipping":true,"taxable":true,"featured_image":{"id":34197060026467,"product_id":7769626280035,"position":10,"created_at":"2025-07-16T14:57:42+08:00","updated_at":"2025-07-16T14:57:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/882f644f03899def9076d04e924c5cd058b59e38_e015e742-75f0-42be-a18a-028dc18e6d13.webp?v=1752649064","variant_ids":[43303226835043]},"available":true,"name":"iPhone X Mod NX ilovedoodle White Cat Flowers - 白貓花朵 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0106424-XF49","featured_media":{"alt":null,"id":25829693030499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/882f644f03899def9076d04e924c5cd058b59e38_e015e742-75f0-42be-a18a-028dc18e6d13.webp?v=1752649064"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcf27ade12fb933ae3aec0162fb235ee86c9260e.webp?v=1744713431","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35b2571e39c96a04758a5138e4907e2c34e5aca8_cdee1c62-6022-4c4e-9a37-3818170e118f.webp?v=1752649060","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a3b5f926a8f41c679daff9e7cc7cb122571622b_636c7bb6-1e21-4cbc-9605-43445d1acee4.webp?v=1752649060","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c4906acf796dbeaeb60715995559a53eca85e5_a97963c0-3b6a-4e0e-a505-213b50b84284.webp?v=1752649060","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b00b7654c3ce8738f7d8d9da9f70f39d486777b5_d933b80b-0353-4c8a-8f9f-8cff57220d1e.webp?v=1752649061","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab39dd14533a7aa27a493feaa571d2133432c566_8145eb69-6ce0-4f76-8af6-4ab6da5a0476.webp?v=1752649062","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cd121dbe5f85daa05e0229c1220c277b74334b1_bec249b3-b59d-4b8d-a046-a73ac5c85353.webp?v=1752649062","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9d4dbc1f28c55faf26a9dfe1e422f6cf9018938_7ea62188-2941-4562-b8ca-84def46065f5.webp?v=1752649063","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af76123f2e6df4940516409343310c97fae5735e_f7af40f8-eff0-4c03-8b87-69caee9a30d6.webp?v=1752649063","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/882f644f03899def9076d04e924c5cd058b59e38_e015e742-75f0-42be-a18a-028dc18e6d13.webp?v=1752649064","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f508db99ba6b9f73b5a22bdc0fbef87ed617999_1fee8697-5d04-4006-8e1d-122a5fafb684.webp?v=1752649064"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcf27ade12fb933ae3aec0162fb235ee86c9260e.webp?v=1744713431","options":["color"],"media":[{"alt":null,"id":25495995613283,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcf27ade12fb933ae3aec0162fb235ee86c9260e.webp?v=1744713431"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcf27ade12fb933ae3aec0162fb235ee86c9260e.webp?v=1744713431","width":2000},{"alt":null,"id":25829691818083,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35b2571e39c96a04758a5138e4907e2c34e5aca8_cdee1c62-6022-4c4e-9a37-3818170e118f.webp?v=1752649060"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35b2571e39c96a04758a5138e4907e2c34e5aca8_cdee1c62-6022-4c4e-9a37-3818170e118f.webp?v=1752649060","width":2000},{"alt":null,"id":25829691883619,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a3b5f926a8f41c679daff9e7cc7cb122571622b_636c7bb6-1e21-4cbc-9605-43445d1acee4.webp?v=1752649060"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a3b5f926a8f41c679daff9e7cc7cb122571622b_636c7bb6-1e21-4cbc-9605-43445d1acee4.webp?v=1752649060","width":2000},{"alt":null,"id":25829692178531,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c4906acf796dbeaeb60715995559a53eca85e5_a97963c0-3b6a-4e0e-a505-213b50b84284.webp?v=1752649060"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2c4906acf796dbeaeb60715995559a53eca85e5_a97963c0-3b6a-4e0e-a505-213b50b84284.webp?v=1752649060","width":2000},{"alt":null,"id":25829692244067,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b00b7654c3ce8738f7d8d9da9f70f39d486777b5_d933b80b-0353-4c8a-8f9f-8cff57220d1e.webp?v=1752649061"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b00b7654c3ce8738f7d8d9da9f70f39d486777b5_d933b80b-0353-4c8a-8f9f-8cff57220d1e.webp?v=1752649061","width":2000},{"alt":null,"id":25829692375139,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab39dd14533a7aa27a493feaa571d2133432c566_8145eb69-6ce0-4f76-8af6-4ab6da5a0476.webp?v=1752649062"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab39dd14533a7aa27a493feaa571d2133432c566_8145eb69-6ce0-4f76-8af6-4ab6da5a0476.webp?v=1752649062","width":2000},{"alt":null,"id":25829692604515,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cd121dbe5f85daa05e0229c1220c277b74334b1_bec249b3-b59d-4b8d-a046-a73ac5c85353.webp?v=1752649062"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cd121dbe5f85daa05e0229c1220c277b74334b1_bec249b3-b59d-4b8d-a046-a73ac5c85353.webp?v=1752649062","width":2000},{"alt":null,"id":25829692735587,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9d4dbc1f28c55faf26a9dfe1e422f6cf9018938_7ea62188-2941-4562-b8ca-84def46065f5.webp?v=1752649063"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9d4dbc1f28c55faf26a9dfe1e422f6cf9018938_7ea62188-2941-4562-b8ca-84def46065f5.webp?v=1752649063","width":2000},{"alt":null,"id":25829692899427,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af76123f2e6df4940516409343310c97fae5735e_f7af40f8-eff0-4c03-8b87-69caee9a30d6.webp?v=1752649063"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af76123f2e6df4940516409343310c97fae5735e_f7af40f8-eff0-4c03-8b87-69caee9a30d6.webp?v=1752649063","width":2000},{"alt":null,"id":25829693030499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/882f644f03899def9076d04e924c5cd058b59e38_e015e742-75f0-42be-a18a-028dc18e6d13.webp?v=1752649064"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/882f644f03899def9076d04e924c5cd058b59e38_e015e742-75f0-42be-a18a-028dc18e6d13.webp?v=1752649064","width":2000},{"alt":null,"id":25829693128803,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f508db99ba6b9f73b5a22bdc0fbef87ed617999_1fee8697-5d04-4006-8e1d-122a5fafb684.webp?v=1752649064"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f508db99ba6b9f73b5a22bdc0fbef87ed617999_1fee8697-5d04-4006-8e1d-122a5fafb684.webp?v=1752649064","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43303226835043,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0106424-XF49","requires_shipping":true,"taxable":true,"featured_image":{"id":34197060026467,"product_id":7769626280035,"position":10,"created_at":"2025-07-16T14:57:42+08:00","updated_at":"2025-07-16T14:57:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/882f644f03899def9076d04e924c5cd058b59e38_e015e742-75f0-42be-a18a-028dc18e6d13.webp?v=1752649064","variant_ids":[43303226835043]},"available":true,"name":"iPhone X Mod NX ilovedoodle White Cat Flowers - 白貓花朵 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0106424-XF49","featured_media":{"alt":null,"id":25829693030499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/882f644f03899def9076d04e924c5cd058b59e38_e015e742-75f0-42be-a18a-028dc18e6d13.webp?v=1752649064"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43303226835043,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0106424-XF49","requires_shipping":true,"taxable":true,"featured_image":{"id":34197060026467,"product_id":7769626280035,"position":10,"created_at":"2025-07-16T14:57:42+08:00","updated_at":"2025-07-16T14:57:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/882f644f03899def9076d04e924c5cd058b59e38_e015e742-75f0-42be-a18a-028dc18e6d13.webp?v=1752649064","variant_ids":[43303226835043]},"available":true,"name":"iPhone X Mod NX ilovedoodle White Cat Flowers - 白貓花朵 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0106424-XF49","featured_media":{"alt":null,"id":25829693030499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/882f644f03899def9076d04e924c5cd058b59e38_e015e742-75f0-42be-a18a-028dc18e6d13.webp?v=1752649064"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }