$product = {"id":7928160288867,"title":"iPhone 13 Clear Doraemon 哆啦A夢 打瞌睡","handle":"iphone-13-jellytint-yr28","description":null,"published_at":"2025-11-26T09:31:40+08:00","created_at":"2025-11-25T11:20:35+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-doraemon","device-iPhone 13","merge","reseller-doraemon"],"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":43853324615779,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-YR28","requires_shipping":true,"taxable":true,"featured_image":{"id":36084400357475,"product_id":7928160288867,"position":9,"created_at":"2026-06-24T16:02:03+08:00","updated_at":"2026-06-24T16:02:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae835cdc343fc93de3f98955bc0b1c904a83f3e0_2ed56ec8-e8c8-4424-8f0b-89d79cc79b22.webp?v=1782288125","variant_ids":[43853324615779]},"available":true,"name":"iPhone 13 Clear Doraemon 哆啦A夢 打瞌睡 - 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-YR28","featured_media":{"alt":null,"id":27593530409059,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae835cdc343fc93de3f98955bc0b1c904a83f3e0_2ed56ec8-e8c8-4424-8f0b-89d79cc79b22.webp?v=1782288125"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43853326418019,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-YR28","requires_shipping":true,"taxable":true,"featured_image":{"id":36084400029795,"product_id":7928160288867,"position":8,"created_at":"2026-06-24T16:02:02+08:00","updated_at":"2026-06-24T16:02:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c27f6322cf31225fe0d84c3097d5b3bcdcf46985_fbbafe16-5b6c-46ae-bb5e-8f482d2dfe43.webp?v=1782288124","variant_ids":[43853326418019]},"available":true,"name":"iPhone 13 Clear Doraemon 哆啦A夢 打瞌睡 - 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-YR28","featured_media":{"alt":null,"id":27593530310755,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c27f6322cf31225fe0d84c3097d5b3bcdcf46985_fbbafe16-5b6c-46ae-bb5e-8f482d2dfe43.webp?v=1782288124"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43853326450787,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-YR28","requires_shipping":true,"taxable":true,"featured_image":{"id":36084400455779,"product_id":7928160288867,"position":10,"created_at":"2026-06-24T16:02:03+08:00","updated_at":"2026-06-24T16:02:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b4c6391340e08a892fd2cee2c9722ecb6cb83c_0ae155e0-2807-4286-921e-35e589ff49a8.webp?v=1782288125","variant_ids":[43853326450787]},"available":true,"name":"iPhone 13 Clear Doraemon 哆啦A夢 打瞌睡 - 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-YR28","featured_media":{"alt":null,"id":27593530736739,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b4c6391340e08a892fd2cee2c9722ecb6cb83c_0ae155e0-2807-4286-921e-35e589ff49a8.webp?v=1782288125"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae835cdc343fc93de3f98955bc0b1c904a83f3e0.webp?v=1764040840","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55b86400604f2842945e314b8d47a97c037a5880.webp?v=1764040841","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b4c6391340e08a892fd2cee2c9722ecb6cb83c.webp?v=1764040842","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c27f6322cf31225fe0d84c3097d5b3bcdcf46985.webp?v=1764040842","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c27f6322cf31225fe0d84c3097d5b3bcdcf46985_dc470dac-c9ee-4480-8bda-7ea5a23182ac.webp?v=1782265100","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae835cdc343fc93de3f98955bc0b1c904a83f3e0_d9f90b46-d602-4096-91f8-fcfa8b9dcc82.webp?v=1782265101","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b4c6391340e08a892fd2cee2c9722ecb6cb83c_85ffe860-5a5f-442b-9c7f-6a0fcb3e5eea.webp?v=1782265102","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c27f6322cf31225fe0d84c3097d5b3bcdcf46985_fbbafe16-5b6c-46ae-bb5e-8f482d2dfe43.webp?v=1782288124","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae835cdc343fc93de3f98955bc0b1c904a83f3e0_2ed56ec8-e8c8-4424-8f0b-89d79cc79b22.webp?v=1782288125","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b4c6391340e08a892fd2cee2c9722ecb6cb83c_0ae155e0-2807-4286-921e-35e589ff49a8.webp?v=1782288125"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae835cdc343fc93de3f98955bc0b1c904a83f3e0.webp?v=1764040840","options":["color"],"media":[{"alt":null,"id":26403066904675,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae835cdc343fc93de3f98955bc0b1c904a83f3e0.webp?v=1764040840"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae835cdc343fc93de3f98955bc0b1c904a83f3e0.webp?v=1764040840","width":2000},{"alt":null,"id":26403067035747,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55b86400604f2842945e314b8d47a97c037a5880.webp?v=1764040841"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55b86400604f2842945e314b8d47a97c037a5880.webp?v=1764040841","width":2000},{"alt":null,"id":26403067068515,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b4c6391340e08a892fd2cee2c9722ecb6cb83c.webp?v=1764040842"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b4c6391340e08a892fd2cee2c9722ecb6cb83c.webp?v=1764040842","width":2000},{"alt":null,"id":26403067232355,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c27f6322cf31225fe0d84c3097d5b3bcdcf46985.webp?v=1764040842"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c27f6322cf31225fe0d84c3097d5b3bcdcf46985.webp?v=1764040842","width":2000},{"alt":null,"id":27586960752739,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c27f6322cf31225fe0d84c3097d5b3bcdcf46985_dc470dac-c9ee-4480-8bda-7ea5a23182ac.webp?v=1782265100"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c27f6322cf31225fe0d84c3097d5b3bcdcf46985_dc470dac-c9ee-4480-8bda-7ea5a23182ac.webp?v=1782265100","width":2000},{"alt":null,"id":27586961440867,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae835cdc343fc93de3f98955bc0b1c904a83f3e0_d9f90b46-d602-4096-91f8-fcfa8b9dcc82.webp?v=1782265101"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae835cdc343fc93de3f98955bc0b1c904a83f3e0_d9f90b46-d602-4096-91f8-fcfa8b9dcc82.webp?v=1782265101","width":2000},{"alt":null,"id":27586962358371,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b4c6391340e08a892fd2cee2c9722ecb6cb83c_85ffe860-5a5f-442b-9c7f-6a0fcb3e5eea.webp?v=1782265102"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b4c6391340e08a892fd2cee2c9722ecb6cb83c_85ffe860-5a5f-442b-9c7f-6a0fcb3e5eea.webp?v=1782265102","width":2000},{"alt":null,"id":27593530310755,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c27f6322cf31225fe0d84c3097d5b3bcdcf46985_fbbafe16-5b6c-46ae-bb5e-8f482d2dfe43.webp?v=1782288124"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c27f6322cf31225fe0d84c3097d5b3bcdcf46985_fbbafe16-5b6c-46ae-bb5e-8f482d2dfe43.webp?v=1782288124","width":2000},{"alt":null,"id":27593530409059,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae835cdc343fc93de3f98955bc0b1c904a83f3e0_2ed56ec8-e8c8-4424-8f0b-89d79cc79b22.webp?v=1782288125"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae835cdc343fc93de3f98955bc0b1c904a83f3e0_2ed56ec8-e8c8-4424-8f0b-89d79cc79b22.webp?v=1782288125","width":2000},{"alt":null,"id":27593530736739,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b4c6391340e08a892fd2cee2c9722ecb6cb83c_0ae155e0-2807-4286-921e-35e589ff49a8.webp?v=1782288125"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b4c6391340e08a892fd2cee2c9722ecb6cb83c_0ae155e0-2807-4286-921e-35e589ff49a8.webp?v=1782288125","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43853324615779,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-YR28","requires_shipping":true,"taxable":true,"featured_image":{"id":36084400357475,"product_id":7928160288867,"position":9,"created_at":"2026-06-24T16:02:03+08:00","updated_at":"2026-06-24T16:02:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae835cdc343fc93de3f98955bc0b1c904a83f3e0_2ed56ec8-e8c8-4424-8f0b-89d79cc79b22.webp?v=1782288125","variant_ids":[43853324615779]},"available":true,"name":"iPhone 13 Clear Doraemon 哆啦A夢 打瞌睡 - 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-YR28","featured_media":{"alt":null,"id":27593530409059,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae835cdc343fc93de3f98955bc0b1c904a83f3e0_2ed56ec8-e8c8-4424-8f0b-89d79cc79b22.webp?v=1782288125"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43853326418019,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012600I-YR28","requires_shipping":true,"taxable":true,"featured_image":{"id":36084400029795,"product_id":7928160288867,"position":8,"created_at":"2026-06-24T16:02:02+08:00","updated_at":"2026-06-24T16:02:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c27f6322cf31225fe0d84c3097d5b3bcdcf46985_fbbafe16-5b6c-46ae-bb5e-8f482d2dfe43.webp?v=1782288124","variant_ids":[43853326418019]},"available":true,"name":"iPhone 13 Clear Doraemon 哆啦A夢 打瞌睡 - 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-YR28","featured_media":{"alt":null,"id":27593530310755,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c27f6322cf31225fe0d84c3097d5b3bcdcf46985_fbbafe16-5b6c-46ae-bb5e-8f482d2dfe43.webp?v=1782288124"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43853326450787,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"CCN012600G-YR28","requires_shipping":true,"taxable":true,"featured_image":{"id":36084400455779,"product_id":7928160288867,"position":10,"created_at":"2026-06-24T16:02:03+08:00","updated_at":"2026-06-24T16:02:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b4c6391340e08a892fd2cee2c9722ecb6cb83c_0ae155e0-2807-4286-921e-35e589ff49a8.webp?v=1782288125","variant_ids":[43853326450787]},"available":true,"name":"iPhone 13 Clear Doraemon 哆啦A夢 打瞌睡 - 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-YR28","featured_media":{"alt":null,"id":27593530736739,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8b4c6391340e08a892fd2cee2c9722ecb6cb83c_0ae155e0-2807-4286-921e-35e589ff49a8.webp?v=1782288125"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43853324615779,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012600J-YR28","requires_shipping":true,"taxable":true,"featured_image":{"id":36084400357475,"product_id":7928160288867,"position":9,"created_at":"2026-06-24T16:02:03+08:00","updated_at":"2026-06-24T16:02:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae835cdc343fc93de3f98955bc0b1c904a83f3e0_2ed56ec8-e8c8-4424-8f0b-89d79cc79b22.webp?v=1782288125","variant_ids":[43853324615779]},"available":true,"name":"iPhone 13 Clear Doraemon 哆啦A夢 打瞌睡 - 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-YR28","featured_media":{"alt":null,"id":27593530409059,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae835cdc343fc93de3f98955bc0b1c904a83f3e0_2ed56ec8-e8c8-4424-8f0b-89d79cc79b22.webp?v=1782288125"}},"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: "停產" }