$product = {"id":7407926706275,"title":"iPhone 14 Plus Mod NX MARVEL 漫威系列 漫威Logo-迷你標誌","handle":"iphone-14-plus-mod-nx-printable-oz32","description":null,"published_at":"2024-06-11T16:26:45+08:00","created_at":"2024-05-03T11:17:24+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-marvel","device-iPhone 14 Plus","merge","reseller-marvel"],"price":90000,"price_min":90000,"price_max":90000,"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":41880602738787,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126124-OZ32","requires_shipping":true,"taxable":true,"featured_image":{"id":31470718189667,"product_id":7407926706275,"position":1,"created_at":"2024-05-03T11:17:27+08:00","updated_at":"2024-05-03T11:17:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ModNX-26-261-OZ32_285616ca-ba3d-4f38-bbf6-6aea2357b5b3.png?v=1714706247","variant_ids":[41880602738787]},"available":true,"name":"iPhone 14 Plus Mod NX MARVEL 漫威系列 漫威Logo-迷你標誌 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-OZ32","featured_media":{"alt":null,"id":23875622240355,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ModNX-26-261-OZ32_285616ca-ba3d-4f38-bbf6-6aea2357b5b3.png?v=1714706247"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43850170531939,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-OZ32","requires_shipping":true,"taxable":true,"featured_image":{"id":34832874799203,"product_id":7407926706275,"position":7,"created_at":"2025-11-24T11:19:57+08:00","updated_at":"2025-11-24T11:19:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34e0c700a5a9e5baa6d24bc8bf35442d5fa848cb.webp?v=1763954399","variant_ids":[43850170531939]},"available":true,"name":"iPhone 14 Plus Mod NX MARVEL 漫威系列 漫威Logo-迷你標誌 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-OZ32","featured_media":{"alt":null,"id":26397692952675,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34e0c700a5a9e5baa6d24bc8bf35442d5fa848cb.webp?v=1763954399"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ModNX-26-261-OZ32_285616ca-ba3d-4f38-bbf6-6aea2357b5b3.png?v=1714706247","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/571d270539cbaae3c0d725e42a125b0d23a1a38d.webp?v=1763954397","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a915be50ad9a9088d6416b3d82a22abd0b30f9b.webp?v=1763954397","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbc0ed83dc8e16b4a6014a2fed6c42e73df71ea0.webp?v=1763954398","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bb40820cb4976c0e1b914addf27fa1846e5c00a.webp?v=1763954398","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddb523652f09295af65108845915dd1e2ebd35ae.webp?v=1763954399","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34e0c700a5a9e5baa6d24bc8bf35442d5fa848cb.webp?v=1763954399","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d8a81cf0c872cd32a76e3fcfe8c61f658c461b8.webp?v=1763954400","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/532028f7c6197218a3953a4147749462e9e092c2.webp?v=1763954400","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a409300a5c0a1b80191508476a989f507122b6e9.webp?v=1763954401","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a44766f6c54f992021355c3aae2e96ad7d43402c.webp?v=1763954401","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5691e55d646ec528e122b0a88e822bbdfbccec3.webp?v=1763954401","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4673b3b7163fb30f3d16d1f0395777cde235586c.webp?v=1763954402","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a810c7c9342012269ff8fc9956d39dc0e38706a.webp?v=1763954402"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ModNX-26-261-OZ32_285616ca-ba3d-4f38-bbf6-6aea2357b5b3.png?v=1714706247","options":["color"],"media":[{"alt":null,"id":23875622240355,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ModNX-26-261-OZ32_285616ca-ba3d-4f38-bbf6-6aea2357b5b3.png?v=1714706247"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ModNX-26-261-OZ32_285616ca-ba3d-4f38-bbf6-6aea2357b5b3.png?v=1714706247","width":2000},{"alt":null,"id":26397691674723,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/571d270539cbaae3c0d725e42a125b0d23a1a38d.webp?v=1763954397"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/571d270539cbaae3c0d725e42a125b0d23a1a38d.webp?v=1763954397","width":2000},{"alt":null,"id":26397691871331,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a915be50ad9a9088d6416b3d82a22abd0b30f9b.webp?v=1763954397"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a915be50ad9a9088d6416b3d82a22abd0b30f9b.webp?v=1763954397","width":2000},{"alt":null,"id":26397692297315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbc0ed83dc8e16b4a6014a2fed6c42e73df71ea0.webp?v=1763954398"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbc0ed83dc8e16b4a6014a2fed6c42e73df71ea0.webp?v=1763954398","width":2000},{"alt":null,"id":26397692526691,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bb40820cb4976c0e1b914addf27fa1846e5c00a.webp?v=1763954398"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bb40820cb4976c0e1b914addf27fa1846e5c00a.webp?v=1763954398","width":2000},{"alt":null,"id":26397692723299,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddb523652f09295af65108845915dd1e2ebd35ae.webp?v=1763954399"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddb523652f09295af65108845915dd1e2ebd35ae.webp?v=1763954399","width":2000},{"alt":null,"id":26397692952675,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34e0c700a5a9e5baa6d24bc8bf35442d5fa848cb.webp?v=1763954399"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34e0c700a5a9e5baa6d24bc8bf35442d5fa848cb.webp?v=1763954399","width":2000},{"alt":null,"id":26397693116515,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d8a81cf0c872cd32a76e3fcfe8c61f658c461b8.webp?v=1763954400"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d8a81cf0c872cd32a76e3fcfe8c61f658c461b8.webp?v=1763954400","width":2000},{"alt":null,"id":26397693280355,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/532028f7c6197218a3953a4147749462e9e092c2.webp?v=1763954400"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/532028f7c6197218a3953a4147749462e9e092c2.webp?v=1763954400","width":2000},{"alt":null,"id":26397693411427,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a409300a5c0a1b80191508476a989f507122b6e9.webp?v=1763954401"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a409300a5c0a1b80191508476a989f507122b6e9.webp?v=1763954401","width":2000},{"alt":null,"id":26397693509731,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a44766f6c54f992021355c3aae2e96ad7d43402c.webp?v=1763954401"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a44766f6c54f992021355c3aae2e96ad7d43402c.webp?v=1763954401","width":2000},{"alt":null,"id":26397693673571,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5691e55d646ec528e122b0a88e822bbdfbccec3.webp?v=1763954401"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5691e55d646ec528e122b0a88e822bbdfbccec3.webp?v=1763954401","width":2000},{"alt":null,"id":26397693968483,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4673b3b7163fb30f3d16d1f0395777cde235586c.webp?v=1763954402"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4673b3b7163fb30f3d16d1f0395777cde235586c.webp?v=1763954402","width":2000},{"alt":null,"id":26397694066787,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a810c7c9342012269ff8fc9956d39dc0e38706a.webp?v=1763954402"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a810c7c9342012269ff8fc9956d39dc0e38706a.webp?v=1763954402","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41880602738787,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126124-OZ32","requires_shipping":true,"taxable":true,"featured_image":{"id":31470718189667,"product_id":7407926706275,"position":1,"created_at":"2024-05-03T11:17:27+08:00","updated_at":"2024-05-03T11:17:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ModNX-26-261-OZ32_285616ca-ba3d-4f38-bbf6-6aea2357b5b3.png?v=1714706247","variant_ids":[41880602738787]},"available":true,"name":"iPhone 14 Plus Mod NX MARVEL 漫威系列 漫威Logo-迷你標誌 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-OZ32","featured_media":{"alt":null,"id":23875622240355,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ModNX-26-261-OZ32_285616ca-ba3d-4f38-bbf6-6aea2357b5b3.png?v=1714706247"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43850170531939,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-OZ32","requires_shipping":true,"taxable":true,"featured_image":{"id":34832874799203,"product_id":7407926706275,"position":7,"created_at":"2025-11-24T11:19:57+08:00","updated_at":"2025-11-24T11:19:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34e0c700a5a9e5baa6d24bc8bf35442d5fa848cb.webp?v=1763954399","variant_ids":[43850170531939]},"available":true,"name":"iPhone 14 Plus Mod NX MARVEL 漫威系列 漫威Logo-迷你標誌 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-OZ32","featured_media":{"alt":null,"id":26397692952675,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34e0c700a5a9e5baa6d24bc8bf35442d5fa848cb.webp?v=1763954399"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41880602738787,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126124-OZ32","requires_shipping":true,"taxable":true,"featured_image":{"id":31470718189667,"product_id":7407926706275,"position":1,"created_at":"2024-05-03T11:17:27+08:00","updated_at":"2024-05-03T11:17:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ModNX-26-261-OZ32_285616ca-ba3d-4f38-bbf6-6aea2357b5b3.png?v=1714706247","variant_ids":[41880602738787]},"available":true,"name":"iPhone 14 Plus Mod NX MARVEL 漫威系列 漫威Logo-迷你標誌 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-OZ32","featured_media":{"alt":null,"id":23875622240355,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ModNX-26-261-OZ32_285616ca-ba3d-4f38-bbf6-6aea2357b5b3.png?v=1714706247"}},"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: "停產" }