$product = {"id":7956233027683,"title":"iPhone 14 Pro Mod NX Emerald Studio 夏","handle":"iphone-14-pro-mod-nx-eme11","description":null,"published_at":"2026-01-28T09:38:37+08:00","created_at":"2026-01-26T14:47:40+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":43967110611043,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-EME11","requires_shipping":true,"taxable":true,"featured_image":{"id":35147339628643,"product_id":7956233027683,"position":7,"created_at":"2026-01-26T14:48:22+08:00","updated_at":"2026-01-26T14:48:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f92eba1a76d6b8e8609e43c052f155f6df86b914.webp?v=1769410104","variant_ids":[43967110611043]},"available":true,"name":"iPhone 14 Pro Mod NX Emerald Studio 夏 - 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-EME11","featured_media":{"alt":null,"id":26703578136675,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f92eba1a76d6b8e8609e43c052f155f6df86b914.webp?v=1769410104"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967121653859,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-EME11","requires_shipping":true,"taxable":true,"featured_image":{"id":35147339497571,"product_id":7956233027683,"position":6,"created_at":"2026-01-26T14:48:22+08:00","updated_at":"2026-01-26T14:48:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8c7c4dbdae5433d06d68706060d4ba16568ccf3.webp?v=1769410104","variant_ids":[43967121653859]},"available":true,"name":"iPhone 14 Pro Mod NX Emerald Studio 夏 - 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-EME11","featured_media":{"alt":null,"id":26703578005603,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8c7c4dbdae5433d06d68706060d4ba16568ccf3.webp?v=1769410104"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967122505827,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-EME11","requires_shipping":true,"taxable":true,"featured_image":{"id":35147339759715,"product_id":7956233027683,"position":8,"created_at":"2026-01-26T14:48:23+08:00","updated_at":"2026-01-26T14:48:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19a7c68f63e9e2d384c58012bba01aea2fe59273.webp?v=1769410105","variant_ids":[43967122505827]},"available":true,"name":"iPhone 14 Pro Mod NX Emerald Studio 夏 - 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-EME11","featured_media":{"alt":null,"id":26703578267747,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19a7c68f63e9e2d384c58012bba01aea2fe59273.webp?v=1769410105"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d3204c4df6a163fb411a92d1db96dcf8bcd9b3.webp?v=1769410102","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1449be9663dcea4750a04f639d2ec7395b4488a.webp?v=1769410102","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc6329285951865126cadbc0b352027734e0ecd8.webp?v=1769410103","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/527110b545722209739ad89d310c3c7fcbc17f68.webp?v=1769410103","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6cc21a3cf915d7f5bdd673529ee4bfd8476833b.webp?v=1769410103","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8c7c4dbdae5433d06d68706060d4ba16568ccf3.webp?v=1769410104","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f92eba1a76d6b8e8609e43c052f155f6df86b914.webp?v=1769410104","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19a7c68f63e9e2d384c58012bba01aea2fe59273.webp?v=1769410105","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e7e1540c188a125413bcd177c3d69b33f3604a4.webp?v=1769410105","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1dab997b59951b2d7e0f103b27d841282fa6dc37.webp?v=1769410105","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e1e7ff1aae2d2e9af4a6abd2920eaa555dc537e.webp?v=1769410106"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d3204c4df6a163fb411a92d1db96dcf8bcd9b3.webp?v=1769410102","options":["color"],"media":[{"alt":null,"id":26703577448547,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d3204c4df6a163fb411a92d1db96dcf8bcd9b3.webp?v=1769410102"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7d3204c4df6a163fb411a92d1db96dcf8bcd9b3.webp?v=1769410102","width":2000},{"alt":null,"id":26703577546851,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1449be9663dcea4750a04f639d2ec7395b4488a.webp?v=1769410102"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1449be9663dcea4750a04f639d2ec7395b4488a.webp?v=1769410102","width":2000},{"alt":null,"id":26703577645155,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc6329285951865126cadbc0b352027734e0ecd8.webp?v=1769410103"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc6329285951865126cadbc0b352027734e0ecd8.webp?v=1769410103","width":2000},{"alt":null,"id":26703577776227,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/527110b545722209739ad89d310c3c7fcbc17f68.webp?v=1769410103"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/527110b545722209739ad89d310c3c7fcbc17f68.webp?v=1769410103","width":2000},{"alt":null,"id":26703577907299,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6cc21a3cf915d7f5bdd673529ee4bfd8476833b.webp?v=1769410103"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6cc21a3cf915d7f5bdd673529ee4bfd8476833b.webp?v=1769410103","width":2000},{"alt":null,"id":26703578005603,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8c7c4dbdae5433d06d68706060d4ba16568ccf3.webp?v=1769410104"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8c7c4dbdae5433d06d68706060d4ba16568ccf3.webp?v=1769410104","width":2000},{"alt":null,"id":26703578136675,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f92eba1a76d6b8e8609e43c052f155f6df86b914.webp?v=1769410104"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f92eba1a76d6b8e8609e43c052f155f6df86b914.webp?v=1769410104","width":2000},{"alt":null,"id":26703578267747,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19a7c68f63e9e2d384c58012bba01aea2fe59273.webp?v=1769410105"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19a7c68f63e9e2d384c58012bba01aea2fe59273.webp?v=1769410105","width":2000},{"alt":null,"id":26703578398819,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e7e1540c188a125413bcd177c3d69b33f3604a4.webp?v=1769410105"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e7e1540c188a125413bcd177c3d69b33f3604a4.webp?v=1769410105","width":2000},{"alt":null,"id":26703578497123,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1dab997b59951b2d7e0f103b27d841282fa6dc37.webp?v=1769410105"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1dab997b59951b2d7e0f103b27d841282fa6dc37.webp?v=1769410105","width":2000},{"alt":null,"id":26703578628195,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e1e7ff1aae2d2e9af4a6abd2920eaa555dc537e.webp?v=1769410106"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e1e7ff1aae2d2e9af4a6abd2920eaa555dc537e.webp?v=1769410106","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43967110611043,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-EME11","requires_shipping":true,"taxable":true,"featured_image":{"id":35147339628643,"product_id":7956233027683,"position":7,"created_at":"2026-01-26T14:48:22+08:00","updated_at":"2026-01-26T14:48:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f92eba1a76d6b8e8609e43c052f155f6df86b914.webp?v=1769410104","variant_ids":[43967110611043]},"available":true,"name":"iPhone 14 Pro Mod NX Emerald Studio 夏 - 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-EME11","featured_media":{"alt":null,"id":26703578136675,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f92eba1a76d6b8e8609e43c052f155f6df86b914.webp?v=1769410104"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967121653859,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-EME11","requires_shipping":true,"taxable":true,"featured_image":{"id":35147339497571,"product_id":7956233027683,"position":6,"created_at":"2026-01-26T14:48:22+08:00","updated_at":"2026-01-26T14:48:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8c7c4dbdae5433d06d68706060d4ba16568ccf3.webp?v=1769410104","variant_ids":[43967121653859]},"available":true,"name":"iPhone 14 Pro Mod NX Emerald Studio 夏 - 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-EME11","featured_media":{"alt":null,"id":26703578005603,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8c7c4dbdae5433d06d68706060d4ba16568ccf3.webp?v=1769410104"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967122505827,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-EME11","requires_shipping":true,"taxable":true,"featured_image":{"id":35147339759715,"product_id":7956233027683,"position":8,"created_at":"2026-01-26T14:48:23+08:00","updated_at":"2026-01-26T14:48:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19a7c68f63e9e2d384c58012bba01aea2fe59273.webp?v=1769410105","variant_ids":[43967122505827]},"available":true,"name":"iPhone 14 Pro Mod NX Emerald Studio 夏 - 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-EME11","featured_media":{"alt":null,"id":26703578267747,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19a7c68f63e9e2d384c58012bba01aea2fe59273.webp?v=1769410105"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43967110611043,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-EME11","requires_shipping":true,"taxable":true,"featured_image":{"id":35147339628643,"product_id":7956233027683,"position":7,"created_at":"2026-01-26T14:48:22+08:00","updated_at":"2026-01-26T14:48:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f92eba1a76d6b8e8609e43c052f155f6df86b914.webp?v=1769410104","variant_ids":[43967110611043]},"available":true,"name":"iPhone 14 Pro Mod NX Emerald Studio 夏 - 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-EME11","featured_media":{"alt":null,"id":26703578136675,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f92eba1a76d6b8e8609e43c052f155f6df86b914.webp?v=1769410104"}},"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: "停產" }