$product = {"id":7921931649123,"title":"iPhone XR Mod NX Incrediville 怪奇事物所 阿媽家的吻","handle":"iphone-xr-mod-nx-hd74","description":null,"published_at":"2025-11-13T09:45:30+08:00","created_at":"2025-11-13T09:28:02+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-incrediville","device-iPhone XR","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":43834584268899,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01085C1-HD74","requires_shipping":true,"taxable":true,"featured_image":{"id":34793928032355,"product_id":7921931649123,"position":4,"created_at":"2025-11-13T09:28:09+08:00","updated_at":"2025-11-13T09:28:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a97f101515e33e1fec7e07d37aa58a774aeb6ee7.webp?v=1762997291","variant_ids":[43834584268899]},"available":true,"name":"iPhone XR Mod NX Incrediville 怪奇事物所 阿媽家的吻 - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01085C1-HD74","featured_media":{"alt":null,"id":26359348330595,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a97f101515e33e1fec7e07d37aa58a774aeb6ee7.webp?v=1762997291"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43834585317475,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0108524-HD74","requires_shipping":true,"taxable":true,"featured_image":{"id":34793927770211,"product_id":7921931649123,"position":3,"created_at":"2025-11-13T09:28:09+08:00","updated_at":"2025-11-13T09:28:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91fca4428e8896896ce778f1f96681c2c67fd1bc.webp?v=1762997291","variant_ids":[43834585317475]},"available":true,"name":"iPhone XR 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":"NPB0108524-HD74","featured_media":{"alt":null,"id":26359348068451,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91fca4428e8896896ce778f1f96681c2c67fd1bc.webp?v=1762997291"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43834585415779,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0108504-HD74","requires_shipping":true,"taxable":true,"featured_image":{"id":34793928818787,"product_id":7921931649123,"position":7,"created_at":"2025-11-13T09:28:12+08:00","updated_at":"2025-11-13T09:28:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5274303514038f7f86e693ffdad40f1d68b850ba.webp?v=1762997293","variant_ids":[43834585415779]},"available":true,"name":"iPhone XR 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":"NPB0108504-HD74","featured_media":{"alt":null,"id":26359349117027,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5274303514038f7f86e693ffdad40f1d68b850ba.webp?v=1762997293"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43834585546851,"title":"Camo Green","option1":"Camo Green","option2":null,"option3":null,"sku":"NPB0108515-HD74","requires_shipping":true,"taxable":true,"featured_image":{"id":34793929212003,"product_id":7921931649123,"position":9,"created_at":"2025-11-13T09:28:13+08:00","updated_at":"2025-11-13T09:28:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a03b9b9c2ee2d05a2dd78406e22d2be92200b59.webp?v=1762997295","variant_ids":[43834585546851]},"available":true,"name":"iPhone XR Mod NX Incrediville 怪奇事物所 阿媽家的吻 - Camo Green","public_title":"Camo Green","options":["Camo Green"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108515-HD74","featured_media":{"alt":null,"id":26359349543011,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a03b9b9c2ee2d05a2dd78406e22d2be92200b59.webp?v=1762997295"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d18bd06c9738cd054d4f58c3f1a9c18a4cdd6742.webp?v=1762997290","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5bf6d9386e26db17e0c00830f11404c9b1fed0d.webp?v=1762997290","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91fca4428e8896896ce778f1f96681c2c67fd1bc.webp?v=1762997291","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a97f101515e33e1fec7e07d37aa58a774aeb6ee7.webp?v=1762997291","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4eef0456890c917f7f0647a167156d9cf944133f.webp?v=1762997292","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c77c00ad88f93bc254de8bd669867cbcbc7b73a.webp?v=1762997293","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5274303514038f7f86e693ffdad40f1d68b850ba.webp?v=1762997293","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd7461a217f11afc862ecade940340cf8298c174.webp?v=1762997294","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a03b9b9c2ee2d05a2dd78406e22d2be92200b59.webp?v=1762997295","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db5569780fa7a693417ff8559395184ba42bf59a.webp?v=1762997296"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d18bd06c9738cd054d4f58c3f1a9c18a4cdd6742.webp?v=1762997290","options":["color"],"media":[{"alt":null,"id":26359347445859,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d18bd06c9738cd054d4f58c3f1a9c18a4cdd6742.webp?v=1762997290"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d18bd06c9738cd054d4f58c3f1a9c18a4cdd6742.webp?v=1762997290","width":2000},{"alt":null,"id":26359347806307,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5bf6d9386e26db17e0c00830f11404c9b1fed0d.webp?v=1762997290"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5bf6d9386e26db17e0c00830f11404c9b1fed0d.webp?v=1762997290","width":2000},{"alt":null,"id":26359348068451,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91fca4428e8896896ce778f1f96681c2c67fd1bc.webp?v=1762997291"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91fca4428e8896896ce778f1f96681c2c67fd1bc.webp?v=1762997291","width":2000},{"alt":null,"id":26359348330595,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a97f101515e33e1fec7e07d37aa58a774aeb6ee7.webp?v=1762997291"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a97f101515e33e1fec7e07d37aa58a774aeb6ee7.webp?v=1762997291","width":2000},{"alt":null,"id":26359348658275,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4eef0456890c917f7f0647a167156d9cf944133f.webp?v=1762997292"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4eef0456890c917f7f0647a167156d9cf944133f.webp?v=1762997292","width":2000},{"alt":null,"id":26359348887651,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c77c00ad88f93bc254de8bd669867cbcbc7b73a.webp?v=1762997293"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c77c00ad88f93bc254de8bd669867cbcbc7b73a.webp?v=1762997293","width":2000},{"alt":null,"id":26359349117027,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5274303514038f7f86e693ffdad40f1d68b850ba.webp?v=1762997293"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5274303514038f7f86e693ffdad40f1d68b850ba.webp?v=1762997293","width":2000},{"alt":null,"id":26359349346403,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd7461a217f11afc862ecade940340cf8298c174.webp?v=1762997294"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd7461a217f11afc862ecade940340cf8298c174.webp?v=1762997294","width":2000},{"alt":null,"id":26359349543011,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a03b9b9c2ee2d05a2dd78406e22d2be92200b59.webp?v=1762997295"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a03b9b9c2ee2d05a2dd78406e22d2be92200b59.webp?v=1762997295","width":2000},{"alt":null,"id":26359349674083,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db5569780fa7a693417ff8559395184ba42bf59a.webp?v=1762997296"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db5569780fa7a693417ff8559395184ba42bf59a.webp?v=1762997296","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43834584268899,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01085C1-HD74","requires_shipping":true,"taxable":true,"featured_image":{"id":34793928032355,"product_id":7921931649123,"position":4,"created_at":"2025-11-13T09:28:09+08:00","updated_at":"2025-11-13T09:28:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a97f101515e33e1fec7e07d37aa58a774aeb6ee7.webp?v=1762997291","variant_ids":[43834584268899]},"available":true,"name":"iPhone XR Mod NX Incrediville 怪奇事物所 阿媽家的吻 - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01085C1-HD74","featured_media":{"alt":null,"id":26359348330595,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a97f101515e33e1fec7e07d37aa58a774aeb6ee7.webp?v=1762997291"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43834585317475,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0108524-HD74","requires_shipping":true,"taxable":true,"featured_image":{"id":34793927770211,"product_id":7921931649123,"position":3,"created_at":"2025-11-13T09:28:09+08:00","updated_at":"2025-11-13T09:28:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91fca4428e8896896ce778f1f96681c2c67fd1bc.webp?v=1762997291","variant_ids":[43834585317475]},"available":true,"name":"iPhone XR 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":"NPB0108524-HD74","featured_media":{"alt":null,"id":26359348068451,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91fca4428e8896896ce778f1f96681c2c67fd1bc.webp?v=1762997291"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43834585415779,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0108504-HD74","requires_shipping":true,"taxable":true,"featured_image":{"id":34793928818787,"product_id":7921931649123,"position":7,"created_at":"2025-11-13T09:28:12+08:00","updated_at":"2025-11-13T09:28:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5274303514038f7f86e693ffdad40f1d68b850ba.webp?v=1762997293","variant_ids":[43834585415779]},"available":true,"name":"iPhone XR 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":"NPB0108504-HD74","featured_media":{"alt":null,"id":26359349117027,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5274303514038f7f86e693ffdad40f1d68b850ba.webp?v=1762997293"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43834585546851,"title":"Camo Green","option1":"Camo Green","option2":null,"option3":null,"sku":"NPB0108515-HD74","requires_shipping":true,"taxable":true,"featured_image":{"id":34793929212003,"product_id":7921931649123,"position":9,"created_at":"2025-11-13T09:28:13+08:00","updated_at":"2025-11-13T09:28:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a03b9b9c2ee2d05a2dd78406e22d2be92200b59.webp?v=1762997295","variant_ids":[43834585546851]},"available":true,"name":"iPhone XR Mod NX Incrediville 怪奇事物所 阿媽家的吻 - Camo Green","public_title":"Camo Green","options":["Camo Green"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108515-HD74","featured_media":{"alt":null,"id":26359349543011,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a03b9b9c2ee2d05a2dd78406e22d2be92200b59.webp?v=1762997295"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43834584268899,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01085C1-HD74","requires_shipping":true,"taxable":true,"featured_image":{"id":34793928032355,"product_id":7921931649123,"position":4,"created_at":"2025-11-13T09:28:09+08:00","updated_at":"2025-11-13T09:28:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a97f101515e33e1fec7e07d37aa58a774aeb6ee7.webp?v=1762997291","variant_ids":[43834584268899]},"available":true,"name":"iPhone XR Mod NX Incrediville 怪奇事物所 阿媽家的吻 - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01085C1-HD74","featured_media":{"alt":null,"id":26359348330595,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a97f101515e33e1fec7e07d37aa58a774aeb6ee7.webp?v=1762997291"}},"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: "停產" }