$product = {"id":7956232831075,"title":"iPhone 14 Pro Mod NX Emerald Studio 5月 鳶尾花","handle":"iphone-14-pro-mod-nx-eme05","description":null,"published_at":"2026-01-28T09:38:39+08:00","created_at":"2026-01-26T14:47:00+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-emerald","device-iPhone 14 Pro","merge","reseller-emerald"],"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":43967101665379,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-EME05","requires_shipping":true,"taxable":true,"featured_image":{"id":35147338055779,"product_id":7956232831075,"position":11,"created_at":"2026-01-26T14:47:51+08:00","updated_at":"2026-01-26T14:47:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f06fd481a4b3947a9e9ef5d2470d0ced4a965920.webp?v=1769410073","variant_ids":[43967101665379]},"available":true,"name":"iPhone 14 Pro Mod NX Emerald Studio 5月 鳶尾花 - 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-EME05","featured_media":{"alt":null,"id":26703576629347,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f06fd481a4b3947a9e9ef5d2470d0ced4a965920.webp?v=1769410073"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967119720547,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-EME05","requires_shipping":true,"taxable":true,"featured_image":{"id":35147336777827,"product_id":7956232831075,"position":6,"created_at":"2026-01-26T14:47:47+08:00","updated_at":"2026-01-26T14:47:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894f72b0cf49d433e74c990eb54b4a137ee6b03e.webp?v=1769410069","variant_ids":[43967119720547]},"available":true,"name":"iPhone 14 Pro Mod NX Emerald Studio 5月 鳶尾花 - 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-EME05","featured_media":{"alt":null,"id":26703575285859,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894f72b0cf49d433e74c990eb54b4a137ee6b03e.webp?v=1769410069"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967120801891,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-EME05","requires_shipping":true,"taxable":true,"featured_image":{"id":35147337629795,"product_id":7956232831075,"position":9,"created_at":"2026-01-26T14:47:49+08:00","updated_at":"2026-01-26T14:47:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e850c67181375debb221410867d4aeb99aac2d.webp?v=1769410071","variant_ids":[43967120801891]},"available":true,"name":"iPhone 14 Pro Mod NX Emerald Studio 5月 鳶尾花 - 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-EME05","featured_media":{"alt":null,"id":26703576137827,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e850c67181375debb221410867d4aeb99aac2d.webp?v=1769410071"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45ad0a1b03fd4b2e6b70a3d8099e717d23102bc9.webp?v=1769410066","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e18c1e8ede277a4c4fb1ed756fc6820ce733c95e.webp?v=1769410066","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34614606a9a1cb1b36009201cfc4bac12f87389b.webp?v=1769410067","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e9dab29204ceb56e969e4632bc04aa4f8d71c2a.webp?v=1769410068","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5449b0e1e2668f4861f51286ff8c1b1cd5b94ad.webp?v=1769410068","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894f72b0cf49d433e74c990eb54b4a137ee6b03e.webp?v=1769410069","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a2862234188ca202d3c753517e370b810bb5a6b.webp?v=1769410070","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fa55ac8c349c9853c54625b94cb828a8ad80193.webp?v=1769410070","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e850c67181375debb221410867d4aeb99aac2d.webp?v=1769410071","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7d9cd8526d46604c207d3e7af4cc70bc41c7fe7.webp?v=1769410073","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f06fd481a4b3947a9e9ef5d2470d0ced4a965920.webp?v=1769410073"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45ad0a1b03fd4b2e6b70a3d8099e717d23102bc9.webp?v=1769410066","options":["color"],"media":[{"alt":null,"id":26703574466659,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45ad0a1b03fd4b2e6b70a3d8099e717d23102bc9.webp?v=1769410066"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45ad0a1b03fd4b2e6b70a3d8099e717d23102bc9.webp?v=1769410066","width":2000},{"alt":null,"id":26703574564963,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e18c1e8ede277a4c4fb1ed756fc6820ce733c95e.webp?v=1769410066"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e18c1e8ede277a4c4fb1ed756fc6820ce733c95e.webp?v=1769410066","width":2000},{"alt":null,"id":26703574728803,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34614606a9a1cb1b36009201cfc4bac12f87389b.webp?v=1769410067"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34614606a9a1cb1b36009201cfc4bac12f87389b.webp?v=1769410067","width":2000},{"alt":null,"id":26703574892643,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e9dab29204ceb56e969e4632bc04aa4f8d71c2a.webp?v=1769410068"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e9dab29204ceb56e969e4632bc04aa4f8d71c2a.webp?v=1769410068","width":2000},{"alt":null,"id":26703575089251,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5449b0e1e2668f4861f51286ff8c1b1cd5b94ad.webp?v=1769410068"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5449b0e1e2668f4861f51286ff8c1b1cd5b94ad.webp?v=1769410068","width":2000},{"alt":null,"id":26703575285859,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894f72b0cf49d433e74c990eb54b4a137ee6b03e.webp?v=1769410069"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894f72b0cf49d433e74c990eb54b4a137ee6b03e.webp?v=1769410069","width":2000},{"alt":null,"id":26703575613539,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a2862234188ca202d3c753517e370b810bb5a6b.webp?v=1769410070"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a2862234188ca202d3c753517e370b810bb5a6b.webp?v=1769410070","width":2000},{"alt":null,"id":26703575875683,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fa55ac8c349c9853c54625b94cb828a8ad80193.webp?v=1769410070"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fa55ac8c349c9853c54625b94cb828a8ad80193.webp?v=1769410070","width":2000},{"alt":null,"id":26703576137827,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e850c67181375debb221410867d4aeb99aac2d.webp?v=1769410071"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e850c67181375debb221410867d4aeb99aac2d.webp?v=1769410071","width":2000},{"alt":null,"id":26703576334435,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7d9cd8526d46604c207d3e7af4cc70bc41c7fe7.webp?v=1769410073"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7d9cd8526d46604c207d3e7af4cc70bc41c7fe7.webp?v=1769410073","width":2000},{"alt":null,"id":26703576629347,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f06fd481a4b3947a9e9ef5d2470d0ced4a965920.webp?v=1769410073"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f06fd481a4b3947a9e9ef5d2470d0ced4a965920.webp?v=1769410073","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43967101665379,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-EME05","requires_shipping":true,"taxable":true,"featured_image":{"id":35147338055779,"product_id":7956232831075,"position":11,"created_at":"2026-01-26T14:47:51+08:00","updated_at":"2026-01-26T14:47:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f06fd481a4b3947a9e9ef5d2470d0ced4a965920.webp?v=1769410073","variant_ids":[43967101665379]},"available":true,"name":"iPhone 14 Pro Mod NX Emerald Studio 5月 鳶尾花 - 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-EME05","featured_media":{"alt":null,"id":26703576629347,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f06fd481a4b3947a9e9ef5d2470d0ced4a965920.webp?v=1769410073"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967119720547,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-EME05","requires_shipping":true,"taxable":true,"featured_image":{"id":35147336777827,"product_id":7956232831075,"position":6,"created_at":"2026-01-26T14:47:47+08:00","updated_at":"2026-01-26T14:47:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894f72b0cf49d433e74c990eb54b4a137ee6b03e.webp?v=1769410069","variant_ids":[43967119720547]},"available":true,"name":"iPhone 14 Pro Mod NX Emerald Studio 5月 鳶尾花 - 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-EME05","featured_media":{"alt":null,"id":26703575285859,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/894f72b0cf49d433e74c990eb54b4a137ee6b03e.webp?v=1769410069"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967120801891,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-EME05","requires_shipping":true,"taxable":true,"featured_image":{"id":35147337629795,"product_id":7956232831075,"position":9,"created_at":"2026-01-26T14:47:49+08:00","updated_at":"2026-01-26T14:47:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e850c67181375debb221410867d4aeb99aac2d.webp?v=1769410071","variant_ids":[43967120801891]},"available":true,"name":"iPhone 14 Pro Mod NX Emerald Studio 5月 鳶尾花 - 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-EME05","featured_media":{"alt":null,"id":26703576137827,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21e850c67181375debb221410867d4aeb99aac2d.webp?v=1769410071"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43967101665379,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-EME05","requires_shipping":true,"taxable":true,"featured_image":{"id":35147338055779,"product_id":7956232831075,"position":11,"created_at":"2026-01-26T14:47:51+08:00","updated_at":"2026-01-26T14:47:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f06fd481a4b3947a9e9ef5d2470d0ced4a965920.webp?v=1769410073","variant_ids":[43967101665379]},"available":true,"name":"iPhone 14 Pro Mod NX Emerald Studio 5月 鳶尾花 - 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-EME05","featured_media":{"alt":null,"id":26703576629347,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f06fd481a4b3947a9e9ef5d2470d0ced4a965920.webp?v=1769410073"}},"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: "停產" }