$product = {"id":7920474620003,"title":"iPhone 15 Plus Clear 咒術迴戰 澀谷事變戰鬥系列-釘崎野薔薇","handle":"iphone-15-plus-jellytint-ptt14","description":null,"published_at":"2025-11-10T16:42:04+08:00","created_at":"2025-11-10T14:52:47+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-jujutsu-kaisen","device-iPhone 15 Plus","merge","reseller-jujutsu-kaisen"],"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":43828707819619,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012960J-PTT14","requires_shipping":true,"taxable":true,"featured_image":{"id":36125138911331,"product_id":7920474620003,"position":11,"created_at":"2026-06-29T15:41:51+08:00","updated_at":"2026-06-29T15:41:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513627fdc266d65a4b1043b57fb89bb41c11ede3_30dca00c-6c7c-4455-aa56-b2b900b44ccd.webp?v=1782718913","variant_ids":[43828707819619]},"available":true,"name":"iPhone 15 Plus 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":"CCN012960J-PTT14","featured_media":{"alt":null,"id":27630381727843,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513627fdc266d65a4b1043b57fb89bb41c11ede3_30dca00c-6c7c-4455-aa56-b2b900b44ccd.webp?v=1782718913"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828712407139,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012960I-PTT14","requires_shipping":true,"taxable":true,"featured_image":{"id":36125138583651,"product_id":7920474620003,"position":10,"created_at":"2026-06-29T15:41:50+08:00","updated_at":"2026-06-29T15:41:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b1014f431b256aa2e39d54ea62af9a4d2e449b2_a9f0048a-f732-4a19-a4e5-db8bf7b7633c.webp?v=1782718912","variant_ids":[43828712407139]},"available":true,"name":"iPhone 15 Plus 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":"CCN012960I-PTT14","featured_media":{"alt":null,"id":27630381400163,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b1014f431b256aa2e39d54ea62af9a4d2e449b2_a9f0048a-f732-4a19-a4e5-db8bf7b7633c.webp?v=1782718912"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513627fdc266d65a4b1043b57fb89bb41c11ede3.webp?v=1762757574","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a98b772114fa817d826edddfddb5e1da56c12ac3.webp?v=1762757574","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b1014f431b256aa2e39d54ea62af9a4d2e449b2.webp?v=1762757575","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513627fdc266d65a4b1043b57fb89bb41c11ede3_a4044f2a-1727-4794-983d-c09b03007ade.webp?v=1782266106","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a98b772114fa817d826edddfddb5e1da56c12ac3_1e3055d9-8d55-42a2-a51f-8c6c890a86a9.webp?v=1782266106","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b1014f431b256aa2e39d54ea62af9a4d2e449b2_6a3035cc-fb0c-42fc-8769-a3b56f1361be.webp?v=1782266107","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513627fdc266d65a4b1043b57fb89bb41c11ede3_6cb4d5ff-e62d-471d-9403-2131e99ed8c4.webp?v=1782291709","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a98b772114fa817d826edddfddb5e1da56c12ac3_656e7f74-7363-4170-bd61-44a3477f0d30.webp?v=1782291713","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b1014f431b256aa2e39d54ea62af9a4d2e449b2_b7faa2a0-a2de-4d26-ad1f-be254ff012e7.webp?v=1782291715","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b1014f431b256aa2e39d54ea62af9a4d2e449b2_a9f0048a-f732-4a19-a4e5-db8bf7b7633c.webp?v=1782718912","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513627fdc266d65a4b1043b57fb89bb41c11ede3_30dca00c-6c7c-4455-aa56-b2b900b44ccd.webp?v=1782718913"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513627fdc266d65a4b1043b57fb89bb41c11ede3.webp?v=1762757574","options":["color"],"media":[{"alt":null,"id":26347635507299,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513627fdc266d65a4b1043b57fb89bb41c11ede3.webp?v=1762757574"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513627fdc266d65a4b1043b57fb89bb41c11ede3.webp?v=1762757574","width":2000},{"alt":null,"id":26347635769443,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a98b772114fa817d826edddfddb5e1da56c12ac3.webp?v=1762757574"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a98b772114fa817d826edddfddb5e1da56c12ac3.webp?v=1762757574","width":2000},{"alt":null,"id":26347636064355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b1014f431b256aa2e39d54ea62af9a4d2e449b2.webp?v=1762757575"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b1014f431b256aa2e39d54ea62af9a4d2e449b2.webp?v=1762757575","width":2000},{"alt":null,"id":27587394732131,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513627fdc266d65a4b1043b57fb89bb41c11ede3_a4044f2a-1727-4794-983d-c09b03007ade.webp?v=1782266106"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513627fdc266d65a4b1043b57fb89bb41c11ede3_a4044f2a-1727-4794-983d-c09b03007ade.webp?v=1782266106","width":2000},{"alt":null,"id":27587395190883,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a98b772114fa817d826edddfddb5e1da56c12ac3_1e3055d9-8d55-42a2-a51f-8c6c890a86a9.webp?v=1782266106"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a98b772114fa817d826edddfddb5e1da56c12ac3_1e3055d9-8d55-42a2-a51f-8c6c890a86a9.webp?v=1782266106","width":2000},{"alt":null,"id":27587395387491,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b1014f431b256aa2e39d54ea62af9a4d2e449b2_6a3035cc-fb0c-42fc-8769-a3b56f1361be.webp?v=1782266107"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b1014f431b256aa2e39d54ea62af9a4d2e449b2_6a3035cc-fb0c-42fc-8769-a3b56f1361be.webp?v=1782266107","width":2000},{"alt":null,"id":27594712580195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513627fdc266d65a4b1043b57fb89bb41c11ede3_6cb4d5ff-e62d-471d-9403-2131e99ed8c4.webp?v=1782291709"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513627fdc266d65a4b1043b57fb89bb41c11ede3_6cb4d5ff-e62d-471d-9403-2131e99ed8c4.webp?v=1782291709","width":2000},{"alt":null,"id":27594713956451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a98b772114fa817d826edddfddb5e1da56c12ac3_656e7f74-7363-4170-bd61-44a3477f0d30.webp?v=1782291713"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a98b772114fa817d826edddfddb5e1da56c12ac3_656e7f74-7363-4170-bd61-44a3477f0d30.webp?v=1782291713","width":2000},{"alt":null,"id":27594714873955,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b1014f431b256aa2e39d54ea62af9a4d2e449b2_b7faa2a0-a2de-4d26-ad1f-be254ff012e7.webp?v=1782291715"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b1014f431b256aa2e39d54ea62af9a4d2e449b2_b7faa2a0-a2de-4d26-ad1f-be254ff012e7.webp?v=1782291715","width":2000},{"alt":null,"id":27630381400163,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b1014f431b256aa2e39d54ea62af9a4d2e449b2_a9f0048a-f732-4a19-a4e5-db8bf7b7633c.webp?v=1782718912"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b1014f431b256aa2e39d54ea62af9a4d2e449b2_a9f0048a-f732-4a19-a4e5-db8bf7b7633c.webp?v=1782718912","width":2000},{"alt":null,"id":27630381727843,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513627fdc266d65a4b1043b57fb89bb41c11ede3_30dca00c-6c7c-4455-aa56-b2b900b44ccd.webp?v=1782718913"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513627fdc266d65a4b1043b57fb89bb41c11ede3_30dca00c-6c7c-4455-aa56-b2b900b44ccd.webp?v=1782718913","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43828707819619,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012960J-PTT14","requires_shipping":true,"taxable":true,"featured_image":{"id":36125138911331,"product_id":7920474620003,"position":11,"created_at":"2026-06-29T15:41:51+08:00","updated_at":"2026-06-29T15:41:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513627fdc266d65a4b1043b57fb89bb41c11ede3_30dca00c-6c7c-4455-aa56-b2b900b44ccd.webp?v=1782718913","variant_ids":[43828707819619]},"available":true,"name":"iPhone 15 Plus 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":"CCN012960J-PTT14","featured_media":{"alt":null,"id":27630381727843,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513627fdc266d65a4b1043b57fb89bb41c11ede3_30dca00c-6c7c-4455-aa56-b2b900b44ccd.webp?v=1782718913"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828712407139,"title":"Cyber Blue","option1":"Cyber Blue","option2":null,"option3":null,"sku":"CCN012960I-PTT14","requires_shipping":true,"taxable":true,"featured_image":{"id":36125138583651,"product_id":7920474620003,"position":10,"created_at":"2026-06-29T15:41:50+08:00","updated_at":"2026-06-29T15:41:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b1014f431b256aa2e39d54ea62af9a4d2e449b2_a9f0048a-f732-4a19-a4e5-db8bf7b7633c.webp?v=1782718912","variant_ids":[43828712407139]},"available":true,"name":"iPhone 15 Plus 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":"CCN012960I-PTT14","featured_media":{"alt":null,"id":27630381400163,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b1014f431b256aa2e39d54ea62af9a4d2e449b2_a9f0048a-f732-4a19-a4e5-db8bf7b7633c.webp?v=1782718912"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43828707819619,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"CCN012960J-PTT14","requires_shipping":true,"taxable":true,"featured_image":{"id":36125138911331,"product_id":7920474620003,"position":11,"created_at":"2026-06-29T15:41:51+08:00","updated_at":"2026-06-29T15:41:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513627fdc266d65a4b1043b57fb89bb41c11ede3_30dca00c-6c7c-4455-aa56-b2b900b44ccd.webp?v=1782718913","variant_ids":[43828707819619]},"available":true,"name":"iPhone 15 Plus 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":"CCN012960J-PTT14","featured_media":{"alt":null,"id":27630381727843,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/513627fdc266d65a4b1043b57fb89bb41c11ede3_30dca00c-6c7c-4455-aa56-b2b900b44ccd.webp?v=1782718913"}},"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: "停產" }