$product = {"id":7920216997987,"title":"iPhone 7 \/ 8 \/ SE \/ SE2 Mod NX Incrediville 怪奇事物所 所長的瑜珈時間","handle":"iphone-8-mod-nx-hd66","description":null,"published_at":"2025-11-13T09:53:47+08:00","created_at":"2025-11-10T10:13:04+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-incrediville","device-iPhone 8","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":43827953041507,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0105424-HD66","requires_shipping":true,"taxable":true,"featured_image":{"id":34786052997219,"product_id":7920216997987,"position":9,"created_at":"2025-11-11T09:40:31+08:00","updated_at":"2025-11-11T09:40:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c78451251b5fba797f08a55b71663de074f463_9b9dd9ba-f45b-4de5-81f6-41f45564e63a.webp?v=1762825233","variant_ids":[43827953041507]},"available":true,"name":"iPhone 7 \/ 8 \/ SE \/ SE2 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":"NPB0105424-HD66","featured_media":{"alt":null,"id":26351510093923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c78451251b5fba797f08a55b71663de074f463_9b9dd9ba-f45b-4de5-81f6-41f45564e63a.webp?v=1762825233"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525b85427bf3ea0329c741b061b5888652e88a10.webp?v=1762740791","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d74d98c0c41faa9c9085c7df3c6913acf826323.webp?v=1762740791","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60a097597fe29de370d68f7bee5b9488534e3c55.webp?v=1762740792","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/accbf20c8a9541537b48e0dcc2ce21496aa373bd.webp?v=1762740793","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c78451251b5fba797f08a55b71663de074f463.webp?v=1762740793","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6cdaa18d50cd0d51cd8a94b645513424ae1e73.webp?v=1762740794","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ff51c153dc57da26b004b2bffbdfc13175a07fb.webp?v=1762740794","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349024522728380eb904844336040443f9ac166a.webp?v=1762740795","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c78451251b5fba797f08a55b71663de074f463_9b9dd9ba-f45b-4de5-81f6-41f45564e63a.webp?v=1762825233","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d74d98c0c41faa9c9085c7df3c6913acf826323_5dd96cb8-6d37-405a-90fb-1f7391ffbaeb.webp?v=1762825234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/accbf20c8a9541537b48e0dcc2ce21496aa373bd_ef29c3e9-fe21-4c47-8d9d-f8ba7b2fe9b7.webp?v=1762825235","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525b85427bf3ea0329c741b061b5888652e88a10_c4b93e80-2aac-4a3b-aedc-1d1fef5ff0cd.webp?v=1762825235","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ff51c153dc57da26b004b2bffbdfc13175a07fb_c38d40bb-4458-433e-8cdb-96be53a5b300.webp?v=1762825236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6cdaa18d50cd0d51cd8a94b645513424ae1e73_32cfaa25-cc53-4c6d-9007-3d786b344bef.webp?v=1762825236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349024522728380eb904844336040443f9ac166a_56e773b5-8de5-4dee-be8a-ff6963824fa4.webp?v=1762825237","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60a097597fe29de370d68f7bee5b9488534e3c55_31bac415-fb21-468d-a3d5-5775de9c2932.webp?v=1762825238"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525b85427bf3ea0329c741b061b5888652e88a10.webp?v=1762740791","options":["color"],"media":[{"alt":null,"id":26346452615267,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525b85427bf3ea0329c741b061b5888652e88a10.webp?v=1762740791"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525b85427bf3ea0329c741b061b5888652e88a10.webp?v=1762740791","width":2000},{"alt":null,"id":26346452713571,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d74d98c0c41faa9c9085c7df3c6913acf826323.webp?v=1762740791"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d74d98c0c41faa9c9085c7df3c6913acf826323.webp?v=1762740791","width":2000},{"alt":null,"id":26346452811875,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60a097597fe29de370d68f7bee5b9488534e3c55.webp?v=1762740792"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60a097597fe29de370d68f7bee5b9488534e3c55.webp?v=1762740792","width":2000},{"alt":null,"id":26346452942947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/accbf20c8a9541537b48e0dcc2ce21496aa373bd.webp?v=1762740793"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/accbf20c8a9541537b48e0dcc2ce21496aa373bd.webp?v=1762740793","width":2000},{"alt":null,"id":26346453041251,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c78451251b5fba797f08a55b71663de074f463.webp?v=1762740793"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c78451251b5fba797f08a55b71663de074f463.webp?v=1762740793","width":2000},{"alt":null,"id":26346453205091,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6cdaa18d50cd0d51cd8a94b645513424ae1e73.webp?v=1762740794"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6cdaa18d50cd0d51cd8a94b645513424ae1e73.webp?v=1762740794","width":2000},{"alt":null,"id":26346453368931,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ff51c153dc57da26b004b2bffbdfc13175a07fb.webp?v=1762740794"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ff51c153dc57da26b004b2bffbdfc13175a07fb.webp?v=1762740794","width":2000},{"alt":null,"id":26346453663843,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349024522728380eb904844336040443f9ac166a.webp?v=1762740795"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349024522728380eb904844336040443f9ac166a.webp?v=1762740795","width":2000},{"alt":null,"id":26351510093923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c78451251b5fba797f08a55b71663de074f463_9b9dd9ba-f45b-4de5-81f6-41f45564e63a.webp?v=1762825233"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c78451251b5fba797f08a55b71663de074f463_9b9dd9ba-f45b-4de5-81f6-41f45564e63a.webp?v=1762825233","width":2000},{"alt":null,"id":26351510356067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d74d98c0c41faa9c9085c7df3c6913acf826323_5dd96cb8-6d37-405a-90fb-1f7391ffbaeb.webp?v=1762825234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d74d98c0c41faa9c9085c7df3c6913acf826323_5dd96cb8-6d37-405a-90fb-1f7391ffbaeb.webp?v=1762825234","width":2000},{"alt":null,"id":26351510650979,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/accbf20c8a9541537b48e0dcc2ce21496aa373bd_ef29c3e9-fe21-4c47-8d9d-f8ba7b2fe9b7.webp?v=1762825235"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/accbf20c8a9541537b48e0dcc2ce21496aa373bd_ef29c3e9-fe21-4c47-8d9d-f8ba7b2fe9b7.webp?v=1762825235","width":2000},{"alt":null,"id":26351510945891,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525b85427bf3ea0329c741b061b5888652e88a10_c4b93e80-2aac-4a3b-aedc-1d1fef5ff0cd.webp?v=1762825235"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/525b85427bf3ea0329c741b061b5888652e88a10_c4b93e80-2aac-4a3b-aedc-1d1fef5ff0cd.webp?v=1762825235","width":2000},{"alt":null,"id":26351511273571,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ff51c153dc57da26b004b2bffbdfc13175a07fb_c38d40bb-4458-433e-8cdb-96be53a5b300.webp?v=1762825236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ff51c153dc57da26b004b2bffbdfc13175a07fb_c38d40bb-4458-433e-8cdb-96be53a5b300.webp?v=1762825236","width":2000},{"alt":null,"id":26351511601251,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6cdaa18d50cd0d51cd8a94b645513424ae1e73_32cfaa25-cc53-4c6d-9007-3d786b344bef.webp?v=1762825236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec6cdaa18d50cd0d51cd8a94b645513424ae1e73_32cfaa25-cc53-4c6d-9007-3d786b344bef.webp?v=1762825236","width":2000},{"alt":null,"id":26351511961699,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349024522728380eb904844336040443f9ac166a_56e773b5-8de5-4dee-be8a-ff6963824fa4.webp?v=1762825237"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/349024522728380eb904844336040443f9ac166a_56e773b5-8de5-4dee-be8a-ff6963824fa4.webp?v=1762825237","width":2000},{"alt":null,"id":26351512354915,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60a097597fe29de370d68f7bee5b9488534e3c55_31bac415-fb21-468d-a3d5-5775de9c2932.webp?v=1762825238"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60a097597fe29de370d68f7bee5b9488534e3c55_31bac415-fb21-468d-a3d5-5775de9c2932.webp?v=1762825238","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43827953041507,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0105424-HD66","requires_shipping":true,"taxable":true,"featured_image":{"id":34786052997219,"product_id":7920216997987,"position":9,"created_at":"2025-11-11T09:40:31+08:00","updated_at":"2025-11-11T09:40:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c78451251b5fba797f08a55b71663de074f463_9b9dd9ba-f45b-4de5-81f6-41f45564e63a.webp?v=1762825233","variant_ids":[43827953041507]},"available":true,"name":"iPhone 7 \/ 8 \/ SE \/ SE2 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":"NPB0105424-HD66","featured_media":{"alt":null,"id":26351510093923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c78451251b5fba797f08a55b71663de074f463_9b9dd9ba-f45b-4de5-81f6-41f45564e63a.webp?v=1762825233"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43827953041507,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0105424-HD66","requires_shipping":true,"taxable":true,"featured_image":{"id":34786052997219,"product_id":7920216997987,"position":9,"created_at":"2025-11-11T09:40:31+08:00","updated_at":"2025-11-11T09:40:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c78451251b5fba797f08a55b71663de074f463_9b9dd9ba-f45b-4de5-81f6-41f45564e63a.webp?v=1762825233","variant_ids":[43827953041507]},"available":true,"name":"iPhone 7 \/ 8 \/ SE \/ SE2 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":"NPB0105424-HD66","featured_media":{"alt":null,"id":26351510093923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c78451251b5fba797f08a55b71663de074f463_9b9dd9ba-f45b-4de5-81f6-41f45564e63a.webp?v=1762825233"}},"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: "停產" }