$product = {"id":7937546190947,"title":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 番茄兄弟","handle":"iphone-12-pro-max-mod-nx-magsafe-cjy14","description":null,"published_at":"2025-12-12T09:52:16+08:00","created_at":"2025-12-11T09:42:19+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-jychoioioi","device-iPhone 12 Pro Max","merge","reseller-jychoioioi"],"price":110000,"price_min":110000,"price_max":110000,"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":43882924769379,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-CJY14","requires_shipping":true,"taxable":true,"featured_image":{"id":34931199574115,"product_id":7937546190947,"position":16,"created_at":"2025-12-11T10:06:21+08:00","updated_at":"2025-12-11T10:06:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81179c88d30971482bbc88ab1343e324c815c2a2_f8dd0d46-d149-46e3-8685-8d88e8b7e855.webp?v=1765418783","variant_ids":[43882924769379]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 番茄兄弟 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-CJY14","featured_media":{"alt":null,"id":26493573759075,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81179c88d30971482bbc88ab1343e324c815c2a2_f8dd0d46-d149-46e3-8685-8d88e8b7e855.webp?v=1765418783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81179c88d30971482bbc88ab1343e324c815c2a2.webp?v=1765417346","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23bdfddb4d8dcda0bc62a68741212a028f709a98.webp?v=1765417346","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/789a663315cf24870daa093fe8c3501663aa25a5.webp?v=1765417347","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0681a3f2a06aa567ad6795340cef0f51b1d67dc.webp?v=1765417347","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f20d54856f4d953b7af8e06b6ec92e465f8b3ea8.webp?v=1765417348","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e538d443670d2229de3a2ec7ce57d48af75ad3e4.webp?v=1765417348","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/994c7487d5d976c161bb69073e7904ae7beee0d1.webp?v=1765417349","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5e0ea8ce1afb287fc2c8243888d01b9a06198b6.webp?v=1765417349","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd12d8947efe877d1c5d9ce90893822bdf1293ed.webp?v=1765417351","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f20d54856f4d953b7af8e06b6ec92e465f8b3ea8_34eb3b1f-b9e2-4791-a107-9590c80757b9.webp?v=1765418780","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23bdfddb4d8dcda0bc62a68741212a028f709a98_e386b48b-b9b4-472c-b0f8-04e78a249e45.webp?v=1765418780","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0681a3f2a06aa567ad6795340cef0f51b1d67dc_3766faf3-5de5-45dd-a681-c9efdf78f10a.webp?v=1765418781","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5e0ea8ce1afb287fc2c8243888d01b9a06198b6_266d6e9e-aa5a-437d-812e-af053bc96240.webp?v=1765418781","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/789a663315cf24870daa093fe8c3501663aa25a5_dc607f3c-7527-4c50-8689-8617dac12485.webp?v=1765418782","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e538d443670d2229de3a2ec7ce57d48af75ad3e4_9facb45f-13c6-41d7-9c0a-3327c57d86a7.webp?v=1765418782","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81179c88d30971482bbc88ab1343e324c815c2a2_f8dd0d46-d149-46e3-8685-8d88e8b7e855.webp?v=1765418783","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd12d8947efe877d1c5d9ce90893822bdf1293ed_e9ece2dd-2a0d-4ef1-a53f-75015fad6c38.webp?v=1765418783","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/994c7487d5d976c161bb69073e7904ae7beee0d1_17ab9292-7a5c-4558-922c-b15535625f64.webp?v=1765418784"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81179c88d30971482bbc88ab1343e324c815c2a2.webp?v=1765417346","options":["color"],"media":[{"alt":null,"id":26493163569251,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81179c88d30971482bbc88ab1343e324c815c2a2.webp?v=1765417346"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81179c88d30971482bbc88ab1343e324c815c2a2.webp?v=1765417346","width":2000},{"alt":null,"id":26493163765859,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23bdfddb4d8dcda0bc62a68741212a028f709a98.webp?v=1765417346"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23bdfddb4d8dcda0bc62a68741212a028f709a98.webp?v=1765417346","width":2000},{"alt":null,"id":26493163962467,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/789a663315cf24870daa093fe8c3501663aa25a5.webp?v=1765417347"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/789a663315cf24870daa093fe8c3501663aa25a5.webp?v=1765417347","width":2000},{"alt":null,"id":26493164257379,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0681a3f2a06aa567ad6795340cef0f51b1d67dc.webp?v=1765417347"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0681a3f2a06aa567ad6795340cef0f51b1d67dc.webp?v=1765417347","width":2000},{"alt":null,"id":26493164552291,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f20d54856f4d953b7af8e06b6ec92e465f8b3ea8.webp?v=1765417348"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f20d54856f4d953b7af8e06b6ec92e465f8b3ea8.webp?v=1765417348","width":2000},{"alt":null,"id":26493164748899,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e538d443670d2229de3a2ec7ce57d48af75ad3e4.webp?v=1765417348"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e538d443670d2229de3a2ec7ce57d48af75ad3e4.webp?v=1765417348","width":2000},{"alt":null,"id":26493165043811,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/994c7487d5d976c161bb69073e7904ae7beee0d1.webp?v=1765417349"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/994c7487d5d976c161bb69073e7904ae7beee0d1.webp?v=1765417349","width":2000},{"alt":null,"id":26493165371491,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5e0ea8ce1afb287fc2c8243888d01b9a06198b6.webp?v=1765417349"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5e0ea8ce1afb287fc2c8243888d01b9a06198b6.webp?v=1765417349","width":2000},{"alt":null,"id":26493165764707,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd12d8947efe877d1c5d9ce90893822bdf1293ed.webp?v=1765417351"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd12d8947efe877d1c5d9ce90893822bdf1293ed.webp?v=1765417351","width":2000},{"alt":null,"id":26493572153443,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f20d54856f4d953b7af8e06b6ec92e465f8b3ea8_34eb3b1f-b9e2-4791-a107-9590c80757b9.webp?v=1765418780"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f20d54856f4d953b7af8e06b6ec92e465f8b3ea8_34eb3b1f-b9e2-4791-a107-9590c80757b9.webp?v=1765418780","width":2000},{"alt":null,"id":26493572415587,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23bdfddb4d8dcda0bc62a68741212a028f709a98_e386b48b-b9b4-472c-b0f8-04e78a249e45.webp?v=1765418780"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23bdfddb4d8dcda0bc62a68741212a028f709a98_e386b48b-b9b4-472c-b0f8-04e78a249e45.webp?v=1765418780","width":2000},{"alt":null,"id":26493572776035,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0681a3f2a06aa567ad6795340cef0f51b1d67dc_3766faf3-5de5-45dd-a681-c9efdf78f10a.webp?v=1765418781"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0681a3f2a06aa567ad6795340cef0f51b1d67dc_3766faf3-5de5-45dd-a681-c9efdf78f10a.webp?v=1765418781","width":2000},{"alt":null,"id":26493573038179,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5e0ea8ce1afb287fc2c8243888d01b9a06198b6_266d6e9e-aa5a-437d-812e-af053bc96240.webp?v=1765418781"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5e0ea8ce1afb287fc2c8243888d01b9a06198b6_266d6e9e-aa5a-437d-812e-af053bc96240.webp?v=1765418781","width":2000},{"alt":null,"id":26493573300323,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/789a663315cf24870daa093fe8c3501663aa25a5_dc607f3c-7527-4c50-8689-8617dac12485.webp?v=1765418782"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/789a663315cf24870daa093fe8c3501663aa25a5_dc607f3c-7527-4c50-8689-8617dac12485.webp?v=1765418782","width":2000},{"alt":null,"id":26493573496931,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e538d443670d2229de3a2ec7ce57d48af75ad3e4_9facb45f-13c6-41d7-9c0a-3327c57d86a7.webp?v=1765418782"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e538d443670d2229de3a2ec7ce57d48af75ad3e4_9facb45f-13c6-41d7-9c0a-3327c57d86a7.webp?v=1765418782","width":2000},{"alt":null,"id":26493573759075,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81179c88d30971482bbc88ab1343e324c815c2a2_f8dd0d46-d149-46e3-8685-8d88e8b7e855.webp?v=1765418783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81179c88d30971482bbc88ab1343e324c815c2a2_f8dd0d46-d149-46e3-8685-8d88e8b7e855.webp?v=1765418783","width":2000},{"alt":null,"id":26493574021219,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd12d8947efe877d1c5d9ce90893822bdf1293ed_e9ece2dd-2a0d-4ef1-a53f-75015fad6c38.webp?v=1765418783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd12d8947efe877d1c5d9ce90893822bdf1293ed_e9ece2dd-2a0d-4ef1-a53f-75015fad6c38.webp?v=1765418783","width":2000},{"alt":null,"id":26493574185059,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/994c7487d5d976c161bb69073e7904ae7beee0d1_17ab9292-7a5c-4558-922c-b15535625f64.webp?v=1765418784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/994c7487d5d976c161bb69073e7904ae7beee0d1_17ab9292-7a5c-4558-922c-b15535625f64.webp?v=1765418784","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43882924769379,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-CJY14","requires_shipping":true,"taxable":true,"featured_image":{"id":34931199574115,"product_id":7937546190947,"position":16,"created_at":"2025-12-11T10:06:21+08:00","updated_at":"2025-12-11T10:06:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81179c88d30971482bbc88ab1343e324c815c2a2_f8dd0d46-d149-46e3-8685-8d88e8b7e855.webp?v=1765418783","variant_ids":[43882924769379]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 番茄兄弟 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-CJY14","featured_media":{"alt":null,"id":26493573759075,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81179c88d30971482bbc88ab1343e324c815c2a2_f8dd0d46-d149-46e3-8685-8d88e8b7e855.webp?v=1765418783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43882924769379,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-CJY14","requires_shipping":true,"taxable":true,"featured_image":{"id":34931199574115,"product_id":7937546190947,"position":16,"created_at":"2025-12-11T10:06:21+08:00","updated_at":"2025-12-11T10:06:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81179c88d30971482bbc88ab1343e324c815c2a2_f8dd0d46-d149-46e3-8685-8d88e8b7e855.webp?v=1765418783","variant_ids":[43882924769379]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 番茄兄弟 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-CJY14","featured_media":{"alt":null,"id":26493573759075,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81179c88d30971482bbc88ab1343e324c815c2a2_f8dd0d46-d149-46e3-8685-8d88e8b7e855.webp?v=1765418783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }