$product = {"id":7728442245219,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 小高潮色計事務所 Chill high high","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-iku05","description":null,"published_at":"2025-02-05T17:03:43+08:00","created_at":"2025-02-05T11:40:03+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 13 Pro Max","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":43155775193187,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-IKU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34515362316387,"product_id":7728442245219,"position":5,"created_at":"2025-09-22T16:31:38+08:00","updated_at":"2025-09-22T16:31:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56acf035ee7ace8c2edbd9c6df4324363669d01d.webp?v=1758529900","variant_ids":[43155775193187]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 小高潮色計事務所 Chill high high - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-IKU05","featured_media":{"alt":null,"id":26085801787491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56acf035ee7ace8c2edbd9c6df4324363669d01d.webp?v=1758529900"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43155775225955,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-IKU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34515361890403,"product_id":7728442245219,"position":3,"created_at":"2025-09-22T16:31:37+08:00","updated_at":"2025-09-22T16:31:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81a1947ba6f73afc60b8118903f943324d8020b2.webp?v=1758529899","variant_ids":[43155775225955]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 小高潮色計事務所 Chill high high - 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":"MPB01232J5-IKU05","featured_media":{"alt":null,"id":26085801361507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81a1947ba6f73afc60b8118903f943324d8020b2.webp?v=1758529899"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/522e44e5fb7ba49b8c5e470c812a5de67fbf9ac5_641254d9-02be-4fc3-a71d-0bdc18525f63.webp?v=1738726810","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a7a058d809355846fa0e865def9a47d2607195f.webp?v=1758529898","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81a1947ba6f73afc60b8118903f943324d8020b2.webp?v=1758529899","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75ac95c4bd8f4826a9cf03bdda20f66f9253ef2a.webp?v=1758529900","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56acf035ee7ace8c2edbd9c6df4324363669d01d.webp?v=1758529900","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2a9c1fc64ac50aaa9fcea48ef3c83b789680650.webp?v=1758529900","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e55be5ae3ed3b2053f1e664539b899509994158.webp?v=1758529901","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a8c59a6a6b5e29755e1a2c4a97834a3adf4c36f.webp?v=1758529901","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df85c6d92fac58e970c9c1e46dd7661162b80aac.webp?v=1758529902","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40fc4a84b3d7dfa393012c74b5a192ca1704ce00.webp?v=1758529903","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7b1f209d5acefb12bcde2856c431daa09db6b9d.webp?v=1758529903","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0980e02a0e4e60b1615f48b1ae142316dfbe2d36.webp?v=1758529904"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/522e44e5fb7ba49b8c5e470c812a5de67fbf9ac5_641254d9-02be-4fc3-a71d-0bdc18525f63.webp?v=1738726810","options":["color"],"media":[{"alt":null,"id":25254970490979,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/522e44e5fb7ba49b8c5e470c812a5de67fbf9ac5_641254d9-02be-4fc3-a71d-0bdc18525f63.webp?v=1738726810"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/522e44e5fb7ba49b8c5e470c812a5de67fbf9ac5_641254d9-02be-4fc3-a71d-0bdc18525f63.webp?v=1738726810","width":2000},{"alt":null,"id":26085801230435,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a7a058d809355846fa0e865def9a47d2607195f.webp?v=1758529898"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a7a058d809355846fa0e865def9a47d2607195f.webp?v=1758529898","width":2000},{"alt":null,"id":26085801361507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81a1947ba6f73afc60b8118903f943324d8020b2.webp?v=1758529899"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81a1947ba6f73afc60b8118903f943324d8020b2.webp?v=1758529899","width":2000},{"alt":null,"id":26085801689187,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75ac95c4bd8f4826a9cf03bdda20f66f9253ef2a.webp?v=1758529900"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75ac95c4bd8f4826a9cf03bdda20f66f9253ef2a.webp?v=1758529900","width":2000},{"alt":null,"id":26085801787491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56acf035ee7ace8c2edbd9c6df4324363669d01d.webp?v=1758529900"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56acf035ee7ace8c2edbd9c6df4324363669d01d.webp?v=1758529900","width":2000},{"alt":null,"id":26085801885795,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2a9c1fc64ac50aaa9fcea48ef3c83b789680650.webp?v=1758529900"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2a9c1fc64ac50aaa9fcea48ef3c83b789680650.webp?v=1758529900","width":2000},{"alt":null,"id":26085802180707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e55be5ae3ed3b2053f1e664539b899509994158.webp?v=1758529901"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e55be5ae3ed3b2053f1e664539b899509994158.webp?v=1758529901","width":2000},{"alt":null,"id":26085802344547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a8c59a6a6b5e29755e1a2c4a97834a3adf4c36f.webp?v=1758529901"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a8c59a6a6b5e29755e1a2c4a97834a3adf4c36f.webp?v=1758529901","width":2000},{"alt":null,"id":26085802475619,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df85c6d92fac58e970c9c1e46dd7661162b80aac.webp?v=1758529902"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df85c6d92fac58e970c9c1e46dd7661162b80aac.webp?v=1758529902","width":2000},{"alt":null,"id":26085802704995,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40fc4a84b3d7dfa393012c74b5a192ca1704ce00.webp?v=1758529903"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40fc4a84b3d7dfa393012c74b5a192ca1704ce00.webp?v=1758529903","width":2000},{"alt":null,"id":26085802967139,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7b1f209d5acefb12bcde2856c431daa09db6b9d.webp?v=1758529903"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7b1f209d5acefb12bcde2856c431daa09db6b9d.webp?v=1758529903","width":2000},{"alt":null,"id":26085803229283,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0980e02a0e4e60b1615f48b1ae142316dfbe2d36.webp?v=1758529904"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0980e02a0e4e60b1615f48b1ae142316dfbe2d36.webp?v=1758529904","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43155775193187,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-IKU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34515362316387,"product_id":7728442245219,"position":5,"created_at":"2025-09-22T16:31:38+08:00","updated_at":"2025-09-22T16:31:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56acf035ee7ace8c2edbd9c6df4324363669d01d.webp?v=1758529900","variant_ids":[43155775193187]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 小高潮色計事務所 Chill high high - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-IKU05","featured_media":{"alt":null,"id":26085801787491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56acf035ee7ace8c2edbd9c6df4324363669d01d.webp?v=1758529900"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43155775225955,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-IKU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34515361890403,"product_id":7728442245219,"position":3,"created_at":"2025-09-22T16:31:37+08:00","updated_at":"2025-09-22T16:31:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81a1947ba6f73afc60b8118903f943324d8020b2.webp?v=1758529899","variant_ids":[43155775225955]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 小高潮色計事務所 Chill high high - 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":"MPB01232J5-IKU05","featured_media":{"alt":null,"id":26085801361507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81a1947ba6f73afc60b8118903f943324d8020b2.webp?v=1758529899"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43155775193187,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-IKU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34515362316387,"product_id":7728442245219,"position":5,"created_at":"2025-09-22T16:31:38+08:00","updated_at":"2025-09-22T16:31:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56acf035ee7ace8c2edbd9c6df4324363669d01d.webp?v=1758529900","variant_ids":[43155775193187]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 小高潮色計事務所 Chill high high - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-IKU05","featured_media":{"alt":null,"id":26085801787491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56acf035ee7ace8c2edbd9c6df4324363669d01d.webp?v=1758529900"}},"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: "停產" }