$product = {"id":7808453378147,"title":"iPhone 14 Clear 迪士尼-皮克斯 腦筋急轉彎 - 憂憂","handle":"iphone-14-jellytint-pd49","description":null,"published_at":"2025-06-05T10:37:53+08:00","created_at":"2025-06-03T10:01:11+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師JellyTint專區-迪士尼-皮克斯 PIXAR","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-pixar","device-iPhone 14","merge","reseller-pixar"],"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":43417301385315,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-PD49","requires_shipping":true,"taxable":true,"featured_image":{"id":36131918905443,"product_id":7808453378147,"position":4,"created_at":"2026-06-30T15:53:50+08:00","updated_at":"2026-06-30T15:53:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ecbf7c362534cf91d9a7292ea32218b69df96c2_4835854c-2520-4a18-b160-95c80d46ed2f.webp?v=1782806033","variant_ids":[43417301385315]},"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-PD49","featured_media":{"alt":null,"id":27636865925219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ecbf7c362534cf91d9a7292ea32218b69df96c2_4835854c-2520-4a18-b160-95c80d46ed2f.webp?v=1782806033"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43417302794339,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-PD49","requires_shipping":true,"taxable":true,"featured_image":{"id":36131918643299,"product_id":7808453378147,"position":2,"created_at":"2026-06-30T15:53:49+08:00","updated_at":"2026-06-30T15:53:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a50edf87b2fb094306d1e5915440714f82fd1b07_6083d377-6332-4fec-a8b9-6894ce178134.webp?v=1782806031","variant_ids":[43417302794339]},"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-PD49","featured_media":{"alt":null,"id":27636865663075,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a50edf87b2fb094306d1e5915440714f82fd1b07_6083d377-6332-4fec-a8b9-6894ce178134.webp?v=1782806031"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43417302827107,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-PD49","requires_shipping":true,"taxable":true,"featured_image":{"id":36131918839907,"product_id":7808453378147,"position":3,"created_at":"2026-06-30T15:53:50+08:00","updated_at":"2026-06-30T15:53:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7247463547e7b2c156d58ceb72482cc3e62725c9_25d9041a-59ec-4b9c-85f4-91fc558ceaff.webp?v=1782806032","variant_ids":[43417302827107]},"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-PD49","featured_media":{"alt":null,"id":27636865859683,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7247463547e7b2c156d58ceb72482cc3e62725c9_25d9041a-59ec-4b9c-85f4-91fc558ceaff.webp?v=1782806032"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/734093ebc2dfe0a08774a78d56f0e7b604c77bda_1c93e9d2-cfbe-41d6-9a3d-9a44dc388c14.webp?v=1748916078","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a50edf87b2fb094306d1e5915440714f82fd1b07_6083d377-6332-4fec-a8b9-6894ce178134.webp?v=1782806031","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7247463547e7b2c156d58ceb72482cc3e62725c9_25d9041a-59ec-4b9c-85f4-91fc558ceaff.webp?v=1782806032","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ecbf7c362534cf91d9a7292ea32218b69df96c2_4835854c-2520-4a18-b160-95c80d46ed2f.webp?v=1782806033"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/734093ebc2dfe0a08774a78d56f0e7b604c77bda_1c93e9d2-cfbe-41d6-9a3d-9a44dc388c14.webp?v=1748916078","options":["color"],"media":[{"alt":null,"id":25660112076899,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/734093ebc2dfe0a08774a78d56f0e7b604c77bda_1c93e9d2-cfbe-41d6-9a3d-9a44dc388c14.webp?v=1748916078"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/734093ebc2dfe0a08774a78d56f0e7b604c77bda_1c93e9d2-cfbe-41d6-9a3d-9a44dc388c14.webp?v=1748916078","width":2000},{"alt":null,"id":27636865663075,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a50edf87b2fb094306d1e5915440714f82fd1b07_6083d377-6332-4fec-a8b9-6894ce178134.webp?v=1782806031"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a50edf87b2fb094306d1e5915440714f82fd1b07_6083d377-6332-4fec-a8b9-6894ce178134.webp?v=1782806031","width":2000},{"alt":null,"id":27636865859683,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7247463547e7b2c156d58ceb72482cc3e62725c9_25d9041a-59ec-4b9c-85f4-91fc558ceaff.webp?v=1782806032"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7247463547e7b2c156d58ceb72482cc3e62725c9_25d9041a-59ec-4b9c-85f4-91fc558ceaff.webp?v=1782806032","width":2000},{"alt":null,"id":27636865925219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ecbf7c362534cf91d9a7292ea32218b69df96c2_4835854c-2520-4a18-b160-95c80d46ed2f.webp?v=1782806033"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ecbf7c362534cf91d9a7292ea32218b69df96c2_4835854c-2520-4a18-b160-95c80d46ed2f.webp?v=1782806033","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43417301385315,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-PD49","requires_shipping":true,"taxable":true,"featured_image":{"id":36131918905443,"product_id":7808453378147,"position":4,"created_at":"2026-06-30T15:53:50+08:00","updated_at":"2026-06-30T15:53:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ecbf7c362534cf91d9a7292ea32218b69df96c2_4835854c-2520-4a18-b160-95c80d46ed2f.webp?v=1782806033","variant_ids":[43417301385315]},"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-PD49","featured_media":{"alt":null,"id":27636865925219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ecbf7c362534cf91d9a7292ea32218b69df96c2_4835854c-2520-4a18-b160-95c80d46ed2f.webp?v=1782806033"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43417302794339,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-PD49","requires_shipping":true,"taxable":true,"featured_image":{"id":36131918643299,"product_id":7808453378147,"position":2,"created_at":"2026-06-30T15:53:49+08:00","updated_at":"2026-06-30T15:53:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a50edf87b2fb094306d1e5915440714f82fd1b07_6083d377-6332-4fec-a8b9-6894ce178134.webp?v=1782806031","variant_ids":[43417302794339]},"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-PD49","featured_media":{"alt":null,"id":27636865663075,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a50edf87b2fb094306d1e5915440714f82fd1b07_6083d377-6332-4fec-a8b9-6894ce178134.webp?v=1782806031"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43417302827107,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-PD49","requires_shipping":true,"taxable":true,"featured_image":{"id":36131918839907,"product_id":7808453378147,"position":3,"created_at":"2026-06-30T15:53:50+08:00","updated_at":"2026-06-30T15:53:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7247463547e7b2c156d58ceb72482cc3e62725c9_25d9041a-59ec-4b9c-85f4-91fc558ceaff.webp?v=1782806032","variant_ids":[43417302827107]},"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-PD49","featured_media":{"alt":null,"id":27636865859683,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7247463547e7b2c156d58ceb72482cc3e62725c9_25d9041a-59ec-4b9c-85f4-91fc558ceaff.webp?v=1782806032"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43417301385315,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-PD49","requires_shipping":true,"taxable":true,"featured_image":{"id":36131918905443,"product_id":7808453378147,"position":4,"created_at":"2026-06-30T15:53:50+08:00","updated_at":"2026-06-30T15:53:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ecbf7c362534cf91d9a7292ea32218b69df96c2_4835854c-2520-4a18-b160-95c80d46ed2f.webp?v=1782806033","variant_ids":[43417301385315]},"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-PD49","featured_media":{"alt":null,"id":27636865925219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ecbf7c362534cf91d9a7292ea32218b69df96c2_4835854c-2520-4a18-b160-95c80d46ed2f.webp?v=1782806033"}},"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: "停產" }