$product = {"id":7848048689251,"title":"iPhone 14 Pro Mod NX 嗨小強 Selfie Time","handle":"iphone-14-pro-mod-nx-bumper-crossover-design-fv66","description":null,"published_at":"2025-08-07T09:16:03+08:00","created_at":"2025-08-05T09:40:26+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-hijohnnn","device-iPhone 14 Pro","merge","reseller-hijohnnn"],"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":43562873454691,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-FV66","requires_shipping":true,"taxable":true,"featured_image":{"id":34287789080675,"product_id":7848048689251,"position":8,"created_at":"2025-08-05T09:40:35+08:00","updated_at":"2025-08-05T09:40:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a645b003c9247bba88607e2bfd49b6ad93dc77f.webp?v=1754358037","variant_ids":[43562873454691]},"available":true,"name":"iPhone 14 Pro Mod NX 嗨小強 Selfie Time - 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-FV66","featured_media":{"alt":null,"id":25888843956323,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a645b003c9247bba88607e2bfd49b6ad93dc77f.webp?v=1754358037"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43562873585763,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-FV66","requires_shipping":true,"taxable":true,"featured_image":{"id":34287786459235,"product_id":7848048689251,"position":2,"created_at":"2025-08-05T09:40:31+08:00","updated_at":"2025-08-05T09:40:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eef83192edc07740567f7a29bc4d80869eb3d1e0.webp?v=1754358033","variant_ids":[43562873585763]},"available":true,"name":"iPhone 14 Pro Mod NX 嗨小強 Selfie Time - 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-FV66","featured_media":{"alt":null,"id":25888842580067,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eef83192edc07740567f7a29bc4d80869eb3d1e0.webp?v=1754358033"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43562873651299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-FV66","requires_shipping":true,"taxable":true,"featured_image":{"id":34287788916835,"product_id":7848048689251,"position":7,"created_at":"2025-08-05T09:40:34+08:00","updated_at":"2025-08-05T09:40:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c979d033d88f3f7fb41daf575ff17d4b5924ff8.webp?v=1754358036","variant_ids":[43562873651299]},"available":true,"name":"iPhone 14 Pro Mod NX 嗨小強 Selfie Time - 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-FV66","featured_media":{"alt":null,"id":25888843792483,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c979d033d88f3f7fb41daf575ff17d4b5924ff8.webp?v=1754358036"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c244c81f2b00a647c0da8c619d6c941eed37bed0.webp?v=1754358033","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eef83192edc07740567f7a29bc4d80869eb3d1e0.webp?v=1754358033","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0e119f3efe7fff765f46d4b6130e3c216a9eb6a.webp?v=1754358034","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd85ef11ca9927c3cb442c81c2153268c2712a4c.webp?v=1754358034","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a659e2a8c4e0f8d050e62b741d085f09dbb64297.webp?v=1754358035","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5c52a9976d479404d870d8438a3d5adacc6d26d.webp?v=1754358036","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c979d033d88f3f7fb41daf575ff17d4b5924ff8.webp?v=1754358036","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a645b003c9247bba88607e2bfd49b6ad93dc77f.webp?v=1754358037","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14de44a55a99757902cc435e7b5c6bc845af2883.webp?v=1754358037","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dba8fab7f2256ca3678d707aab1095bc666aad55.webp?v=1754358038","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d7476ed9bf15e747af44af4d70f38e423b578ce.webp?v=1754358038","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b395278d715bbe374a1cde60f7e04b902bdadd.webp?v=1754358039"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c244c81f2b00a647c0da8c619d6c941eed37bed0.webp?v=1754358033","options":["color"],"media":[{"alt":null,"id":25888842317923,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c244c81f2b00a647c0da8c619d6c941eed37bed0.webp?v=1754358033"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c244c81f2b00a647c0da8c619d6c941eed37bed0.webp?v=1754358033","width":2000},{"alt":null,"id":25888842580067,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eef83192edc07740567f7a29bc4d80869eb3d1e0.webp?v=1754358033"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eef83192edc07740567f7a29bc4d80869eb3d1e0.webp?v=1754358033","width":2000},{"alt":null,"id":25888842809443,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0e119f3efe7fff765f46d4b6130e3c216a9eb6a.webp?v=1754358034"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0e119f3efe7fff765f46d4b6130e3c216a9eb6a.webp?v=1754358034","width":2000},{"alt":null,"id":25888843038819,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd85ef11ca9927c3cb442c81c2153268c2712a4c.webp?v=1754358034"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd85ef11ca9927c3cb442c81c2153268c2712a4c.webp?v=1754358034","width":2000},{"alt":null,"id":25888843268195,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a659e2a8c4e0f8d050e62b741d085f09dbb64297.webp?v=1754358035"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a659e2a8c4e0f8d050e62b741d085f09dbb64297.webp?v=1754358035","width":2000},{"alt":null,"id":25888843464803,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5c52a9976d479404d870d8438a3d5adacc6d26d.webp?v=1754358036"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5c52a9976d479404d870d8438a3d5adacc6d26d.webp?v=1754358036","width":2000},{"alt":null,"id":25888843792483,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c979d033d88f3f7fb41daf575ff17d4b5924ff8.webp?v=1754358036"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c979d033d88f3f7fb41daf575ff17d4b5924ff8.webp?v=1754358036","width":2000},{"alt":null,"id":25888843956323,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a645b003c9247bba88607e2bfd49b6ad93dc77f.webp?v=1754358037"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a645b003c9247bba88607e2bfd49b6ad93dc77f.webp?v=1754358037","width":2000},{"alt":null,"id":25888844120163,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14de44a55a99757902cc435e7b5c6bc845af2883.webp?v=1754358037"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14de44a55a99757902cc435e7b5c6bc845af2883.webp?v=1754358037","width":2000},{"alt":null,"id":25888844382307,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dba8fab7f2256ca3678d707aab1095bc666aad55.webp?v=1754358038"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dba8fab7f2256ca3678d707aab1095bc666aad55.webp?v=1754358038","width":2000},{"alt":null,"id":25888844546147,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d7476ed9bf15e747af44af4d70f38e423b578ce.webp?v=1754358038"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d7476ed9bf15e747af44af4d70f38e423b578ce.webp?v=1754358038","width":2000},{"alt":null,"id":25888844709987,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b395278d715bbe374a1cde60f7e04b902bdadd.webp?v=1754358039"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b395278d715bbe374a1cde60f7e04b902bdadd.webp?v=1754358039","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43562873454691,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-FV66","requires_shipping":true,"taxable":true,"featured_image":{"id":34287789080675,"product_id":7848048689251,"position":8,"created_at":"2025-08-05T09:40:35+08:00","updated_at":"2025-08-05T09:40:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a645b003c9247bba88607e2bfd49b6ad93dc77f.webp?v=1754358037","variant_ids":[43562873454691]},"available":true,"name":"iPhone 14 Pro Mod NX 嗨小強 Selfie Time - 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-FV66","featured_media":{"alt":null,"id":25888843956323,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a645b003c9247bba88607e2bfd49b6ad93dc77f.webp?v=1754358037"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43562873585763,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-FV66","requires_shipping":true,"taxable":true,"featured_image":{"id":34287786459235,"product_id":7848048689251,"position":2,"created_at":"2025-08-05T09:40:31+08:00","updated_at":"2025-08-05T09:40:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eef83192edc07740567f7a29bc4d80869eb3d1e0.webp?v=1754358033","variant_ids":[43562873585763]},"available":true,"name":"iPhone 14 Pro Mod NX 嗨小強 Selfie Time - 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-FV66","featured_media":{"alt":null,"id":25888842580067,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eef83192edc07740567f7a29bc4d80869eb3d1e0.webp?v=1754358033"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43562873651299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-FV66","requires_shipping":true,"taxable":true,"featured_image":{"id":34287788916835,"product_id":7848048689251,"position":7,"created_at":"2025-08-05T09:40:34+08:00","updated_at":"2025-08-05T09:40:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c979d033d88f3f7fb41daf575ff17d4b5924ff8.webp?v=1754358036","variant_ids":[43562873651299]},"available":true,"name":"iPhone 14 Pro Mod NX 嗨小強 Selfie Time - 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-FV66","featured_media":{"alt":null,"id":25888843792483,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c979d033d88f3f7fb41daf575ff17d4b5924ff8.webp?v=1754358036"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43562873454691,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-FV66","requires_shipping":true,"taxable":true,"featured_image":{"id":34287789080675,"product_id":7848048689251,"position":8,"created_at":"2025-08-05T09:40:35+08:00","updated_at":"2025-08-05T09:40:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a645b003c9247bba88607e2bfd49b6ad93dc77f.webp?v=1754358037","variant_ids":[43562873454691]},"available":true,"name":"iPhone 14 Pro Mod NX 嗨小強 Selfie Time - 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-FV66","featured_media":{"alt":null,"id":25888843956323,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a645b003c9247bba88607e2bfd49b6ad93dc77f.webp?v=1754358037"}},"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: "停產" }