$product = {"id":6977599635555,"title":"iPhone XR SolidSuit 迪士尼公主系列 公主專屬系列-阿拉丁 茉莉公主","handle":"iphone-xr-solidsuit-classic-sf12","description":null,"published_at":"2023-08-01T13:00:46+08:00","created_at":"2023-07-22T21:20:26+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-disney-princess","device-iPhone XR","merge","reseller-disney-princess"],"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":40566304538723,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0108552-SF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36081897308259,"product_id":6977599635555,"position":5,"created_at":"2026-06-24T12:25:21+08:00","updated_at":"2026-06-24T12:25:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff564f450212ed3de94fb8a9528fd94bae022003.webp?v=1782275123","variant_ids":[40566304538723]},"available":true,"name":"iPhone XR SolidSuit 迪士尼公主系列 公主專屬系列-阿拉丁 茉莉公主 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0108552-SF12","featured_media":{"alt":null,"id":27591033782371,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff564f450212ed3de94fb8a9528fd94bae022003.webp?v=1782275123"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40566304571491,"title":"White","option1":"White","option2":null,"option3":null,"sku":"SST0108553-SF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36081898061923,"product_id":6977599635555,"position":6,"created_at":"2026-06-24T12:25:22+08:00","updated_at":"2026-06-24T12:25:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41758ffcd97dd7c850c72bf8172de66fb408ed8.webp?v=1782275124","variant_ids":[40566304571491]},"available":true,"name":"iPhone XR SolidSuit 迪士尼公主系列 公主專屬系列-阿拉丁 茉莉公主 - White","public_title":"White","options":["White"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0108553-SF12","featured_media":{"alt":null,"id":27591034536035,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41758ffcd97dd7c850c72bf8172de66fb408ed8.webp?v=1782275124"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40566304604259,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"SST0108557-SF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36081894948963,"product_id":6977599635555,"position":2,"created_at":"2026-06-24T12:25:16+08:00","updated_at":"2026-06-24T12:25:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c27a7f61c9c527ab92cc80f0d9b0989b61208b60.webp?v=1782275118","variant_ids":[40566304604259]},"available":true,"name":"iPhone XR SolidSuit 迪士尼公主系列 公主專屬系列-阿拉丁 茉莉公主 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0108557-SF12","featured_media":{"alt":null,"id":27591031455843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c27a7f61c9c527ab92cc80f0d9b0989b61208b60.webp?v=1782275118"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40566304637027,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"SST01085O8-SF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36081895604323,"product_id":6977599635555,"position":3,"created_at":"2026-06-24T12:25:17+08:00","updated_at":"2026-06-24T12:25:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d620783c3fd47ac9bc109401eab6778cbf6c6221.webp?v=1782275119","variant_ids":[40566304637027]},"available":true,"name":"iPhone XR SolidSuit 迪士尼公主系列 公主專屬系列-阿拉丁 茉莉公主 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01085O8-SF12","featured_media":{"alt":null,"id":27591032045667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d620783c3fd47ac9bc109401eab6778cbf6c6221.webp?v=1782275119"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40566304702563,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01085O9-SF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36081895964771,"product_id":6977599635555,"position":4,"created_at":"2026-06-24T12:25:18+08:00","updated_at":"2026-06-24T12:25:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd16d7bb7d03ef91042f0366b7584e9603cac1e9.webp?v=1782275120","variant_ids":[40566304702563]},"available":true,"name":"iPhone XR SolidSuit 迪士尼公主系列 公主專屬系列-阿拉丁 茉莉公主 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01085O9-SF12","featured_media":{"alt":null,"id":27591032438883,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd16d7bb7d03ef91042f0366b7584e9603cac1e9.webp?v=1782275120"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-085-SF12.png?v=1690032029","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c27a7f61c9c527ab92cc80f0d9b0989b61208b60.webp?v=1782275118","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d620783c3fd47ac9bc109401eab6778cbf6c6221.webp?v=1782275119","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd16d7bb7d03ef91042f0366b7584e9603cac1e9.webp?v=1782275120","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff564f450212ed3de94fb8a9528fd94bae022003.webp?v=1782275123","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41758ffcd97dd7c850c72bf8172de66fb408ed8.webp?v=1782275124"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-085-SF12.png?v=1690032029","options":["color"],"media":[{"alt":null,"id":22622146789475,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-085-SF12.png?v=1690032029"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-085-SF12.png?v=1690032029","width":2000},{"alt":null,"id":27591031455843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c27a7f61c9c527ab92cc80f0d9b0989b61208b60.webp?v=1782275118"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c27a7f61c9c527ab92cc80f0d9b0989b61208b60.webp?v=1782275118","width":2000},{"alt":null,"id":27591032045667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d620783c3fd47ac9bc109401eab6778cbf6c6221.webp?v=1782275119"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d620783c3fd47ac9bc109401eab6778cbf6c6221.webp?v=1782275119","width":2000},{"alt":null,"id":27591032438883,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd16d7bb7d03ef91042f0366b7584e9603cac1e9.webp?v=1782275120"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd16d7bb7d03ef91042f0366b7584e9603cac1e9.webp?v=1782275120","width":2000},{"alt":null,"id":27591033782371,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff564f450212ed3de94fb8a9528fd94bae022003.webp?v=1782275123"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff564f450212ed3de94fb8a9528fd94bae022003.webp?v=1782275123","width":2000},{"alt":null,"id":27591034536035,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41758ffcd97dd7c850c72bf8172de66fb408ed8.webp?v=1782275124"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41758ffcd97dd7c850c72bf8172de66fb408ed8.webp?v=1782275124","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":40566304538723,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0108552-SF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36081897308259,"product_id":6977599635555,"position":5,"created_at":"2026-06-24T12:25:21+08:00","updated_at":"2026-06-24T12:25:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff564f450212ed3de94fb8a9528fd94bae022003.webp?v=1782275123","variant_ids":[40566304538723]},"available":true,"name":"iPhone XR SolidSuit 迪士尼公主系列 公主專屬系列-阿拉丁 茉莉公主 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0108552-SF12","featured_media":{"alt":null,"id":27591033782371,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff564f450212ed3de94fb8a9528fd94bae022003.webp?v=1782275123"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40566304571491,"title":"White","option1":"White","option2":null,"option3":null,"sku":"SST0108553-SF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36081898061923,"product_id":6977599635555,"position":6,"created_at":"2026-06-24T12:25:22+08:00","updated_at":"2026-06-24T12:25:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41758ffcd97dd7c850c72bf8172de66fb408ed8.webp?v=1782275124","variant_ids":[40566304571491]},"available":true,"name":"iPhone XR SolidSuit 迪士尼公主系列 公主專屬系列-阿拉丁 茉莉公主 - White","public_title":"White","options":["White"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0108553-SF12","featured_media":{"alt":null,"id":27591034536035,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a41758ffcd97dd7c850c72bf8172de66fb408ed8.webp?v=1782275124"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40566304604259,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"SST0108557-SF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36081894948963,"product_id":6977599635555,"position":2,"created_at":"2026-06-24T12:25:16+08:00","updated_at":"2026-06-24T12:25:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c27a7f61c9c527ab92cc80f0d9b0989b61208b60.webp?v=1782275118","variant_ids":[40566304604259]},"available":true,"name":"iPhone XR SolidSuit 迪士尼公主系列 公主專屬系列-阿拉丁 茉莉公主 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0108557-SF12","featured_media":{"alt":null,"id":27591031455843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c27a7f61c9c527ab92cc80f0d9b0989b61208b60.webp?v=1782275118"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40566304637027,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"SST01085O8-SF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36081895604323,"product_id":6977599635555,"position":3,"created_at":"2026-06-24T12:25:17+08:00","updated_at":"2026-06-24T12:25:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d620783c3fd47ac9bc109401eab6778cbf6c6221.webp?v=1782275119","variant_ids":[40566304637027]},"available":true,"name":"iPhone XR SolidSuit 迪士尼公主系列 公主專屬系列-阿拉丁 茉莉公主 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01085O8-SF12","featured_media":{"alt":null,"id":27591032045667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d620783c3fd47ac9bc109401eab6778cbf6c6221.webp?v=1782275119"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40566304702563,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01085O9-SF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36081895964771,"product_id":6977599635555,"position":4,"created_at":"2026-06-24T12:25:18+08:00","updated_at":"2026-06-24T12:25:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd16d7bb7d03ef91042f0366b7584e9603cac1e9.webp?v=1782275120","variant_ids":[40566304702563]},"available":true,"name":"iPhone XR SolidSuit 迪士尼公主系列 公主專屬系列-阿拉丁 茉莉公主 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01085O9-SF12","featured_media":{"alt":null,"id":27591032438883,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd16d7bb7d03ef91042f0366b7584e9603cac1e9.webp?v=1782275120"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":40566304538723,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0108552-SF12","requires_shipping":true,"taxable":true,"featured_image":{"id":36081897308259,"product_id":6977599635555,"position":5,"created_at":"2026-06-24T12:25:21+08:00","updated_at":"2026-06-24T12:25:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff564f450212ed3de94fb8a9528fd94bae022003.webp?v=1782275123","variant_ids":[40566304538723]},"available":true,"name":"iPhone XR SolidSuit 迪士尼公主系列 公主專屬系列-阿拉丁 茉莉公主 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0108552-SF12","featured_media":{"alt":null,"id":27591033782371,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff564f450212ed3de94fb8a9528fd94bae022003.webp?v=1782275123"}},"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: "停產" }