$product = {"id":7728402235491,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) 小高潮色計事務所 LOVE is LOVE","handle":"iphone-14-plus-mod-nx-magsafe-printable-iku01","description":null,"published_at":"2025-02-05T17:21:43+08:00","created_at":"2025-02-05T11:29:19+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區小高潮色計事務所 ikuiku studio","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ikuiku-studio","device-iPhone 14 Plus","merge","reseller-ikuiku-studio"],"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":43155551354979,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-IKU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34515575275619,"product_id":7728402235491,"position":10,"created_at":"2025-09-22T16:40:49+08:00","updated_at":"2025-09-22T16:40:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ac27429192ee79b29e511ede2fff87a1085f689.webp?v=1758530451","variant_ids":[43155551354979]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 小高潮色計事務所 LOVE is LOVE - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-IKU01","featured_media":{"alt":null,"id":26086012846179,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ac27429192ee79b29e511ede2fff87a1085f689.webp?v=1758530451"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c187175d15d9656aea0b205a843df0b1fa0ba0e.webp?v=1738726165","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0efd43eb5287c1888247a14b65ee425ab005e443.webp?v=1758530447","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/493170228eab09be6b074d63f7f02f7b5a738e86.webp?v=1758530447","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6c9d1f6669af56359d008261dd067f5d89d4f37.webp?v=1758530448","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82f5e4dc2d9e0b43a22e1fce235a646bd8720049.webp?v=1758530448","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed5b9aff59d037e94ab18158caf8d3276ecea4df.webp?v=1758530449","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ecc8dcfd96a44f5014e585fb93505b37f610141.webp?v=1758530450","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70b5953c76c7bbb1cb3743db05066dfdc41523ee.webp?v=1758530450","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d5020c9f26b257cd80ba751c38fc4d930169eeb.webp?v=1758530451","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ac27429192ee79b29e511ede2fff87a1085f689.webp?v=1758530451","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2d0d32cb9576051632c76dfff6077d9c8317b53.webp?v=1758530452","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a03ece6860c114ab43225f22b32d7816bab549c.webp?v=1758530453","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5622bfdf712dd5235dcc02bcab1c1f18a46f675f.webp?v=1758530453","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/708c2244418a1a884e21445649aaf5f614e76941.webp?v=1758530453"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c187175d15d9656aea0b205a843df0b1fa0ba0e.webp?v=1738726165","options":["color"],"media":[{"alt":null,"id":25254919176291,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c187175d15d9656aea0b205a843df0b1fa0ba0e.webp?v=1738726165"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c187175d15d9656aea0b205a843df0b1fa0ba0e.webp?v=1738726165","width":2000},{"alt":null,"id":26086011338851,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0efd43eb5287c1888247a14b65ee425ab005e443.webp?v=1758530447"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0efd43eb5287c1888247a14b65ee425ab005e443.webp?v=1758530447","width":2000},{"alt":null,"id":26086011764835,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/493170228eab09be6b074d63f7f02f7b5a738e86.webp?v=1758530447"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/493170228eab09be6b074d63f7f02f7b5a738e86.webp?v=1758530447","width":2000},{"alt":null,"id":26086011863139,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6c9d1f6669af56359d008261dd067f5d89d4f37.webp?v=1758530448"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6c9d1f6669af56359d008261dd067f5d89d4f37.webp?v=1758530448","width":2000},{"alt":null,"id":26086011961443,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82f5e4dc2d9e0b43a22e1fce235a646bd8720049.webp?v=1758530448"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82f5e4dc2d9e0b43a22e1fce235a646bd8720049.webp?v=1758530448","width":2000},{"alt":null,"id":26086012125283,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed5b9aff59d037e94ab18158caf8d3276ecea4df.webp?v=1758530449"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed5b9aff59d037e94ab18158caf8d3276ecea4df.webp?v=1758530449","width":2000},{"alt":null,"id":26086012256355,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ecc8dcfd96a44f5014e585fb93505b37f610141.webp?v=1758530450"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ecc8dcfd96a44f5014e585fb93505b37f610141.webp?v=1758530450","width":2000},{"alt":null,"id":26086012420195,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70b5953c76c7bbb1cb3743db05066dfdc41523ee.webp?v=1758530450"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70b5953c76c7bbb1cb3743db05066dfdc41523ee.webp?v=1758530450","width":2000},{"alt":null,"id":26086012649571,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d5020c9f26b257cd80ba751c38fc4d930169eeb.webp?v=1758530451"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d5020c9f26b257cd80ba751c38fc4d930169eeb.webp?v=1758530451","width":2000},{"alt":null,"id":26086012846179,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ac27429192ee79b29e511ede2fff87a1085f689.webp?v=1758530451"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ac27429192ee79b29e511ede2fff87a1085f689.webp?v=1758530451","width":2000},{"alt":null,"id":26086013042787,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2d0d32cb9576051632c76dfff6077d9c8317b53.webp?v=1758530452"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2d0d32cb9576051632c76dfff6077d9c8317b53.webp?v=1758530452","width":2000},{"alt":null,"id":26086013272163,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a03ece6860c114ab43225f22b32d7816bab549c.webp?v=1758530453"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a03ece6860c114ab43225f22b32d7816bab549c.webp?v=1758530453","width":2000},{"alt":null,"id":26086013468771,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5622bfdf712dd5235dcc02bcab1c1f18a46f675f.webp?v=1758530453"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5622bfdf712dd5235dcc02bcab1c1f18a46f675f.webp?v=1758530453","width":2000},{"alt":null,"id":26086013763683,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/708c2244418a1a884e21445649aaf5f614e76941.webp?v=1758530453"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/708c2244418a1a884e21445649aaf5f614e76941.webp?v=1758530453","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43155551354979,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-IKU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34515575275619,"product_id":7728402235491,"position":10,"created_at":"2025-09-22T16:40:49+08:00","updated_at":"2025-09-22T16:40:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ac27429192ee79b29e511ede2fff87a1085f689.webp?v=1758530451","variant_ids":[43155551354979]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 小高潮色計事務所 LOVE is LOVE - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-IKU01","featured_media":{"alt":null,"id":26086012846179,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ac27429192ee79b29e511ede2fff87a1085f689.webp?v=1758530451"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43155551354979,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-IKU01","requires_shipping":true,"taxable":true,"featured_image":{"id":34515575275619,"product_id":7728402235491,"position":10,"created_at":"2025-09-22T16:40:49+08:00","updated_at":"2025-09-22T16:40:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ac27429192ee79b29e511ede2fff87a1085f689.webp?v=1758530451","variant_ids":[43155551354979]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) 小高潮色計事務所 LOVE is LOVE - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-IKU01","featured_media":{"alt":null,"id":26086012846179,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ac27429192ee79b29e511ede2fff87a1085f689.webp?v=1758530451"}},"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: "停產" }