$product = {"id":7921134370915,"title":"iPhone 14 Pro Mod NX Incrediville 怪奇事物所 所長的力量泉源","handle":"iphone-14-pro-mod-nx-hd68","description":null,"published_at":"2025-11-13T09:49:06+08:00","created_at":"2025-11-11T09:44:38+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-incrediville","device-iPhone 14 Pro","merge","reseller-incrediville"],"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":43830898557027,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-HD68","requires_shipping":true,"taxable":true,"featured_image":{"id":34786145861731,"product_id":7921134370915,"position":11,"created_at":"2025-11-11T09:44:49+08:00","updated_at":"2025-11-11T09:44:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99da6ede6a2104782bfce53e1f66de0e7dd1e501.webp?v=1762825492","variant_ids":[43830898557027]},"available":true,"name":"iPhone 14 Pro Mod NX Incrediville 怪奇事物所 所長的力量泉源 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-HD68","featured_media":{"alt":null,"id":26351602991203,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99da6ede6a2104782bfce53e1f66de0e7dd1e501.webp?v=1762825492"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43830898720867,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-HD68","requires_shipping":true,"taxable":true,"featured_image":{"id":34786142716003,"product_id":7921134370915,"position":1,"created_at":"2025-11-11T09:44:43+08:00","updated_at":"2025-11-11T09:44:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8449187d7c0c83c0c694ec7862cad5c19d7065cc.webp?v=1762825485","variant_ids":[43830898720867]},"available":true,"name":"iPhone 14 Pro Mod NX Incrediville 怪奇事物所 所長的力量泉源 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-HD68","featured_media":{"alt":null,"id":26351599747171,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8449187d7c0c83c0c694ec7862cad5c19d7065cc.webp?v=1762825485"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43830898884707,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-HD68","requires_shipping":true,"taxable":true,"featured_image":{"id":34786142879843,"product_id":7921134370915,"position":2,"created_at":"2025-11-11T09:44:44+08:00","updated_at":"2025-11-11T09:44:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97ba5d912a3e839f74a7ca915b9d9739283cba66.webp?v=1762825485","variant_ids":[43830898884707]},"available":true,"name":"iPhone 14 Pro Mod NX Incrediville 怪奇事物所 所長的力量泉源 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-HD68","featured_media":{"alt":null,"id":26351600009315,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97ba5d912a3e839f74a7ca915b9d9739283cba66.webp?v=1762825485"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8449187d7c0c83c0c694ec7862cad5c19d7065cc.webp?v=1762825485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97ba5d912a3e839f74a7ca915b9d9739283cba66.webp?v=1762825485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a26b771c6b3598630f277b0653347b7340fa550d.webp?v=1762825486","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cbab2a7cd35afecf2d37fdfc17eede51ada8ffa.webp?v=1762825487","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a42005755da388c0217ce3b47421f3a0f29bdc0.webp?v=1762825487","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a830063a91554f29da4958968147061bed623a5.webp?v=1762825488","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37e1b153bf38661236d75547bf0cfce84bccd835.webp?v=1762825489","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/690d84f36feb6dd16fdeafac7a91134775b1ebaf.webp?v=1762825490","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db3ffa988d408691a99985488bfaf9d2ac85ed49.webp?v=1762825490","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654313b0cad33efae6ae4cf284f61cc199e9c3fe.webp?v=1762825491","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99da6ede6a2104782bfce53e1f66de0e7dd1e501.webp?v=1762825492","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/847d4d2a3c70ca7368502d60d6a61e9a1e2cf112.webp?v=1762825492"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8449187d7c0c83c0c694ec7862cad5c19d7065cc.webp?v=1762825485","options":["color"],"media":[{"alt":null,"id":26351599747171,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8449187d7c0c83c0c694ec7862cad5c19d7065cc.webp?v=1762825485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8449187d7c0c83c0c694ec7862cad5c19d7065cc.webp?v=1762825485","width":2000},{"alt":null,"id":26351600009315,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97ba5d912a3e839f74a7ca915b9d9739283cba66.webp?v=1762825485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97ba5d912a3e839f74a7ca915b9d9739283cba66.webp?v=1762825485","width":2000},{"alt":null,"id":26351600238691,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a26b771c6b3598630f277b0653347b7340fa550d.webp?v=1762825486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a26b771c6b3598630f277b0653347b7340fa550d.webp?v=1762825486","width":2000},{"alt":null,"id":26351600500835,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cbab2a7cd35afecf2d37fdfc17eede51ada8ffa.webp?v=1762825487"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cbab2a7cd35afecf2d37fdfc17eede51ada8ffa.webp?v=1762825487","width":2000},{"alt":null,"id":26351601090659,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a42005755da388c0217ce3b47421f3a0f29bdc0.webp?v=1762825487"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a42005755da388c0217ce3b47421f3a0f29bdc0.webp?v=1762825487","width":2000},{"alt":null,"id":26351601418339,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a830063a91554f29da4958968147061bed623a5.webp?v=1762825488"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a830063a91554f29da4958968147061bed623a5.webp?v=1762825488","width":2000},{"alt":null,"id":26351601713251,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37e1b153bf38661236d75547bf0cfce84bccd835.webp?v=1762825489"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37e1b153bf38661236d75547bf0cfce84bccd835.webp?v=1762825489","width":2000},{"alt":null,"id":26351602073699,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/690d84f36feb6dd16fdeafac7a91134775b1ebaf.webp?v=1762825490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/690d84f36feb6dd16fdeafac7a91134775b1ebaf.webp?v=1762825490","width":2000},{"alt":null,"id":26351602335843,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db3ffa988d408691a99985488bfaf9d2ac85ed49.webp?v=1762825490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db3ffa988d408691a99985488bfaf9d2ac85ed49.webp?v=1762825490","width":2000},{"alt":null,"id":26351602630755,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654313b0cad33efae6ae4cf284f61cc199e9c3fe.webp?v=1762825491"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/654313b0cad33efae6ae4cf284f61cc199e9c3fe.webp?v=1762825491","width":2000},{"alt":null,"id":26351602991203,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99da6ede6a2104782bfce53e1f66de0e7dd1e501.webp?v=1762825492"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99da6ede6a2104782bfce53e1f66de0e7dd1e501.webp?v=1762825492","width":2000},{"alt":null,"id":26351603286115,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/847d4d2a3c70ca7368502d60d6a61e9a1e2cf112.webp?v=1762825492"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/847d4d2a3c70ca7368502d60d6a61e9a1e2cf112.webp?v=1762825492","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43830898557027,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-HD68","requires_shipping":true,"taxable":true,"featured_image":{"id":34786145861731,"product_id":7921134370915,"position":11,"created_at":"2025-11-11T09:44:49+08:00","updated_at":"2025-11-11T09:44:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99da6ede6a2104782bfce53e1f66de0e7dd1e501.webp?v=1762825492","variant_ids":[43830898557027]},"available":true,"name":"iPhone 14 Pro Mod NX Incrediville 怪奇事物所 所長的力量泉源 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-HD68","featured_media":{"alt":null,"id":26351602991203,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99da6ede6a2104782bfce53e1f66de0e7dd1e501.webp?v=1762825492"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43830898720867,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-HD68","requires_shipping":true,"taxable":true,"featured_image":{"id":34786142716003,"product_id":7921134370915,"position":1,"created_at":"2025-11-11T09:44:43+08:00","updated_at":"2025-11-11T09:44:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8449187d7c0c83c0c694ec7862cad5c19d7065cc.webp?v=1762825485","variant_ids":[43830898720867]},"available":true,"name":"iPhone 14 Pro Mod NX Incrediville 怪奇事物所 所長的力量泉源 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-HD68","featured_media":{"alt":null,"id":26351599747171,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8449187d7c0c83c0c694ec7862cad5c19d7065cc.webp?v=1762825485"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43830898884707,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-HD68","requires_shipping":true,"taxable":true,"featured_image":{"id":34786142879843,"product_id":7921134370915,"position":2,"created_at":"2025-11-11T09:44:44+08:00","updated_at":"2025-11-11T09:44:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97ba5d912a3e839f74a7ca915b9d9739283cba66.webp?v=1762825485","variant_ids":[43830898884707]},"available":true,"name":"iPhone 14 Pro Mod NX Incrediville 怪奇事物所 所長的力量泉源 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-HD68","featured_media":{"alt":null,"id":26351600009315,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97ba5d912a3e839f74a7ca915b9d9739283cba66.webp?v=1762825485"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43830898557027,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-HD68","requires_shipping":true,"taxable":true,"featured_image":{"id":34786145861731,"product_id":7921134370915,"position":11,"created_at":"2025-11-11T09:44:49+08:00","updated_at":"2025-11-11T09:44:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99da6ede6a2104782bfce53e1f66de0e7dd1e501.webp?v=1762825492","variant_ids":[43830898557027]},"available":true,"name":"iPhone 14 Pro Mod NX Incrediville 怪奇事物所 所長的力量泉源 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-HD68","featured_media":{"alt":null,"id":26351602991203,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99da6ede6a2104782bfce53e1f66de0e7dd1e501.webp?v=1762825492"}},"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: "停產" }