$product = {"id":7937559625827,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 跟著音樂一起跳","handle":"iphone-13-mini-mod-nx-magsafe-cjy03","description":null,"published_at":"2025-12-12T09:49:49+08:00","created_at":"2025-12-11T09:45:35+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-jychoioioi","device-iPhone 13 Mini","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":43883375984739,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-CJY03","requires_shipping":true,"taxable":true,"featured_image":{"id":34931386253411,"product_id":7937559625827,"position":4,"created_at":"2025-12-11T10:14:38+08:00","updated_at":"2025-12-11T10:14:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4.webp?v=1765419280","variant_ids":[43883375984739]},"available":true,"name":"iPhone 13 mini 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":"MPB01228J5-CJY03","featured_media":{"alt":null,"id":26493760503907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4.webp?v=1765419280"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883376017507,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-CJY03","requires_shipping":true,"taxable":true,"featured_image":{"id":34931388842083,"product_id":7937559625827,"position":11,"created_at":"2025-12-11T10:14:43+08:00","updated_at":"2025-12-11T10:14:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c408046db5664d75be361317ecd5ecb5bdde74a.webp?v=1765419284","variant_ids":[43883376017507]},"available":true,"name":"iPhone 13 mini 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":"MPB0122824-CJY03","featured_media":{"alt":null,"id":26493762994275,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c408046db5664d75be361317ecd5ecb5bdde74a.webp?v=1765419284"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883376115811,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-CJY03","requires_shipping":true,"taxable":true,"featured_image":{"id":34931385106531,"product_id":7937559625827,"position":3,"created_at":"2025-12-11T10:14:37+08:00","updated_at":"2025-12-11T10:14:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad8bf8dcb7c477ad0641b5b5d1e498ee33d0cdd.webp?v=1765419279","variant_ids":[43883376115811]},"available":true,"name":"iPhone 13 mini 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":"MPB0122804-CJY03","featured_media":{"alt":null,"id":26493759357027,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad8bf8dcb7c477ad0641b5b5d1e498ee33d0cdd.webp?v=1765419279"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5aa41b594a4775db2a4db645a615e319b136fc71.webp?v=1765417540","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a2ee0143aa3925eb2b0d7d2ab8a72814e0fb01f.webp?v=1765419279","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad8bf8dcb7c477ad0641b5b5d1e498ee33d0cdd.webp?v=1765419279","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4.webp?v=1765419280","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e69ebc174183eb6ed3bae326be823ecb6d634825.webp?v=1765419280","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499dba6010d5a65a11f5e826cf407467f864e49a.webp?v=1765419281","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5aa41b594a4775db2a4db645a615e319b136fc71_ca74aba8-0710-4b12-baca-997f9d94df65.webp?v=1765419282","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e82b52d380a5f24699a08d5aff9d4146d44b10fc.webp?v=1765419282","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8da3237522baed595427c6a4e29c12e1e92da677.webp?v=1765419283","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b258d61079388c94eaebf9fd717b8886dd58297.webp?v=1765419284","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c408046db5664d75be361317ecd5ecb5bdde74a.webp?v=1765419284"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5aa41b594a4775db2a4db645a615e319b136fc71.webp?v=1765417540","options":["color"],"media":[{"alt":null,"id":26493220946019,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5aa41b594a4775db2a4db645a615e319b136fc71.webp?v=1765417540"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5aa41b594a4775db2a4db645a615e319b136fc71.webp?v=1765417540","width":2000},{"alt":null,"id":26493758537827,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a2ee0143aa3925eb2b0d7d2ab8a72814e0fb01f.webp?v=1765419279"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a2ee0143aa3925eb2b0d7d2ab8a72814e0fb01f.webp?v=1765419279","width":2000},{"alt":null,"id":26493759357027,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad8bf8dcb7c477ad0641b5b5d1e498ee33d0cdd.webp?v=1765419279"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad8bf8dcb7c477ad0641b5b5d1e498ee33d0cdd.webp?v=1765419279","width":2000},{"alt":null,"id":26493760503907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4.webp?v=1765419280"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4.webp?v=1765419280","width":2000},{"alt":null,"id":26493760831587,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e69ebc174183eb6ed3bae326be823ecb6d634825.webp?v=1765419280"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e69ebc174183eb6ed3bae326be823ecb6d634825.webp?v=1765419280","width":2000},{"alt":null,"id":26493761585251,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499dba6010d5a65a11f5e826cf407467f864e49a.webp?v=1765419281"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499dba6010d5a65a11f5e826cf407467f864e49a.webp?v=1765419281","width":2000},{"alt":null,"id":26493761847395,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5aa41b594a4775db2a4db645a615e319b136fc71_ca74aba8-0710-4b12-baca-997f9d94df65.webp?v=1765419282"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5aa41b594a4775db2a4db645a615e319b136fc71_ca74aba8-0710-4b12-baca-997f9d94df65.webp?v=1765419282","width":2000},{"alt":null,"id":26493762076771,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e82b52d380a5f24699a08d5aff9d4146d44b10fc.webp?v=1765419282"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e82b52d380a5f24699a08d5aff9d4146d44b10fc.webp?v=1765419282","width":2000},{"alt":null,"id":26493762338915,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8da3237522baed595427c6a4e29c12e1e92da677.webp?v=1765419283"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8da3237522baed595427c6a4e29c12e1e92da677.webp?v=1765419283","width":2000},{"alt":null,"id":26493762535523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b258d61079388c94eaebf9fd717b8886dd58297.webp?v=1765419284"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b258d61079388c94eaebf9fd717b8886dd58297.webp?v=1765419284","width":2000},{"alt":null,"id":26493762994275,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c408046db5664d75be361317ecd5ecb5bdde74a.webp?v=1765419284"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c408046db5664d75be361317ecd5ecb5bdde74a.webp?v=1765419284","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43883375984739,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-CJY03","requires_shipping":true,"taxable":true,"featured_image":{"id":34931386253411,"product_id":7937559625827,"position":4,"created_at":"2025-12-11T10:14:38+08:00","updated_at":"2025-12-11T10:14:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4.webp?v=1765419280","variant_ids":[43883375984739]},"available":true,"name":"iPhone 13 mini 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":"MPB01228J5-CJY03","featured_media":{"alt":null,"id":26493760503907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4.webp?v=1765419280"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883376017507,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-CJY03","requires_shipping":true,"taxable":true,"featured_image":{"id":34931388842083,"product_id":7937559625827,"position":11,"created_at":"2025-12-11T10:14:43+08:00","updated_at":"2025-12-11T10:14:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c408046db5664d75be361317ecd5ecb5bdde74a.webp?v=1765419284","variant_ids":[43883376017507]},"available":true,"name":"iPhone 13 mini 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":"MPB0122824-CJY03","featured_media":{"alt":null,"id":26493762994275,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c408046db5664d75be361317ecd5ecb5bdde74a.webp?v=1765419284"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883376115811,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-CJY03","requires_shipping":true,"taxable":true,"featured_image":{"id":34931385106531,"product_id":7937559625827,"position":3,"created_at":"2025-12-11T10:14:37+08:00","updated_at":"2025-12-11T10:14:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad8bf8dcb7c477ad0641b5b5d1e498ee33d0cdd.webp?v=1765419279","variant_ids":[43883376115811]},"available":true,"name":"iPhone 13 mini 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":"MPB0122804-CJY03","featured_media":{"alt":null,"id":26493759357027,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ad8bf8dcb7c477ad0641b5b5d1e498ee33d0cdd.webp?v=1765419279"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43883375984739,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-CJY03","requires_shipping":true,"taxable":true,"featured_image":{"id":34931386253411,"product_id":7937559625827,"position":4,"created_at":"2025-12-11T10:14:38+08:00","updated_at":"2025-12-11T10:14:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4.webp?v=1765419280","variant_ids":[43883375984739]},"available":true,"name":"iPhone 13 mini 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":"MPB01228J5-CJY03","featured_media":{"alt":null,"id":26493760503907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d606261f11d9e9fb39e973af714a95e9ebe7cce4.webp?v=1765419280"}},"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: "停產" }