$product = {"id":7814674743395,"title":"iPhone 14 Clear 迪士尼公主系列 公主角色集合","handle":"iphone-14-jellytint-sf43","description":null,"published_at":"2025-06-11T09:34:28+08:00","created_at":"2025-06-10T10:23:39+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師JellyTint專區-迪士尼-公主系列 Disney Princess","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-disney-princess","device-iPhone 14","merge","reseller-disney-princess"],"price":128000,"price_min":128000,"price_max":128000,"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":43440173187171,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-SF43","requires_shipping":true,"taxable":true,"featured_image":{"id":36080407380067,"product_id":7814674743395,"position":6,"created_at":"2026-06-24T11:28:46+08:00","updated_at":"2026-06-24T11:28:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e06130bc1026006e8ce5823fb9e6e35bf4ca34e9_bbc27f41-6c07-4c88-b45f-88c2b36001b6.webp?v=1782271728","variant_ids":[43440173187171]},"available":true,"name":"iPhone 14 Clear 迪士尼公主系列 公主角色集合 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600G-SF43","featured_media":{"alt":null,"id":27589543985251,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e06130bc1026006e8ce5823fb9e6e35bf4ca34e9_bbc27f41-6c07-4c88-b45f-88c2b36001b6.webp?v=1782271728"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43440175710307,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-SF43","requires_shipping":true,"taxable":true,"featured_image":{"id":36080408494179,"product_id":7814674743395,"position":8,"created_at":"2026-06-24T11:28:48+08:00","updated_at":"2026-06-24T11:28:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64199aa02a929c6604ee2c559a2876f0e96f89eb_6b7c144c-4974-4a65-ae84-5099c36d3313.webp?v=1782271730","variant_ids":[43440175710307]},"available":true,"name":"iPhone 14 Clear 迪士尼公主系列 公主角色集合 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-SF43","featured_media":{"alt":null,"id":27589545066595,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64199aa02a929c6604ee2c559a2876f0e96f89eb_6b7c144c-4974-4a65-ae84-5099c36d3313.webp?v=1782271730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43440175775843,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-SF43","requires_shipping":true,"taxable":true,"featured_image":{"id":36080407937123,"product_id":7814674743395,"position":7,"created_at":"2026-06-24T11:28:47+08:00","updated_at":"2026-06-24T11:28:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7648f1be4ae6bb963441b1c2af04dc16a9b5225e_feb19ec8-4c78-4c23-9beb-f78937ccdc63.webp?v=1782271729","variant_ids":[43440175775843]},"available":true,"name":"iPhone 14 Clear 迪士尼公主系列 公主角色集合 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600I-SF43","featured_media":{"alt":null,"id":27589544607843,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7648f1be4ae6bb963441b1c2af04dc16a9b5225e_feb19ec8-4c78-4c23-9beb-f78937ccdc63.webp?v=1782271729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a114f752888f2e87a7e846395c6e74677c890a72_10c5f903-d560-4e8c-9b78-9b137cd50222.webp?v=1749522226","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab95b357293964676fb061d3436751224571c64d_6d57ad0e-56dc-43a0-af2f-4b50db5a0ac8.webp?v=1768793700","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7648f1be4ae6bb963441b1c2af04dc16a9b5225e_ac255a39-f35e-42d1-bb2a-2335465a5fe0.webp?v=1768793701","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64199aa02a929c6604ee2c559a2876f0e96f89eb_c9e8655b-831f-4363-98fd-073bd5b5f840.webp?v=1768793701","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e06130bc1026006e8ce5823fb9e6e35bf4ca34e9_f463924f-d4d6-448f-947f-3629267b1e3f.webp?v=1768793702","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e06130bc1026006e8ce5823fb9e6e35bf4ca34e9_bbc27f41-6c07-4c88-b45f-88c2b36001b6.webp?v=1782271728","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7648f1be4ae6bb963441b1c2af04dc16a9b5225e_feb19ec8-4c78-4c23-9beb-f78937ccdc63.webp?v=1782271729","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64199aa02a929c6604ee2c559a2876f0e96f89eb_6b7c144c-4974-4a65-ae84-5099c36d3313.webp?v=1782271730"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a114f752888f2e87a7e846395c6e74677c890a72_10c5f903-d560-4e8c-9b78-9b137cd50222.webp?v=1749522226","options":["color"],"media":[{"alt":null,"id":25685173076067,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a114f752888f2e87a7e846395c6e74677c890a72_10c5f903-d560-4e8c-9b78-9b137cd50222.webp?v=1749522226"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a114f752888f2e87a7e846395c6e74677c890a72_10c5f903-d560-4e8c-9b78-9b137cd50222.webp?v=1749522226","width":2000},{"alt":null,"id":26675109920867,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab95b357293964676fb061d3436751224571c64d_6d57ad0e-56dc-43a0-af2f-4b50db5a0ac8.webp?v=1768793700"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab95b357293964676fb061d3436751224571c64d_6d57ad0e-56dc-43a0-af2f-4b50db5a0ac8.webp?v=1768793700","width":2000},{"alt":null,"id":26675110576227,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7648f1be4ae6bb963441b1c2af04dc16a9b5225e_ac255a39-f35e-42d1-bb2a-2335465a5fe0.webp?v=1768793701"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7648f1be4ae6bb963441b1c2af04dc16a9b5225e_ac255a39-f35e-42d1-bb2a-2335465a5fe0.webp?v=1768793701","width":2000},{"alt":null,"id":26675111231587,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64199aa02a929c6604ee2c559a2876f0e96f89eb_c9e8655b-831f-4363-98fd-073bd5b5f840.webp?v=1768793701"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64199aa02a929c6604ee2c559a2876f0e96f89eb_c9e8655b-831f-4363-98fd-073bd5b5f840.webp?v=1768793701","width":2000},{"alt":null,"id":26675111624803,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e06130bc1026006e8ce5823fb9e6e35bf4ca34e9_f463924f-d4d6-448f-947f-3629267b1e3f.webp?v=1768793702"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e06130bc1026006e8ce5823fb9e6e35bf4ca34e9_f463924f-d4d6-448f-947f-3629267b1e3f.webp?v=1768793702","width":2000},{"alt":null,"id":27589543985251,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e06130bc1026006e8ce5823fb9e6e35bf4ca34e9_bbc27f41-6c07-4c88-b45f-88c2b36001b6.webp?v=1782271728"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e06130bc1026006e8ce5823fb9e6e35bf4ca34e9_bbc27f41-6c07-4c88-b45f-88c2b36001b6.webp?v=1782271728","width":2000},{"alt":null,"id":27589544607843,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7648f1be4ae6bb963441b1c2af04dc16a9b5225e_feb19ec8-4c78-4c23-9beb-f78937ccdc63.webp?v=1782271729"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7648f1be4ae6bb963441b1c2af04dc16a9b5225e_feb19ec8-4c78-4c23-9beb-f78937ccdc63.webp?v=1782271729","width":2000},{"alt":null,"id":27589545066595,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64199aa02a929c6604ee2c559a2876f0e96f89eb_6b7c144c-4974-4a65-ae84-5099c36d3313.webp?v=1782271730"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64199aa02a929c6604ee2c559a2876f0e96f89eb_6b7c144c-4974-4a65-ae84-5099c36d3313.webp?v=1782271730","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43440173187171,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-SF43","requires_shipping":true,"taxable":true,"featured_image":{"id":36080407380067,"product_id":7814674743395,"position":6,"created_at":"2026-06-24T11:28:46+08:00","updated_at":"2026-06-24T11:28:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e06130bc1026006e8ce5823fb9e6e35bf4ca34e9_bbc27f41-6c07-4c88-b45f-88c2b36001b6.webp?v=1782271728","variant_ids":[43440173187171]},"available":true,"name":"iPhone 14 Clear 迪士尼公主系列 公主角色集合 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600G-SF43","featured_media":{"alt":null,"id":27589543985251,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e06130bc1026006e8ce5823fb9e6e35bf4ca34e9_bbc27f41-6c07-4c88-b45f-88c2b36001b6.webp?v=1782271728"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43440175710307,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-SF43","requires_shipping":true,"taxable":true,"featured_image":{"id":36080408494179,"product_id":7814674743395,"position":8,"created_at":"2026-06-24T11:28:48+08:00","updated_at":"2026-06-24T11:28:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64199aa02a929c6604ee2c559a2876f0e96f89eb_6b7c144c-4974-4a65-ae84-5099c36d3313.webp?v=1782271730","variant_ids":[43440175710307]},"available":true,"name":"iPhone 14 Clear 迪士尼公主系列 公主角色集合 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600J-SF43","featured_media":{"alt":null,"id":27589545066595,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64199aa02a929c6604ee2c559a2876f0e96f89eb_6b7c144c-4974-4a65-ae84-5099c36d3313.webp?v=1782271730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43440175775843,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-SF43","requires_shipping":true,"taxable":true,"featured_image":{"id":36080407937123,"product_id":7814674743395,"position":7,"created_at":"2026-06-24T11:28:47+08:00","updated_at":"2026-06-24T11:28:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7648f1be4ae6bb963441b1c2af04dc16a9b5225e_feb19ec8-4c78-4c23-9beb-f78937ccdc63.webp?v=1782271729","variant_ids":[43440175775843]},"available":true,"name":"iPhone 14 Clear 迪士尼公主系列 公主角色集合 - Cyber Blue","public_title":"Cyber Blue","options":["Cyber Blue"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600I-SF43","featured_media":{"alt":null,"id":27589544607843,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7648f1be4ae6bb963441b1c2af04dc16a9b5225e_feb19ec8-4c78-4c23-9beb-f78937ccdc63.webp?v=1782271729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43440173187171,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-SF43","requires_shipping":true,"taxable":true,"featured_image":{"id":36080407380067,"product_id":7814674743395,"position":6,"created_at":"2026-06-24T11:28:46+08:00","updated_at":"2026-06-24T11:28:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e06130bc1026006e8ce5823fb9e6e35bf4ca34e9_bbc27f41-6c07-4c88-b45f-88c2b36001b6.webp?v=1782271728","variant_ids":[43440173187171]},"available":true,"name":"iPhone 14 Clear 迪士尼公主系列 公主角色集合 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":128000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012600G-SF43","featured_media":{"alt":null,"id":27589543985251,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e06130bc1026006e8ce5823fb9e6e35bf4ca34e9_bbc27f41-6c07-4c88-b45f-88c2b36001b6.webp?v=1782271728"}},"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: "停產" }