$product = {"id":7823832776803,"title":"iPhone 15 Pro Max SolidX Zzifan_z 千禧男孩","handle":"iphone-15-pro-max-solidx-gi01","description":null,"published_at":"2025-07-01T19:10:01+08:00","created_at":"2025-06-20T10:30:25+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-zzifanz","device-iPhone 15 Pro Max","merge","reseller-zzifanz"],"price":125000,"price_min":125000,"price_max":125000,"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":43473480515683,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-GI01","requires_shipping":true,"taxable":true,"featured_image":{"id":36323018113123,"product_id":7823832776803,"position":11,"created_at":"2026-07-20T18:32:01+08:00","updated_at":"2026-07-20T18:32:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de51d224a6f3993180f9fd3257408cf2e5347570_3a11aaf6-7620-41e4-911c-924487394fbc.webp?v=1784543523","variant_ids":[43473480515683]},"available":true,"name":"iPhone 15 Pro Max SolidX Zzifan_z 千禧男孩 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-GI01","featured_media":{"alt":null,"id":27826925863011,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de51d224a6f3993180f9fd3257408cf2e5347570_3a11aaf6-7620-41e4-911c-924487394fbc.webp?v=1784543523"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43473484382307,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-GI01","requires_shipping":true,"taxable":true,"featured_image":{"id":36323018932323,"product_id":7823832776803,"position":12,"created_at":"2026-07-20T18:32:01+08:00","updated_at":"2026-07-20T18:32:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bae1c424ae4a6265afa549b1c0afbd8674fd69af_893ea93c-6820-49a9-b2fd-4b10f64fc592.webp?v=1784543524","variant_ids":[43473484382307]},"available":true,"name":"iPhone 15 Pro Max SolidX Zzifan_z 千禧男孩 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-GI01","featured_media":{"alt":null,"id":27826926682211,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bae1c424ae4a6265afa549b1c0afbd8674fd69af_893ea93c-6820-49a9-b2fd-4b10f64fc592.webp?v=1784543524"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-GI01.png?v=1750386627","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-GI01_b298ffa2-71c4-4e86-8b16-16bb78977675.png?v=1750832074","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bae1c424ae4a6265afa549b1c0afbd8674fd69af.webp?v=1782883246","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/377856352d4a48ede24dd35d936866a9cd7f67a1.webp?v=1782883247","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de51d224a6f3993180f9fd3257408cf2e5347570.webp?v=1782883247","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0706caf0e7473c505de33471fc972519c53ddda2.webp?v=1782883248","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b2b000ba383259cdca0297d4b93c3bd39a27b19.webp?v=1782883249","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73e6349bcb58e63a2aef1b10eda497472de32230.webp?v=1782883249","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/444383d1db930339737f7b6d7c0e7b6d1a026254.webp?v=1782883250","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/444383d1db930339737f7b6d7c0e7b6d1a026254_0bf25599-fd37-4bc7-8a7a-35f2ad61284e.webp?v=1784543522","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de51d224a6f3993180f9fd3257408cf2e5347570_3a11aaf6-7620-41e4-911c-924487394fbc.webp?v=1784543523","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bae1c424ae4a6265afa549b1c0afbd8674fd69af_893ea93c-6820-49a9-b2fd-4b10f64fc592.webp?v=1784543524","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0706caf0e7473c505de33471fc972519c53ddda2_c392313e-42e7-41b7-b6e1-1dde63632f4f.webp?v=1784543524","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/377856352d4a48ede24dd35d936866a9cd7f67a1_5b71001b-0bcd-45ed-b332-ee0d7038a457.webp?v=1784543525"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-GI01.png?v=1750386627","options":["color"],"media":[{"alt":null,"id":25720401100899,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-GI01.png?v=1750386627"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-GI01.png?v=1750386627","width":2000},{"alt":null,"id":25736326479971,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-GI01_b298ffa2-71c4-4e86-8b16-16bb78977675.png?v=1750832074"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-GI01_b298ffa2-71c4-4e86-8b16-16bb78977675.png?v=1750832074","width":2000},{"alt":null,"id":27647801917539,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bae1c424ae4a6265afa549b1c0afbd8674fd69af.webp?v=1782883246"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bae1c424ae4a6265afa549b1c0afbd8674fd69af.webp?v=1782883246","width":2000},{"alt":null,"id":27647802409059,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/377856352d4a48ede24dd35d936866a9cd7f67a1.webp?v=1782883247"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/377856352d4a48ede24dd35d936866a9cd7f67a1.webp?v=1782883247","width":2000},{"alt":null,"id":27647803129955,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de51d224a6f3993180f9fd3257408cf2e5347570.webp?v=1782883247"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de51d224a6f3993180f9fd3257408cf2e5347570.webp?v=1782883247","width":2000},{"alt":null,"id":27647803785315,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0706caf0e7473c505de33471fc972519c53ddda2.webp?v=1782883248"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0706caf0e7473c505de33471fc972519c53ddda2.webp?v=1782883248","width":2000},{"alt":null,"id":27647804440675,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b2b000ba383259cdca0297d4b93c3bd39a27b19.webp?v=1782883249"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b2b000ba383259cdca0297d4b93c3bd39a27b19.webp?v=1782883249","width":2000},{"alt":null,"id":27647805096035,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73e6349bcb58e63a2aef1b10eda497472de32230.webp?v=1782883249"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73e6349bcb58e63a2aef1b10eda497472de32230.webp?v=1782883249","width":2000},{"alt":null,"id":27647805849699,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/444383d1db930339737f7b6d7c0e7b6d1a026254.webp?v=1782883250"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/444383d1db930339737f7b6d7c0e7b6d1a026254.webp?v=1782883250","width":2000},{"alt":null,"id":27826925568099,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/444383d1db930339737f7b6d7c0e7b6d1a026254_0bf25599-fd37-4bc7-8a7a-35f2ad61284e.webp?v=1784543522"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/444383d1db930339737f7b6d7c0e7b6d1a026254_0bf25599-fd37-4bc7-8a7a-35f2ad61284e.webp?v=1784543522","width":2000},{"alt":null,"id":27826925863011,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de51d224a6f3993180f9fd3257408cf2e5347570_3a11aaf6-7620-41e4-911c-924487394fbc.webp?v=1784543523"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de51d224a6f3993180f9fd3257408cf2e5347570_3a11aaf6-7620-41e4-911c-924487394fbc.webp?v=1784543523","width":2000},{"alt":null,"id":27826926682211,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bae1c424ae4a6265afa549b1c0afbd8674fd69af_893ea93c-6820-49a9-b2fd-4b10f64fc592.webp?v=1784543524"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bae1c424ae4a6265afa549b1c0afbd8674fd69af_893ea93c-6820-49a9-b2fd-4b10f64fc592.webp?v=1784543524","width":2000},{"alt":null,"id":27826927435875,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0706caf0e7473c505de33471fc972519c53ddda2_c392313e-42e7-41b7-b6e1-1dde63632f4f.webp?v=1784543524"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0706caf0e7473c505de33471fc972519c53ddda2_c392313e-42e7-41b7-b6e1-1dde63632f4f.webp?v=1784543524","width":2000},{"alt":null,"id":27826928156771,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/377856352d4a48ede24dd35d936866a9cd7f67a1_5b71001b-0bcd-45ed-b332-ee0d7038a457.webp?v=1784543525"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/377856352d4a48ede24dd35d936866a9cd7f67a1_5b71001b-0bcd-45ed-b332-ee0d7038a457.webp?v=1784543525","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43473480515683,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-GI01","requires_shipping":true,"taxable":true,"featured_image":{"id":36323018113123,"product_id":7823832776803,"position":11,"created_at":"2026-07-20T18:32:01+08:00","updated_at":"2026-07-20T18:32:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de51d224a6f3993180f9fd3257408cf2e5347570_3a11aaf6-7620-41e4-911c-924487394fbc.webp?v=1784543523","variant_ids":[43473480515683]},"available":true,"name":"iPhone 15 Pro Max SolidX Zzifan_z 千禧男孩 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-GI01","featured_media":{"alt":null,"id":27826925863011,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de51d224a6f3993180f9fd3257408cf2e5347570_3a11aaf6-7620-41e4-911c-924487394fbc.webp?v=1784543523"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43473484382307,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-GI01","requires_shipping":true,"taxable":true,"featured_image":{"id":36323018932323,"product_id":7823832776803,"position":12,"created_at":"2026-07-20T18:32:01+08:00","updated_at":"2026-07-20T18:32:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bae1c424ae4a6265afa549b1c0afbd8674fd69af_893ea93c-6820-49a9-b2fd-4b10f64fc592.webp?v=1784543524","variant_ids":[43473484382307]},"available":true,"name":"iPhone 15 Pro Max SolidX Zzifan_z 千禧男孩 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-GI01","featured_media":{"alt":null,"id":27826926682211,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bae1c424ae4a6265afa549b1c0afbd8674fd69af_893ea93c-6820-49a9-b2fd-4b10f64fc592.webp?v=1784543524"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43473480515683,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-GI01","requires_shipping":true,"taxable":true,"featured_image":{"id":36323018113123,"product_id":7823832776803,"position":11,"created_at":"2026-07-20T18:32:01+08:00","updated_at":"2026-07-20T18:32:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de51d224a6f3993180f9fd3257408cf2e5347570_3a11aaf6-7620-41e4-911c-924487394fbc.webp?v=1784543523","variant_ids":[43473480515683]},"available":true,"name":"iPhone 15 Pro Max SolidX Zzifan_z 千禧男孩 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-GI01","featured_media":{"alt":null,"id":27826925863011,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de51d224a6f3993180f9fd3257408cf2e5347570_3a11aaf6-7620-41e4-911c-924487394fbc.webp?v=1784543523"}},"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: "停產" }