$product = {"id":7937917091939,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 進擊的巨人 vs 鎧之巨人","handle":"iphone-14-plus-mod-nx-magsafe-xu18","description":null,"published_at":"2025-12-12T10:33:02+08:00","created_at":"2025-12-11T15:57:41+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-attack-on-titan","device-iPhone 14 Plus","merge","reseller-attack-on-titan"],"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":43884407455843,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XU18","requires_shipping":true,"taxable":true,"featured_image":{"id":36225927512163,"product_id":7937917091939,"position":14,"created_at":"2026-07-09T09:41:38+08:00","updated_at":"2026-07-09T09:41:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b8d97d57be0b5fbc3ba68e7f9769710e16c5d8a_dab6ecd2-bf89-4647-80cb-a26e36cd5c5e.webp?v=1783561301","variant_ids":[43884407455843]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 進擊的巨人 vs 鎧之巨人 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-XU18","featured_media":{"alt":null,"id":27730713149539,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b8d97d57be0b5fbc3ba68e7f9769710e16c5d8a_dab6ecd2-bf89-4647-80cb-a26e36cd5c5e.webp?v=1783561301"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47afff58bdca28b1ffd16d3a67404d0bcd0d607f.webp?v=1765439867","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da948ce4aadefbfa435601c74569e410b6850b49.webp?v=1765439867","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8427639a74e9caf7a0e06e51affb06bcec30a474.webp?v=1765439868","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baad521a4258ffd06a7dc03a1e67a53a0246ded3.webp?v=1765439868","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e65a901b643ce03040dd45aac426b35c14dce642.webp?v=1765439869","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3015ad8cbdc81f3fa9f04c031a03dbb8c234411.webp?v=1765439870","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b8d97d57be0b5fbc3ba68e7f9769710e16c5d8a.webp?v=1765439871","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2058a25a14639d7a28f855fa9441360affe199d3.webp?v=1765439872","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b87ed78133a71c7fe5de6224d21e72c9cebee3c6.webp?v=1765439873","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ecb167e1b39041886edb3f04e32e4c13df3d724.webp?v=1765439873","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97ca3a3068dd0c7b683ed7fa3af821b6c2c947ad.webp?v=1765439874","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db963442b66461928d69cb3c92cd118c8b905ed4.webp?v=1765439874","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65f515d324151505396fbee4821a311955a79dc1.webp?v=1765439875","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b8d97d57be0b5fbc3ba68e7f9769710e16c5d8a_dab6ecd2-bf89-4647-80cb-a26e36cd5c5e.webp?v=1783561301"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47afff58bdca28b1ffd16d3a67404d0bcd0d607f.webp?v=1765439867","options":["color"],"media":[{"alt":null,"id":26495454609507,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47afff58bdca28b1ffd16d3a67404d0bcd0d607f.webp?v=1765439867"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47afff58bdca28b1ffd16d3a67404d0bcd0d607f.webp?v=1765439867","width":2000},{"alt":null,"id":26495454871651,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da948ce4aadefbfa435601c74569e410b6850b49.webp?v=1765439867"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da948ce4aadefbfa435601c74569e410b6850b49.webp?v=1765439867","width":2000},{"alt":null,"id":26495455035491,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8427639a74e9caf7a0e06e51affb06bcec30a474.webp?v=1765439868"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8427639a74e9caf7a0e06e51affb06bcec30a474.webp?v=1765439868","width":2000},{"alt":null,"id":26495455199331,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baad521a4258ffd06a7dc03a1e67a53a0246ded3.webp?v=1765439868"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/baad521a4258ffd06a7dc03a1e67a53a0246ded3.webp?v=1765439868","width":2000},{"alt":null,"id":26495455264867,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e65a901b643ce03040dd45aac426b35c14dce642.webp?v=1765439869"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e65a901b643ce03040dd45aac426b35c14dce642.webp?v=1765439869","width":2000},{"alt":null,"id":26495455395939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3015ad8cbdc81f3fa9f04c031a03dbb8c234411.webp?v=1765439870"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3015ad8cbdc81f3fa9f04c031a03dbb8c234411.webp?v=1765439870","width":2000},{"alt":null,"id":26495455527011,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b8d97d57be0b5fbc3ba68e7f9769710e16c5d8a.webp?v=1765439871"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b8d97d57be0b5fbc3ba68e7f9769710e16c5d8a.webp?v=1765439871","width":2000},{"alt":null,"id":26495455821923,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2058a25a14639d7a28f855fa9441360affe199d3.webp?v=1765439872"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2058a25a14639d7a28f855fa9441360affe199d3.webp?v=1765439872","width":2000},{"alt":null,"id":26495456084067,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b87ed78133a71c7fe5de6224d21e72c9cebee3c6.webp?v=1765439873"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b87ed78133a71c7fe5de6224d21e72c9cebee3c6.webp?v=1765439873","width":2000},{"alt":null,"id":26495456280675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ecb167e1b39041886edb3f04e32e4c13df3d724.webp?v=1765439873"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ecb167e1b39041886edb3f04e32e4c13df3d724.webp?v=1765439873","width":2000},{"alt":null,"id":26495456542819,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97ca3a3068dd0c7b683ed7fa3af821b6c2c947ad.webp?v=1765439874"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97ca3a3068dd0c7b683ed7fa3af821b6c2c947ad.webp?v=1765439874","width":2000},{"alt":null,"id":26495456706659,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db963442b66461928d69cb3c92cd118c8b905ed4.webp?v=1765439874"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db963442b66461928d69cb3c92cd118c8b905ed4.webp?v=1765439874","width":2000},{"alt":null,"id":26495457034339,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65f515d324151505396fbee4821a311955a79dc1.webp?v=1765439875"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65f515d324151505396fbee4821a311955a79dc1.webp?v=1765439875","width":2000},{"alt":null,"id":27730713149539,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b8d97d57be0b5fbc3ba68e7f9769710e16c5d8a_dab6ecd2-bf89-4647-80cb-a26e36cd5c5e.webp?v=1783561301"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b8d97d57be0b5fbc3ba68e7f9769710e16c5d8a_dab6ecd2-bf89-4647-80cb-a26e36cd5c5e.webp?v=1783561301","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43884407455843,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XU18","requires_shipping":true,"taxable":true,"featured_image":{"id":36225927512163,"product_id":7937917091939,"position":14,"created_at":"2026-07-09T09:41:38+08:00","updated_at":"2026-07-09T09:41:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b8d97d57be0b5fbc3ba68e7f9769710e16c5d8a_dab6ecd2-bf89-4647-80cb-a26e36cd5c5e.webp?v=1783561301","variant_ids":[43884407455843]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 進擊的巨人 vs 鎧之巨人 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-XU18","featured_media":{"alt":null,"id":27730713149539,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b8d97d57be0b5fbc3ba68e7f9769710e16c5d8a_dab6ecd2-bf89-4647-80cb-a26e36cd5c5e.webp?v=1783561301"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43884407455843,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XU18","requires_shipping":true,"taxable":true,"featured_image":{"id":36225927512163,"product_id":7937917091939,"position":14,"created_at":"2026-07-09T09:41:38+08:00","updated_at":"2026-07-09T09:41:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b8d97d57be0b5fbc3ba68e7f9769710e16c5d8a_dab6ecd2-bf89-4647-80cb-a26e36cd5c5e.webp?v=1783561301","variant_ids":[43884407455843]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 進擊的巨人 Attack on Titan 進擊的巨人 vs 鎧之巨人 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-XU18","featured_media":{"alt":null,"id":27730713149539,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b8d97d57be0b5fbc3ba68e7f9769710e16c5d8a_dab6ecd2-bf89-4647-80cb-a26e36cd5c5e.webp?v=1783561301"}},"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: "停產" }