$product = {"id":7937665237091,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) Jin Young Choi 幸運小精靈","handle":"iphone-14-pro-mod-nx-magsafe-cjy09","description":null,"published_at":"2025-12-12T09:30:49+08:00","created_at":"2025-12-11T10:15:31+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-jychoioioi","device-iPhone 14 Pro","merge","reseller-jychoioioi"],"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":43883387486307,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-CJY09","requires_shipping":true,"taxable":true,"featured_image":{"id":34931417546851,"product_id":7937665237091,"position":6,"created_at":"2025-12-11T10:15:42+08:00","updated_at":"2025-12-11T10:15:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/039d860c4aae0a6db769f076c773e389d44f216d.webp?v=1765419344","variant_ids":[43883387486307]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Jin Young Choi 幸運小精靈 - 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-CJY09","featured_media":{"alt":null,"id":26493791600739,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/039d860c4aae0a6db769f076c773e389d44f216d.webp?v=1765419344"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883387519075,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-CJY09","requires_shipping":true,"taxable":true,"featured_image":{"id":34931418136675,"product_id":7937665237091,"position":7,"created_at":"2025-12-11T10:15:42+08:00","updated_at":"2025-12-11T10:15:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fed6049071370d5cc2fd4c5de48a023944def450.webp?v=1765419344","variant_ids":[43883387519075]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Jin Young Choi 幸運小精靈 - 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-CJY09","featured_media":{"alt":null,"id":26493792125027,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fed6049071370d5cc2fd4c5de48a023944def450.webp?v=1765419344"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883387682915,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-CJY09","requires_shipping":true,"taxable":true,"featured_image":{"id":34931418955875,"product_id":7937665237091,"position":10,"created_at":"2025-12-11T10:15:44+08:00","updated_at":"2025-12-11T10:15:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db24e8f187421d710cf42fe7ed588bd3406d4aa8.webp?v=1765419346","variant_ids":[43883387682915]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Jin Young Choi 幸運小精靈 - 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-CJY09","featured_media":{"alt":null,"id":26493793108067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db24e8f187421d710cf42fe7ed588bd3406d4aa8.webp?v=1765419346"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3adcfe18076338d9777ed0db4e0def335d83bd22.webp?v=1765419341","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c21077ceeefbc014548dc16bcbaffa5daf57b76e.webp?v=1765419341","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dfaf447498dae25fcb6ee2d6ee757ca0363dc9c.webp?v=1765419342","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45d95b7ad2f2feb8769b9be9704d076647845fb9.webp?v=1765419343","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fb9d4953b92ae62d9c5ee013e26d7589787bb42.webp?v=1765419343","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/039d860c4aae0a6db769f076c773e389d44f216d.webp?v=1765419344","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fed6049071370d5cc2fd4c5de48a023944def450.webp?v=1765419344","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1720ccbf8fee7d6e69291c36afcfdd976dffe9bc.webp?v=1765419345","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35e2b8b8021b127d0e356c086b926a780ff0d162.webp?v=1765419345","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db24e8f187421d710cf42fe7ed588bd3406d4aa8.webp?v=1765419346","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f6a3c8b98535c536070ba78145ea4ce4e8e9c1c.webp?v=1765419346"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3adcfe18076338d9777ed0db4e0def335d83bd22.webp?v=1765419341","options":["color"],"media":[{"alt":null,"id":26493788684387,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3adcfe18076338d9777ed0db4e0def335d83bd22.webp?v=1765419341"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3adcfe18076338d9777ed0db4e0def335d83bd22.webp?v=1765419341","width":2000},{"alt":null,"id":26493789110371,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c21077ceeefbc014548dc16bcbaffa5daf57b76e.webp?v=1765419341"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c21077ceeefbc014548dc16bcbaffa5daf57b76e.webp?v=1765419341","width":2000},{"alt":null,"id":26493790355555,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dfaf447498dae25fcb6ee2d6ee757ca0363dc9c.webp?v=1765419342"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dfaf447498dae25fcb6ee2d6ee757ca0363dc9c.webp?v=1765419342","width":2000},{"alt":null,"id":26493790650467,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45d95b7ad2f2feb8769b9be9704d076647845fb9.webp?v=1765419343"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45d95b7ad2f2feb8769b9be9704d076647845fb9.webp?v=1765419343","width":2000},{"alt":null,"id":26493791338595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fb9d4953b92ae62d9c5ee013e26d7589787bb42.webp?v=1765419343"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fb9d4953b92ae62d9c5ee013e26d7589787bb42.webp?v=1765419343","width":2000},{"alt":null,"id":26493791600739,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/039d860c4aae0a6db769f076c773e389d44f216d.webp?v=1765419344"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/039d860c4aae0a6db769f076c773e389d44f216d.webp?v=1765419344","width":2000},{"alt":null,"id":26493792125027,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fed6049071370d5cc2fd4c5de48a023944def450.webp?v=1765419344"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fed6049071370d5cc2fd4c5de48a023944def450.webp?v=1765419344","width":2000},{"alt":null,"id":26493792551011,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1720ccbf8fee7d6e69291c36afcfdd976dffe9bc.webp?v=1765419345"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1720ccbf8fee7d6e69291c36afcfdd976dffe9bc.webp?v=1765419345","width":2000},{"alt":null,"id":26493792747619,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35e2b8b8021b127d0e356c086b926a780ff0d162.webp?v=1765419345"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35e2b8b8021b127d0e356c086b926a780ff0d162.webp?v=1765419345","width":2000},{"alt":null,"id":26493793108067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db24e8f187421d710cf42fe7ed588bd3406d4aa8.webp?v=1765419346"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db24e8f187421d710cf42fe7ed588bd3406d4aa8.webp?v=1765419346","width":2000},{"alt":null,"id":26493793173603,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f6a3c8b98535c536070ba78145ea4ce4e8e9c1c.webp?v=1765419346"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f6a3c8b98535c536070ba78145ea4ce4e8e9c1c.webp?v=1765419346","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43883387486307,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-CJY09","requires_shipping":true,"taxable":true,"featured_image":{"id":34931417546851,"product_id":7937665237091,"position":6,"created_at":"2025-12-11T10:15:42+08:00","updated_at":"2025-12-11T10:15:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/039d860c4aae0a6db769f076c773e389d44f216d.webp?v=1765419344","variant_ids":[43883387486307]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Jin Young Choi 幸運小精靈 - 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-CJY09","featured_media":{"alt":null,"id":26493791600739,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/039d860c4aae0a6db769f076c773e389d44f216d.webp?v=1765419344"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883387519075,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-CJY09","requires_shipping":true,"taxable":true,"featured_image":{"id":34931418136675,"product_id":7937665237091,"position":7,"created_at":"2025-12-11T10:15:42+08:00","updated_at":"2025-12-11T10:15:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fed6049071370d5cc2fd4c5de48a023944def450.webp?v=1765419344","variant_ids":[43883387519075]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Jin Young Choi 幸運小精靈 - 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-CJY09","featured_media":{"alt":null,"id":26493792125027,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fed6049071370d5cc2fd4c5de48a023944def450.webp?v=1765419344"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883387682915,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-CJY09","requires_shipping":true,"taxable":true,"featured_image":{"id":34931418955875,"product_id":7937665237091,"position":10,"created_at":"2025-12-11T10:15:44+08:00","updated_at":"2025-12-11T10:15:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db24e8f187421d710cf42fe7ed588bd3406d4aa8.webp?v=1765419346","variant_ids":[43883387682915]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Jin Young Choi 幸運小精靈 - 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-CJY09","featured_media":{"alt":null,"id":26493793108067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db24e8f187421d710cf42fe7ed588bd3406d4aa8.webp?v=1765419346"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43883387486307,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-CJY09","requires_shipping":true,"taxable":true,"featured_image":{"id":34931417546851,"product_id":7937665237091,"position":6,"created_at":"2025-12-11T10:15:42+08:00","updated_at":"2025-12-11T10:15:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/039d860c4aae0a6db769f076c773e389d44f216d.webp?v=1765419344","variant_ids":[43883387486307]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) Jin Young Choi 幸運小精靈 - 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-CJY09","featured_media":{"alt":null,"id":26493791600739,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/039d860c4aae0a6db769f076c773e389d44f216d.webp?v=1765419344"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }