$product = {"id":7888407494755,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) KINGJUN 太空貼貼貼","handle":"iphone-14-pro-mod-nx-magsafe-printable-iq06","description":null,"published_at":"2025-09-23T09:20:42+08:00","created_at":"2025-09-22T15:21:58+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-kingjun","device-iPhone 14 Pro","merge","reseller-kingjun"],"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":43742998495331,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514290999395,"product_id":7888407494755,"position":9,"created_at":"2025-09-22T15:22:07+08:00","updated_at":"2025-09-22T15:22:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cda3d5016cd9a8e08089068f58f0a5cbb5c2db0.webp?v=1758525729","variant_ids":[43742998495331]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) KINGJUN 太空貼貼貼 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-IQ06","featured_media":{"alt":null,"id":26084733517923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cda3d5016cd9a8e08089068f58f0a5cbb5c2db0.webp?v=1758525729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43742998691939,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514289524835,"product_id":7888407494755,"position":3,"created_at":"2025-09-22T15:22:04+08:00","updated_at":"2025-09-22T15:22:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bfc6349126c9e4bddbfcd776a5ce943e46205ed.webp?v=1758525726","variant_ids":[43742998691939]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) KINGJUN 太空貼貼貼 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-IQ06","featured_media":{"alt":null,"id":26084732043363,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bfc6349126c9e4bddbfcd776a5ce943e46205ed.webp?v=1758525726"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43742998757475,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514291261539,"product_id":7888407494755,"position":10,"created_at":"2025-09-22T15:22:08+08:00","updated_at":"2025-09-22T15:22:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a228ab44b5f1be37482897480a46ed6a17b491bf.webp?v=1758525730","variant_ids":[43742998757475]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) KINGJUN 太空貼貼貼 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-IQ06","featured_media":{"alt":null,"id":26084733812835,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a228ab44b5f1be37482897480a46ed6a17b491bf.webp?v=1758525730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bfcd2e3e464d4a5cc2324c3cf4e1a89784accda.webp?v=1758525725","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e23d6292025e8fe793d2d26806e6dc4ce9adaac4.webp?v=1758525725","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bfc6349126c9e4bddbfcd776a5ce943e46205ed.webp?v=1758525726","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19c36a3a46c641a1a4548ee2edc751746ab3cc32.webp?v=1758525726","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13e46eb9bdf9fda5d7f9d6f8f9da1d07fcf06313.webp?v=1758525727","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dccb7bba4acb6aa838a11f12ffc3c153e15ce9f5.webp?v=1758525727","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d80efa7b993c70cee377b3ffe876a172627df0c3.webp?v=1758525728","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9a0f33a95489559856965dcf896d33741f9c82b.webp?v=1758525729","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cda3d5016cd9a8e08089068f58f0a5cbb5c2db0.webp?v=1758525729","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a228ab44b5f1be37482897480a46ed6a17b491bf.webp?v=1758525730","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5e67d6e0d09e9754334c3225453257423d65ca.webp?v=1758525730","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3652a84d6195e0c593a131db3ab5f20e89d23e69.webp?v=1758525731"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bfcd2e3e464d4a5cc2324c3cf4e1a89784accda.webp?v=1758525725","options":["color"],"media":[{"alt":null,"id":26084731617379,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bfcd2e3e464d4a5cc2324c3cf4e1a89784accda.webp?v=1758525725"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bfcd2e3e464d4a5cc2324c3cf4e1a89784accda.webp?v=1758525725","width":2000},{"alt":null,"id":26084731879523,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e23d6292025e8fe793d2d26806e6dc4ce9adaac4.webp?v=1758525725"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e23d6292025e8fe793d2d26806e6dc4ce9adaac4.webp?v=1758525725","width":2000},{"alt":null,"id":26084732043363,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bfc6349126c9e4bddbfcd776a5ce943e46205ed.webp?v=1758525726"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bfc6349126c9e4bddbfcd776a5ce943e46205ed.webp?v=1758525726","width":2000},{"alt":null,"id":26084732272739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19c36a3a46c641a1a4548ee2edc751746ab3cc32.webp?v=1758525726"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19c36a3a46c641a1a4548ee2edc751746ab3cc32.webp?v=1758525726","width":2000},{"alt":null,"id":26084732469347,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13e46eb9bdf9fda5d7f9d6f8f9da1d07fcf06313.webp?v=1758525727"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13e46eb9bdf9fda5d7f9d6f8f9da1d07fcf06313.webp?v=1758525727","width":2000},{"alt":null,"id":26084732698723,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dccb7bba4acb6aa838a11f12ffc3c153e15ce9f5.webp?v=1758525727"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dccb7bba4acb6aa838a11f12ffc3c153e15ce9f5.webp?v=1758525727","width":2000},{"alt":null,"id":26084732960867,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d80efa7b993c70cee377b3ffe876a172627df0c3.webp?v=1758525728"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d80efa7b993c70cee377b3ffe876a172627df0c3.webp?v=1758525728","width":2000},{"alt":null,"id":26084733288547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9a0f33a95489559856965dcf896d33741f9c82b.webp?v=1758525729"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9a0f33a95489559856965dcf896d33741f9c82b.webp?v=1758525729","width":2000},{"alt":null,"id":26084733517923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cda3d5016cd9a8e08089068f58f0a5cbb5c2db0.webp?v=1758525729"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cda3d5016cd9a8e08089068f58f0a5cbb5c2db0.webp?v=1758525729","width":2000},{"alt":null,"id":26084733812835,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a228ab44b5f1be37482897480a46ed6a17b491bf.webp?v=1758525730"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a228ab44b5f1be37482897480a46ed6a17b491bf.webp?v=1758525730","width":2000},{"alt":null,"id":26084734009443,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5e67d6e0d09e9754334c3225453257423d65ca.webp?v=1758525730"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5e67d6e0d09e9754334c3225453257423d65ca.webp?v=1758525730","width":2000},{"alt":null,"id":26084734140515,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3652a84d6195e0c593a131db3ab5f20e89d23e69.webp?v=1758525731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3652a84d6195e0c593a131db3ab5f20e89d23e69.webp?v=1758525731","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43742998495331,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514290999395,"product_id":7888407494755,"position":9,"created_at":"2025-09-22T15:22:07+08:00","updated_at":"2025-09-22T15:22:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cda3d5016cd9a8e08089068f58f0a5cbb5c2db0.webp?v=1758525729","variant_ids":[43742998495331]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) KINGJUN 太空貼貼貼 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-IQ06","featured_media":{"alt":null,"id":26084733517923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cda3d5016cd9a8e08089068f58f0a5cbb5c2db0.webp?v=1758525729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43742998691939,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514289524835,"product_id":7888407494755,"position":3,"created_at":"2025-09-22T15:22:04+08:00","updated_at":"2025-09-22T15:22:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bfc6349126c9e4bddbfcd776a5ce943e46205ed.webp?v=1758525726","variant_ids":[43742998691939]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) KINGJUN 太空貼貼貼 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-IQ06","featured_media":{"alt":null,"id":26084732043363,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bfc6349126c9e4bddbfcd776a5ce943e46205ed.webp?v=1758525726"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43742998757475,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514291261539,"product_id":7888407494755,"position":10,"created_at":"2025-09-22T15:22:08+08:00","updated_at":"2025-09-22T15:22:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a228ab44b5f1be37482897480a46ed6a17b491bf.webp?v=1758525730","variant_ids":[43742998757475]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) KINGJUN 太空貼貼貼 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-IQ06","featured_media":{"alt":null,"id":26084733812835,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a228ab44b5f1be37482897480a46ed6a17b491bf.webp?v=1758525730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43742998495331,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-IQ06","requires_shipping":true,"taxable":true,"featured_image":{"id":34514290999395,"product_id":7888407494755,"position":9,"created_at":"2025-09-22T15:22:07+08:00","updated_at":"2025-09-22T15:22:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cda3d5016cd9a8e08089068f58f0a5cbb5c2db0.webp?v=1758525729","variant_ids":[43742998495331]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) KINGJUN 太空貼貼貼 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-IQ06","featured_media":{"alt":null,"id":26084733517923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cda3d5016cd9a8e08089068f58f0a5cbb5c2db0.webp?v=1758525729"}},"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: "停產" }