$product = {"id":7892610285667,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) Aaron Chang Waiting for","handle":"iphone-14-pro-mod-nx-magsafe-printable-aar08","description":null,"published_at":"2025-10-03T09:52:36+08:00","created_at":"2025-10-02T09:47:14+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-aaronchang","device-iPhone 14 Pro","merge","reseller-aaronchang"],"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":43756480004195,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-AAR08","requires_shipping":true,"taxable":true,"featured_image":{"id":34543526248547,"product_id":7892610285667,"position":6,"created_at":"2025-10-02T09:47:23+08:00","updated_at":"2025-10-02T09:47:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb776c5aed5d3e5e2f1154826c7eb03656354503.webp?v=1759369645","variant_ids":[43756480004195]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Aaron Chang Waiting for - 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-AAR08","featured_media":{"alt":null,"id":26113281130595,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb776c5aed5d3e5e2f1154826c7eb03656354503.webp?v=1759369645"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756480036963,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-AAR08","requires_shipping":true,"taxable":true,"featured_image":{"id":34543525658723,"product_id":7892610285667,"position":2,"created_at":"2025-10-02T09:47:19+08:00","updated_at":"2025-10-02T09:47:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a80315061e12ede67899623c58a26d5b42e7b10.webp?v=1759369641","variant_ids":[43756480036963]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Aaron Chang Waiting for - 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-AAR08","featured_media":{"alt":null,"id":26113280540771,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a80315061e12ede67899623c58a26d5b42e7b10.webp?v=1759369641"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756480233571,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-AAR08","requires_shipping":true,"taxable":true,"featured_image":{"id":34543526051939,"product_id":7892610285667,"position":5,"created_at":"2025-10-02T09:47:22+08:00","updated_at":"2025-10-02T09:47:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa9c97a3d6ac5f61cdfc92da6c0403b4d3b207bc.webp?v=1759369644","variant_ids":[43756480233571]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Aaron Chang Waiting for - 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-AAR08","featured_media":{"alt":null,"id":26113280966755,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa9c97a3d6ac5f61cdfc92da6c0403b4d3b207bc.webp?v=1759369644"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28fbb1454f9666e543f3eedcbdd094e8cd423f42.webp?v=1759369640","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a80315061e12ede67899623c58a26d5b42e7b10.webp?v=1759369641","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fb67980e8c7a728c7e8e35aae40156c4b6db8c4.webp?v=1759369642","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9fea6d6f9872478302419be02f6d72fdd0c14bb.webp?v=1759369642","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa9c97a3d6ac5f61cdfc92da6c0403b4d3b207bc.webp?v=1759369644","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb776c5aed5d3e5e2f1154826c7eb03656354503.webp?v=1759369645","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30b0e7b5be07a496221e7efc94a1bcc2b63ba4a8.webp?v=1759369645","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a987f1ac8c5ef45a55d39cb154c34bbb2cab99a4.webp?v=1759369646","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfbb7b8893b11e6bded0084a79feb6cd21565fa3.webp?v=1759369647","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/561a25565cfbb7b8e9e193a441fd8da1957f6019.webp?v=1759369648","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4a8297593579cd182eef73cb05af7d336c59b62.webp?v=1759369648","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08714f5d31e335c28cd978a2d522ff514a016cf1.webp?v=1759369649"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28fbb1454f9666e543f3eedcbdd094e8cd423f42.webp?v=1759369640","options":["color"],"media":[{"alt":null,"id":26113280376931,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28fbb1454f9666e543f3eedcbdd094e8cd423f42.webp?v=1759369640"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28fbb1454f9666e543f3eedcbdd094e8cd423f42.webp?v=1759369640","width":2000},{"alt":null,"id":26113280540771,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a80315061e12ede67899623c58a26d5b42e7b10.webp?v=1759369641"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a80315061e12ede67899623c58a26d5b42e7b10.webp?v=1759369641","width":2000},{"alt":null,"id":26113280704611,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fb67980e8c7a728c7e8e35aae40156c4b6db8c4.webp?v=1759369642"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fb67980e8c7a728c7e8e35aae40156c4b6db8c4.webp?v=1759369642","width":2000},{"alt":null,"id":26113280901219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9fea6d6f9872478302419be02f6d72fdd0c14bb.webp?v=1759369642"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9fea6d6f9872478302419be02f6d72fdd0c14bb.webp?v=1759369642","width":2000},{"alt":null,"id":26113280966755,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa9c97a3d6ac5f61cdfc92da6c0403b4d3b207bc.webp?v=1759369644"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa9c97a3d6ac5f61cdfc92da6c0403b4d3b207bc.webp?v=1759369644","width":2000},{"alt":null,"id":26113281130595,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb776c5aed5d3e5e2f1154826c7eb03656354503.webp?v=1759369645"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb776c5aed5d3e5e2f1154826c7eb03656354503.webp?v=1759369645","width":2000},{"alt":null,"id":26113281261667,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30b0e7b5be07a496221e7efc94a1bcc2b63ba4a8.webp?v=1759369645"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30b0e7b5be07a496221e7efc94a1bcc2b63ba4a8.webp?v=1759369645","width":2000},{"alt":null,"id":26113281458275,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a987f1ac8c5ef45a55d39cb154c34bbb2cab99a4.webp?v=1759369646"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a987f1ac8c5ef45a55d39cb154c34bbb2cab99a4.webp?v=1759369646","width":2000},{"alt":null,"id":26113281589347,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfbb7b8893b11e6bded0084a79feb6cd21565fa3.webp?v=1759369647"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bfbb7b8893b11e6bded0084a79feb6cd21565fa3.webp?v=1759369647","width":2000},{"alt":null,"id":26113281851491,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/561a25565cfbb7b8e9e193a441fd8da1957f6019.webp?v=1759369648"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/561a25565cfbb7b8e9e193a441fd8da1957f6019.webp?v=1759369648","width":2000},{"alt":null,"id":26113282015331,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4a8297593579cd182eef73cb05af7d336c59b62.webp?v=1759369648"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4a8297593579cd182eef73cb05af7d336c59b62.webp?v=1759369648","width":2000},{"alt":null,"id":26113282146403,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08714f5d31e335c28cd978a2d522ff514a016cf1.webp?v=1759369649"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08714f5d31e335c28cd978a2d522ff514a016cf1.webp?v=1759369649","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43756480004195,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-AAR08","requires_shipping":true,"taxable":true,"featured_image":{"id":34543526248547,"product_id":7892610285667,"position":6,"created_at":"2025-10-02T09:47:23+08:00","updated_at":"2025-10-02T09:47:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb776c5aed5d3e5e2f1154826c7eb03656354503.webp?v=1759369645","variant_ids":[43756480004195]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Aaron Chang Waiting for - 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-AAR08","featured_media":{"alt":null,"id":26113281130595,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb776c5aed5d3e5e2f1154826c7eb03656354503.webp?v=1759369645"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756480036963,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-AAR08","requires_shipping":true,"taxable":true,"featured_image":{"id":34543525658723,"product_id":7892610285667,"position":2,"created_at":"2025-10-02T09:47:19+08:00","updated_at":"2025-10-02T09:47:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a80315061e12ede67899623c58a26d5b42e7b10.webp?v=1759369641","variant_ids":[43756480036963]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Aaron Chang Waiting for - 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-AAR08","featured_media":{"alt":null,"id":26113280540771,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a80315061e12ede67899623c58a26d5b42e7b10.webp?v=1759369641"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756480233571,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-AAR08","requires_shipping":true,"taxable":true,"featured_image":{"id":34543526051939,"product_id":7892610285667,"position":5,"created_at":"2025-10-02T09:47:22+08:00","updated_at":"2025-10-02T09:47:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa9c97a3d6ac5f61cdfc92da6c0403b4d3b207bc.webp?v=1759369644","variant_ids":[43756480233571]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Aaron Chang Waiting for - 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-AAR08","featured_media":{"alt":null,"id":26113280966755,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa9c97a3d6ac5f61cdfc92da6c0403b4d3b207bc.webp?v=1759369644"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43756480004195,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-AAR08","requires_shipping":true,"taxable":true,"featured_image":{"id":34543526248547,"product_id":7892610285667,"position":6,"created_at":"2025-10-02T09:47:23+08:00","updated_at":"2025-10-02T09:47:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb776c5aed5d3e5e2f1154826c7eb03656354503.webp?v=1759369645","variant_ids":[43756480004195]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Aaron Chang Waiting for - 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-AAR08","featured_media":{"alt":null,"id":26113281130595,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb776c5aed5d3e5e2f1154826c7eb03656354503.webp?v=1759369645"}},"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: "停產" }