$product = {"id":7893874475107,"title":"iPhone 17 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) Chubbynida 紫野花語","handle":"iphone-17-pro-max-jellytint-magsafe-with-capture-button-chu01","description":null,"published_at":"2025-10-09T09:21:38+08:00","created_at":"2025-10-07T10:33:56+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-chubbynida","device-iPhone 17 Pro Max","merge","reseller-chubbynida"],"price":148000,"price_min":148000,"price_max":148000,"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":43763606847587,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"MJB013534M-CHU01","requires_shipping":true,"taxable":true,"featured_image":{"id":36351696797795,"product_id":7893874475107,"position":11,"created_at":"2026-07-22T21:21:45+08:00","updated_at":"2026-07-22T21:21:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08826135c91599c325172775a082a98740989403_d8ee57dd-4abe-4044-ae12-0282943d4373.webp?v=1784726507","variant_ids":[43763606847587]},"available":true,"name":"iPhone 17 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) Chubbynida 紫野花語 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013534M-CHU01","featured_media":{"alt":null,"id":27855502278755,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08826135c91599c325172775a082a98740989403_d8ee57dd-4abe-4044-ae12-0282943d4373.webp?v=1784726507"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763607863395,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"MJB013534L-CHU01","requires_shipping":true,"taxable":true,"featured_image":{"id":36351694733411,"product_id":7893874475107,"position":10,"created_at":"2026-07-22T21:21:43+08:00","updated_at":"2026-07-22T21:21:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9219b75152d093e7ae74d472f73a1b6ff161691_03f5e2df-6f68-4221-90af-d21b5591ef92.webp?v=1784726505","variant_ids":[43763607863395]},"available":true,"name":"iPhone 17 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) Chubbynida 紫野花語 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013534L-CHU01","featured_media":{"alt":null,"id":27855500312675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9219b75152d093e7ae74d472f73a1b6ff161691_03f5e2df-6f68-4221-90af-d21b5591ef92.webp?v=1784726505"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3ce86229eae5507d3ca68416e90f9c9577f9f2.webp?v=1759804439","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9219b75152d093e7ae74d472f73a1b6ff161691.webp?v=1759804442","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08826135c91599c325172775a082a98740989403.webp?v=1759804442","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9219b75152d093e7ae74d472f73a1b6ff161691_593a7046-f6f5-4707-815e-bfe154295b09.webp?v=1784721279","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08826135c91599c325172775a082a98740989403_d3b653d8-81d1-442d-8146-7e38e4b5b282.webp?v=1784721280","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3ce86229eae5507d3ca68416e90f9c9577f9f2_02008cbd-ec7c-45d5-bb4b-4c56032148e9.webp?v=1784721281","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9219b75152d093e7ae74d472f73a1b6ff161691_4587ca33-341e-42d3-86d9-8f90c99513e9.webp?v=1784725432","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08826135c91599c325172775a082a98740989403_da2f87a1-f12e-4579-bc77-c60c35e212b0.webp?v=1784725434","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3ce86229eae5507d3ca68416e90f9c9577f9f2_c1811bcd-c57d-41fb-8ab9-0a4c08dd4f65.webp?v=1784725435","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9219b75152d093e7ae74d472f73a1b6ff161691_03f5e2df-6f68-4221-90af-d21b5591ef92.webp?v=1784726505","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08826135c91599c325172775a082a98740989403_d8ee57dd-4abe-4044-ae12-0282943d4373.webp?v=1784726507","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3ce86229eae5507d3ca68416e90f9c9577f9f2_4b3538f5-51d1-46a1-9525-fb33b75e56ca.webp?v=1784726508"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3ce86229eae5507d3ca68416e90f9c9577f9f2.webp?v=1759804439","options":["color"],"media":[{"alt":null,"id":26122982817891,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3ce86229eae5507d3ca68416e90f9c9577f9f2.webp?v=1759804439"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3ce86229eae5507d3ca68416e90f9c9577f9f2.webp?v=1759804439","width":2000},{"alt":null,"id":26122983112803,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9219b75152d093e7ae74d472f73a1b6ff161691.webp?v=1759804442"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9219b75152d093e7ae74d472f73a1b6ff161691.webp?v=1759804442","width":2000},{"alt":null,"id":26122983374947,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08826135c91599c325172775a082a98740989403.webp?v=1759804442"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08826135c91599c325172775a082a98740989403.webp?v=1759804442","width":2000},{"alt":null,"id":27853696467043,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9219b75152d093e7ae74d472f73a1b6ff161691_593a7046-f6f5-4707-815e-bfe154295b09.webp?v=1784721279"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9219b75152d093e7ae74d472f73a1b6ff161691_593a7046-f6f5-4707-815e-bfe154295b09.webp?v=1784721279","width":2000},{"alt":null,"id":27853697253475,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08826135c91599c325172775a082a98740989403_d3b653d8-81d1-442d-8146-7e38e4b5b282.webp?v=1784721280"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08826135c91599c325172775a082a98740989403_d3b653d8-81d1-442d-8146-7e38e4b5b282.webp?v=1784721280","width":2000},{"alt":null,"id":27853697613923,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3ce86229eae5507d3ca68416e90f9c9577f9f2_02008cbd-ec7c-45d5-bb4b-4c56032148e9.webp?v=1784721281"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3ce86229eae5507d3ca68416e90f9c9577f9f2_02008cbd-ec7c-45d5-bb4b-4c56032148e9.webp?v=1784721281","width":2000},{"alt":null,"id":27854959870051,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9219b75152d093e7ae74d472f73a1b6ff161691_4587ca33-341e-42d3-86d9-8f90c99513e9.webp?v=1784725432"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9219b75152d093e7ae74d472f73a1b6ff161691_4587ca33-341e-42d3-86d9-8f90c99513e9.webp?v=1784725432","width":2000},{"alt":null,"id":27854961442915,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08826135c91599c325172775a082a98740989403_da2f87a1-f12e-4579-bc77-c60c35e212b0.webp?v=1784725434"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08826135c91599c325172775a082a98740989403_da2f87a1-f12e-4579-bc77-c60c35e212b0.webp?v=1784725434","width":2000},{"alt":null,"id":27854962163811,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3ce86229eae5507d3ca68416e90f9c9577f9f2_c1811bcd-c57d-41fb-8ab9-0a4c08dd4f65.webp?v=1784725435"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3ce86229eae5507d3ca68416e90f9c9577f9f2_c1811bcd-c57d-41fb-8ab9-0a4c08dd4f65.webp?v=1784725435","width":2000},{"alt":null,"id":27855500312675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9219b75152d093e7ae74d472f73a1b6ff161691_03f5e2df-6f68-4221-90af-d21b5591ef92.webp?v=1784726505"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9219b75152d093e7ae74d472f73a1b6ff161691_03f5e2df-6f68-4221-90af-d21b5591ef92.webp?v=1784726505","width":2000},{"alt":null,"id":27855502278755,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08826135c91599c325172775a082a98740989403_d8ee57dd-4abe-4044-ae12-0282943d4373.webp?v=1784726507"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08826135c91599c325172775a082a98740989403_d8ee57dd-4abe-4044-ae12-0282943d4373.webp?v=1784726507","width":2000},{"alt":null,"id":27855503130723,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3ce86229eae5507d3ca68416e90f9c9577f9f2_4b3538f5-51d1-46a1-9525-fb33b75e56ca.webp?v=1784726508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f3ce86229eae5507d3ca68416e90f9c9577f9f2_4b3538f5-51d1-46a1-9525-fb33b75e56ca.webp?v=1784726508","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43763606847587,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"MJB013534M-CHU01","requires_shipping":true,"taxable":true,"featured_image":{"id":36351696797795,"product_id":7893874475107,"position":11,"created_at":"2026-07-22T21:21:45+08:00","updated_at":"2026-07-22T21:21:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08826135c91599c325172775a082a98740989403_d8ee57dd-4abe-4044-ae12-0282943d4373.webp?v=1784726507","variant_ids":[43763606847587]},"available":true,"name":"iPhone 17 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) Chubbynida 紫野花語 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013534M-CHU01","featured_media":{"alt":null,"id":27855502278755,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08826135c91599c325172775a082a98740989403_d8ee57dd-4abe-4044-ae12-0282943d4373.webp?v=1784726507"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763607863395,"title":"Gleam Rosé","option1":"Gleam Rosé","option2":null,"option3":null,"sku":"MJB013534L-CHU01","requires_shipping":true,"taxable":true,"featured_image":{"id":36351694733411,"product_id":7893874475107,"position":10,"created_at":"2026-07-22T21:21:43+08:00","updated_at":"2026-07-22T21:21:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9219b75152d093e7ae74d472f73a1b6ff161691_03f5e2df-6f68-4221-90af-d21b5591ef92.webp?v=1784726505","variant_ids":[43763607863395]},"available":true,"name":"iPhone 17 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) Chubbynida 紫野花語 - Gleam Rosé","public_title":"Gleam Rosé","options":["Gleam Rosé"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013534L-CHU01","featured_media":{"alt":null,"id":27855500312675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9219b75152d093e7ae74d472f73a1b6ff161691_03f5e2df-6f68-4221-90af-d21b5591ef92.webp?v=1784726505"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43763606847587,"title":"Nocturne Blue","option1":"Nocturne Blue","option2":null,"option3":null,"sku":"MJB013534M-CHU01","requires_shipping":true,"taxable":true,"featured_image":{"id":36351696797795,"product_id":7893874475107,"position":11,"created_at":"2026-07-22T21:21:45+08:00","updated_at":"2026-07-22T21:21:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08826135c91599c325172775a082a98740989403_d8ee57dd-4abe-4044-ae12-0282943d4373.webp?v=1784726507","variant_ids":[43763606847587]},"available":true,"name":"iPhone 17 Pro Max Clear (MagSafe 兼容 \u0026 相機按鈕) Chubbynida 紫野花語 - Nocturne Blue","public_title":"Nocturne Blue","options":["Nocturne Blue"],"price":148000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MJB013534M-CHU01","featured_media":{"alt":null,"id":27855502278755,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08826135c91599c325172775a082a98740989403_d8ee57dd-4abe-4044-ae12-0282943d4373.webp?v=1784726507"}},"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: "停產" }