$product = {"id":7875986686051,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 專注美好的事情","handle":"iphone-14-pro-mod-nx-magsafe-printable-ea106","description":null,"published_at":"2025-09-04T10:48:31+08:00","created_at":"2025-09-03T11:30:36+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-songsongmeow","device-iPhone 14 Pro","merge","reseller-songsongmeow"],"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":43674842071139,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-EA106","requires_shipping":true,"taxable":true,"featured_image":{"id":34415900229731,"product_id":7875986686051,"position":7,"created_at":"2025-09-03T11:30:44+08:00","updated_at":"2025-09-03T11:30:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d877934a3145c3a09acfc1b49bdf5426f5d6a466.webp?v=1756870246","variant_ids":[43674842071139]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 專注美好的事情 - 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-EA106","featured_media":{"alt":null,"id":25988175036515,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d877934a3145c3a09acfc1b49bdf5426f5d6a466.webp?v=1756870246"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43674842234979,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-EA106","requires_shipping":true,"taxable":true,"featured_image":{"id":34415899017315,"product_id":7875986686051,"position":2,"created_at":"2025-09-03T11:30:40+08:00","updated_at":"2025-09-03T11:30:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04b0070b4686e7221975c359e64ca8d3bcf5363e.webp?v=1756870242","variant_ids":[43674842234979]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 專注美好的事情 - 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-EA106","featured_media":{"alt":null,"id":25988173824099,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04b0070b4686e7221975c359e64ca8d3bcf5363e.webp?v=1756870242"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43674842333283,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-EA106","requires_shipping":true,"taxable":true,"featured_image":{"id":34415899902051,"product_id":7875986686051,"position":5,"created_at":"2025-09-03T11:30:42+08:00","updated_at":"2025-09-03T11:30:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505e10b7daaafbb5a8a2801d23fcfe5ad502c09c.webp?v=1756870244","variant_ids":[43674842333283]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 專注美好的事情 - 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-EA106","featured_media":{"alt":null,"id":25988174676067,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505e10b7daaafbb5a8a2801d23fcfe5ad502c09c.webp?v=1756870244"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8426beb975f3651091bbe629694abe3692104c2.webp?v=1756870242","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04b0070b4686e7221975c359e64ca8d3bcf5363e.webp?v=1756870242","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e83bcc901a5267d46210617fcb211cb1a93c3980.webp?v=1756870243","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6bef05ab4f3772aadb2b97dc19ed2b34e5f3db3.webp?v=1756870243","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505e10b7daaafbb5a8a2801d23fcfe5ad502c09c.webp?v=1756870244","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e236fe9b2a6604c83e3c9ae7f83f015571519c10.webp?v=1756870245","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d877934a3145c3a09acfc1b49bdf5426f5d6a466.webp?v=1756870246","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72c9fb704c235a01d6dc6af54483d195a355c621.webp?v=1756870247","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90e3bec5b41c3fd8ca3c2bcefd4603f462408f26.webp?v=1756870247","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a713d672e7af0c719f48ce90f80b06b4aefdc99.webp?v=1756870248","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e91d8df3ae6742a5ddd40c514551a520508731e.webp?v=1756870249","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85a87f74d30b95f10649d881ced0b689260272fa.webp?v=1756870249"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8426beb975f3651091bbe629694abe3692104c2.webp?v=1756870242","options":["color"],"media":[{"alt":null,"id":25988173693027,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8426beb975f3651091bbe629694abe3692104c2.webp?v=1756870242"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8426beb975f3651091bbe629694abe3692104c2.webp?v=1756870242","width":2000},{"alt":null,"id":25988173824099,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04b0070b4686e7221975c359e64ca8d3bcf5363e.webp?v=1756870242"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04b0070b4686e7221975c359e64ca8d3bcf5363e.webp?v=1756870242","width":2000},{"alt":null,"id":25988173955171,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e83bcc901a5267d46210617fcb211cb1a93c3980.webp?v=1756870243"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e83bcc901a5267d46210617fcb211cb1a93c3980.webp?v=1756870243","width":2000},{"alt":null,"id":25988174151779,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6bef05ab4f3772aadb2b97dc19ed2b34e5f3db3.webp?v=1756870243"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6bef05ab4f3772aadb2b97dc19ed2b34e5f3db3.webp?v=1756870243","width":2000},{"alt":null,"id":25988174676067,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505e10b7daaafbb5a8a2801d23fcfe5ad502c09c.webp?v=1756870244"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505e10b7daaafbb5a8a2801d23fcfe5ad502c09c.webp?v=1756870244","width":2000},{"alt":null,"id":25988174807139,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e236fe9b2a6604c83e3c9ae7f83f015571519c10.webp?v=1756870245"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e236fe9b2a6604c83e3c9ae7f83f015571519c10.webp?v=1756870245","width":2000},{"alt":null,"id":25988175036515,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d877934a3145c3a09acfc1b49bdf5426f5d6a466.webp?v=1756870246"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d877934a3145c3a09acfc1b49bdf5426f5d6a466.webp?v=1756870246","width":2000},{"alt":null,"id":25988175167587,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72c9fb704c235a01d6dc6af54483d195a355c621.webp?v=1756870247"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72c9fb704c235a01d6dc6af54483d195a355c621.webp?v=1756870247","width":2000},{"alt":null,"id":25988175331427,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90e3bec5b41c3fd8ca3c2bcefd4603f462408f26.webp?v=1756870247"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90e3bec5b41c3fd8ca3c2bcefd4603f462408f26.webp?v=1756870247","width":2000},{"alt":null,"id":25988175495267,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a713d672e7af0c719f48ce90f80b06b4aefdc99.webp?v=1756870248"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a713d672e7af0c719f48ce90f80b06b4aefdc99.webp?v=1756870248","width":2000},{"alt":null,"id":25988175724643,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e91d8df3ae6742a5ddd40c514551a520508731e.webp?v=1756870249"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e91d8df3ae6742a5ddd40c514551a520508731e.webp?v=1756870249","width":2000},{"alt":null,"id":25988176150627,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85a87f74d30b95f10649d881ced0b689260272fa.webp?v=1756870249"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85a87f74d30b95f10649d881ced0b689260272fa.webp?v=1756870249","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43674842071139,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-EA106","requires_shipping":true,"taxable":true,"featured_image":{"id":34415900229731,"product_id":7875986686051,"position":7,"created_at":"2025-09-03T11:30:44+08:00","updated_at":"2025-09-03T11:30:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d877934a3145c3a09acfc1b49bdf5426f5d6a466.webp?v=1756870246","variant_ids":[43674842071139]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 專注美好的事情 - 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-EA106","featured_media":{"alt":null,"id":25988175036515,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d877934a3145c3a09acfc1b49bdf5426f5d6a466.webp?v=1756870246"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43674842234979,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-EA106","requires_shipping":true,"taxable":true,"featured_image":{"id":34415899017315,"product_id":7875986686051,"position":2,"created_at":"2025-09-03T11:30:40+08:00","updated_at":"2025-09-03T11:30:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04b0070b4686e7221975c359e64ca8d3bcf5363e.webp?v=1756870242","variant_ids":[43674842234979]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 專注美好的事情 - 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-EA106","featured_media":{"alt":null,"id":25988173824099,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04b0070b4686e7221975c359e64ca8d3bcf5363e.webp?v=1756870242"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43674842333283,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-EA106","requires_shipping":true,"taxable":true,"featured_image":{"id":34415899902051,"product_id":7875986686051,"position":5,"created_at":"2025-09-03T11:30:42+08:00","updated_at":"2025-09-03T11:30:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505e10b7daaafbb5a8a2801d23fcfe5ad502c09c.webp?v=1756870244","variant_ids":[43674842333283]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 專注美好的事情 - 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-EA106","featured_media":{"alt":null,"id":25988174676067,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/505e10b7daaafbb5a8a2801d23fcfe5ad502c09c.webp?v=1756870244"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43674842071139,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-EA106","requires_shipping":true,"taxable":true,"featured_image":{"id":34415900229731,"product_id":7875986686051,"position":7,"created_at":"2025-09-03T11:30:44+08:00","updated_at":"2025-09-03T11:30:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d877934a3145c3a09acfc1b49bdf5426f5d6a466.webp?v=1756870246","variant_ids":[43674842071139]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 專注美好的事情 - 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-EA106","featured_media":{"alt":null,"id":25988175036515,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d877934a3145c3a09acfc1b49bdf5426f5d6a466.webp?v=1756870246"}},"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: "停產" }