$product = {"id":7944301314147,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) 右手超人 晚安","handle":"iphone-14-plus-mod-nx-magsafe-yoh02","description":null,"published_at":"2025-12-24T10:18:39+08:00","created_at":"2025-12-23T16:52:55+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-yohand","device-iPhone 14 Plus","merge","reseller-yohand"],"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":43908001103971,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-YOH02","requires_shipping":true,"taxable":true,"featured_image":{"id":35002970800227,"product_id":7944301314147,"position":13,"created_at":"2025-12-23T16:53:45+08:00","updated_at":"2025-12-23T16:53:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cede52f92af66c8090bce565342f4c5bc8e93f50.webp?v=1766480026","variant_ids":[43908001103971]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 右手超人 晚安 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-YOH02","featured_media":{"alt":null,"id":26563261694051,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cede52f92af66c8090bce565342f4c5bc8e93f50.webp?v=1766480026"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10eec045725daae1b5f37fe25d572df8fcb90980.webp?v=1766480019","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75ece9740abe3dde47f6dd45734d56f623810cd4.webp?v=1766480020","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b401dc3c79f52dc29bec9ab9bb55938cbe9045d.webp?v=1766480021","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a09a8f9aaace514d9f326b61ee93f7f3b064afa.webp?v=1766480021","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f12c59727c265e9885ec19a42952e214e42fc5f5.webp?v=1766480022","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7cadfbaa8214bcec4d60875d5474601bf3ac3a9.webp?v=1766480022","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d001cbbaa670df705623ac8cde4f6f81e2c984f.webp?v=1766480023","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/410cba97ada0ccdcb95ebe3a1dddbd113ab3012c.webp?v=1766480024","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c59c34914a35278116dca12b459dff883607e380.webp?v=1766480024","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57e9d77fc9e5c14afb33a12d213925d0913983ac.webp?v=1766480024","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/030aef3c6a66bb7f455ca70d5882cab0c2f5ecb1.webp?v=1766480026","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51fff3068a956e18c5368e4a26a6fd34ac8a6b71.webp?v=1766480026","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cede52f92af66c8090bce565342f4c5bc8e93f50.webp?v=1766480026"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10eec045725daae1b5f37fe25d572df8fcb90980.webp?v=1766480019","options":["color"],"media":[{"alt":null,"id":26563256582243,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10eec045725daae1b5f37fe25d572df8fcb90980.webp?v=1766480019"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10eec045725daae1b5f37fe25d572df8fcb90980.webp?v=1766480019","width":2000},{"alt":null,"id":26563257008227,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75ece9740abe3dde47f6dd45734d56f623810cd4.webp?v=1766480020"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75ece9740abe3dde47f6dd45734d56f623810cd4.webp?v=1766480020","width":2000},{"alt":null,"id":26563257401443,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b401dc3c79f52dc29bec9ab9bb55938cbe9045d.webp?v=1766480021"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b401dc3c79f52dc29bec9ab9bb55938cbe9045d.webp?v=1766480021","width":2000},{"alt":null,"id":26563257860195,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a09a8f9aaace514d9f326b61ee93f7f3b064afa.webp?v=1766480021"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a09a8f9aaace514d9f326b61ee93f7f3b064afa.webp?v=1766480021","width":2000},{"alt":null,"id":26563258024035,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f12c59727c265e9885ec19a42952e214e42fc5f5.webp?v=1766480022"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f12c59727c265e9885ec19a42952e214e42fc5f5.webp?v=1766480022","width":2000},{"alt":null,"id":26563258450019,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7cadfbaa8214bcec4d60875d5474601bf3ac3a9.webp?v=1766480022"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7cadfbaa8214bcec4d60875d5474601bf3ac3a9.webp?v=1766480022","width":2000},{"alt":null,"id":26563259039843,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d001cbbaa670df705623ac8cde4f6f81e2c984f.webp?v=1766480023"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d001cbbaa670df705623ac8cde4f6f81e2c984f.webp?v=1766480023","width":2000},{"alt":null,"id":26563259433059,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/410cba97ada0ccdcb95ebe3a1dddbd113ab3012c.webp?v=1766480024"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/410cba97ada0ccdcb95ebe3a1dddbd113ab3012c.webp?v=1766480024","width":2000},{"alt":null,"id":26563259826275,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c59c34914a35278116dca12b459dff883607e380.webp?v=1766480024"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c59c34914a35278116dca12b459dff883607e380.webp?v=1766480024","width":2000},{"alt":null,"id":26563260153955,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57e9d77fc9e5c14afb33a12d213925d0913983ac.webp?v=1766480024"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57e9d77fc9e5c14afb33a12d213925d0913983ac.webp?v=1766480024","width":2000},{"alt":null,"id":26563260547171,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/030aef3c6a66bb7f455ca70d5882cab0c2f5ecb1.webp?v=1766480026"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/030aef3c6a66bb7f455ca70d5882cab0c2f5ecb1.webp?v=1766480026","width":2000},{"alt":null,"id":26563261300835,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51fff3068a956e18c5368e4a26a6fd34ac8a6b71.webp?v=1766480026"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51fff3068a956e18c5368e4a26a6fd34ac8a6b71.webp?v=1766480026","width":2000},{"alt":null,"id":26563261694051,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cede52f92af66c8090bce565342f4c5bc8e93f50.webp?v=1766480026"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cede52f92af66c8090bce565342f4c5bc8e93f50.webp?v=1766480026","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43908001103971,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-YOH02","requires_shipping":true,"taxable":true,"featured_image":{"id":35002970800227,"product_id":7944301314147,"position":13,"created_at":"2025-12-23T16:53:45+08:00","updated_at":"2025-12-23T16:53:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cede52f92af66c8090bce565342f4c5bc8e93f50.webp?v=1766480026","variant_ids":[43908001103971]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 右手超人 晚安 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-YOH02","featured_media":{"alt":null,"id":26563261694051,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cede52f92af66c8090bce565342f4c5bc8e93f50.webp?v=1766480026"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43908001103971,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-YOH02","requires_shipping":true,"taxable":true,"featured_image":{"id":35002970800227,"product_id":7944301314147,"position":13,"created_at":"2025-12-23T16:53:45+08:00","updated_at":"2025-12-23T16:53:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cede52f92af66c8090bce565342f4c5bc8e93f50.webp?v=1766480026","variant_ids":[43908001103971]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 右手超人 晚安 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-YOH02","featured_media":{"alt":null,"id":26563261694051,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cede52f92af66c8090bce565342f4c5bc8e93f50.webp?v=1766480026"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }