$product = {"id":7920217423971,"title":"iPhone 15 Clear (MagSafe 兼容) Incrediville 怪奇事物所 所長的營火晚會","handle":"iphone-15-jellytint-magsafe-hd67","description":null,"published_at":"2025-11-13T09:53:45+08:00","created_at":"2025-11-10T10:13:08+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-incrediville","device-iPhone 15","merge","reseller-incrediville"],"price":135000,"price_min":135000,"price_max":135000,"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":43827951665251,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-HD67","requires_shipping":true,"taxable":true,"featured_image":{"id":34785894662243,"product_id":7920217423971,"position":8,"created_at":"2025-11-11T09:33:02+08:00","updated_at":"2025-11-11T09:33:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240379e608247fa339d37d63b4c0bf7e1262c025_4729420f-1268-48d6-9c87-373ad6ab3c7a.webp?v=1762824785","variant_ids":[43827951665251]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) Incrediville 怪奇事物所 所長的營火晚會 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950J-HD67","featured_media":{"alt":null,"id":26351351824483,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240379e608247fa339d37d63b4c0bf7e1262c025_4729420f-1268-48d6-9c87-373ad6ab3c7a.webp?v=1762824785"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43827953139811,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012950G-HD67","requires_shipping":true,"taxable":true,"featured_image":{"id":34785893843043,"product_id":7920217423971,"position":5,"created_at":"2025-11-11T09:33:00+08:00","updated_at":"2025-11-11T09:33:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af2b1e7fa9438c98ae88e0da3d4ae751cd54f8a2_722da346-2e65-42fb-b806-3059045a0321.webp?v=1762824783","variant_ids":[43827953139811]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) Incrediville 怪奇事物所 所長的營火晚會 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950G-HD67","featured_media":{"alt":null,"id":26351351005283,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af2b1e7fa9438c98ae88e0da3d4ae751cd54f8a2_722da346-2e65-42fb-b806-3059045a0321.webp?v=1762824783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43827953172579,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MCN012950H-HD67","requires_shipping":true,"taxable":true,"featured_image":{"id":34785894072419,"product_id":7920217423971,"position":6,"created_at":"2025-11-11T09:33:01+08:00","updated_at":"2025-11-11T09:33:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eb497b0a17185642d6596bf9bc1d1b5beb43ce0_626e6e85-8f4e-4446-80a8-ec33a3d20530.webp?v=1762824783","variant_ids":[43827953172579]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) Incrediville 怪奇事物所 所長的營火晚會 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950H-HD67","featured_media":{"alt":null,"id":26351351332963,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eb497b0a17185642d6596bf9bc1d1b5beb43ce0_626e6e85-8f4e-4446-80a8-ec33a3d20530.webp?v=1762824783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b24b923b7a2fac5d87a2e0d82a443275edc9f8b.webp?v=1762740794","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240379e608247fa339d37d63b4c0bf7e1262c025.webp?v=1762740795","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eb497b0a17185642d6596bf9bc1d1b5beb43ce0.webp?v=1762740795","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af2b1e7fa9438c98ae88e0da3d4ae751cd54f8a2.webp?v=1762740796","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af2b1e7fa9438c98ae88e0da3d4ae751cd54f8a2_722da346-2e65-42fb-b806-3059045a0321.webp?v=1762824783","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eb497b0a17185642d6596bf9bc1d1b5beb43ce0_626e6e85-8f4e-4446-80a8-ec33a3d20530.webp?v=1762824783","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b24b923b7a2fac5d87a2e0d82a443275edc9f8b_003d1cac-d583-4973-99fa-fea211dfd16d.webp?v=1762824784","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240379e608247fa339d37d63b4c0bf7e1262c025_4729420f-1268-48d6-9c87-373ad6ab3c7a.webp?v=1762824785"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b24b923b7a2fac5d87a2e0d82a443275edc9f8b.webp?v=1762740794","options":["color"],"media":[{"alt":null,"id":26346453172323,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b24b923b7a2fac5d87a2e0d82a443275edc9f8b.webp?v=1762740794"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b24b923b7a2fac5d87a2e0d82a443275edc9f8b.webp?v=1762740794","width":2000},{"alt":null,"id":26346453401699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240379e608247fa339d37d63b4c0bf7e1262c025.webp?v=1762740795"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240379e608247fa339d37d63b4c0bf7e1262c025.webp?v=1762740795","width":2000},{"alt":null,"id":26346453631075,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eb497b0a17185642d6596bf9bc1d1b5beb43ce0.webp?v=1762740795"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eb497b0a17185642d6596bf9bc1d1b5beb43ce0.webp?v=1762740795","width":2000},{"alt":null,"id":26346453827683,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af2b1e7fa9438c98ae88e0da3d4ae751cd54f8a2.webp?v=1762740796"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af2b1e7fa9438c98ae88e0da3d4ae751cd54f8a2.webp?v=1762740796","width":2000},{"alt":null,"id":26351351005283,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af2b1e7fa9438c98ae88e0da3d4ae751cd54f8a2_722da346-2e65-42fb-b806-3059045a0321.webp?v=1762824783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af2b1e7fa9438c98ae88e0da3d4ae751cd54f8a2_722da346-2e65-42fb-b806-3059045a0321.webp?v=1762824783","width":2000},{"alt":null,"id":26351351332963,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eb497b0a17185642d6596bf9bc1d1b5beb43ce0_626e6e85-8f4e-4446-80a8-ec33a3d20530.webp?v=1762824783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eb497b0a17185642d6596bf9bc1d1b5beb43ce0_626e6e85-8f4e-4446-80a8-ec33a3d20530.webp?v=1762824783","width":2000},{"alt":null,"id":26351351562339,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b24b923b7a2fac5d87a2e0d82a443275edc9f8b_003d1cac-d583-4973-99fa-fea211dfd16d.webp?v=1762824784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b24b923b7a2fac5d87a2e0d82a443275edc9f8b_003d1cac-d583-4973-99fa-fea211dfd16d.webp?v=1762824784","width":2000},{"alt":null,"id":26351351824483,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240379e608247fa339d37d63b4c0bf7e1262c025_4729420f-1268-48d6-9c87-373ad6ab3c7a.webp?v=1762824785"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240379e608247fa339d37d63b4c0bf7e1262c025_4729420f-1268-48d6-9c87-373ad6ab3c7a.webp?v=1762824785","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43827951665251,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-HD67","requires_shipping":true,"taxable":true,"featured_image":{"id":34785894662243,"product_id":7920217423971,"position":8,"created_at":"2025-11-11T09:33:02+08:00","updated_at":"2025-11-11T09:33:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240379e608247fa339d37d63b4c0bf7e1262c025_4729420f-1268-48d6-9c87-373ad6ab3c7a.webp?v=1762824785","variant_ids":[43827951665251]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) Incrediville 怪奇事物所 所長的營火晚會 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950J-HD67","featured_media":{"alt":null,"id":26351351824483,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240379e608247fa339d37d63b4c0bf7e1262c025_4729420f-1268-48d6-9c87-373ad6ab3c7a.webp?v=1762824785"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43827953139811,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012950G-HD67","requires_shipping":true,"taxable":true,"featured_image":{"id":34785893843043,"product_id":7920217423971,"position":5,"created_at":"2025-11-11T09:33:00+08:00","updated_at":"2025-11-11T09:33:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af2b1e7fa9438c98ae88e0da3d4ae751cd54f8a2_722da346-2e65-42fb-b806-3059045a0321.webp?v=1762824783","variant_ids":[43827953139811]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) Incrediville 怪奇事物所 所長的營火晚會 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950G-HD67","featured_media":{"alt":null,"id":26351351005283,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af2b1e7fa9438c98ae88e0da3d4ae751cd54f8a2_722da346-2e65-42fb-b806-3059045a0321.webp?v=1762824783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43827953172579,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MCN012950H-HD67","requires_shipping":true,"taxable":true,"featured_image":{"id":34785894072419,"product_id":7920217423971,"position":6,"created_at":"2025-11-11T09:33:01+08:00","updated_at":"2025-11-11T09:33:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eb497b0a17185642d6596bf9bc1d1b5beb43ce0_626e6e85-8f4e-4446-80a8-ec33a3d20530.webp?v=1762824783","variant_ids":[43827953172579]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) Incrediville 怪奇事物所 所長的營火晚會 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950H-HD67","featured_media":{"alt":null,"id":26351351332963,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eb497b0a17185642d6596bf9bc1d1b5beb43ce0_626e6e85-8f4e-4446-80a8-ec33a3d20530.webp?v=1762824783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43827951665251,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-HD67","requires_shipping":true,"taxable":true,"featured_image":{"id":34785894662243,"product_id":7920217423971,"position":8,"created_at":"2025-11-11T09:33:02+08:00","updated_at":"2025-11-11T09:33:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240379e608247fa339d37d63b4c0bf7e1262c025_4729420f-1268-48d6-9c87-373ad6ab3c7a.webp?v=1762824785","variant_ids":[43827951665251]},"available":true,"name":"iPhone 15 Clear (MagSafe 兼容) Incrediville 怪奇事物所 所長的營火晚會 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MCN012950J-HD67","featured_media":{"alt":null,"id":26351351824483,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240379e608247fa339d37d63b4c0bf7e1262c025_4729420f-1268-48d6-9c87-373ad6ab3c7a.webp?v=1762824785"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }