$product = {"id":7728395747427,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 小高潮色計事務所 小高潮旅行社","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-iku04","description":null,"published_at":"2025-02-05T17:24:24+08:00","created_at":"2025-02-05T11:27:28+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":43155513278563,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-IKU04","requires_shipping":true,"taxable":true,"featured_image":{"id":34515646349411,"product_id":7728395747427,"position":8,"created_at":"2025-09-22T16:44:15+08:00","updated_at":"2025-09-22T16:44:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d7f929b1050d307ad3faf346669de2a6060a9aa.webp?v=1758530657","variant_ids":[43155513278563]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 小高潮色計事務所 小高潮旅行社 - 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-IKU04","featured_media":{"alt":null,"id":26086083985507,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d7f929b1050d307ad3faf346669de2a6060a9aa.webp?v=1758530657"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43155513311331,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-IKU04","requires_shipping":true,"taxable":true,"featured_image":{"id":34515647561827,"product_id":7728395747427,"position":12,"created_at":"2025-09-22T16:44:17+08:00","updated_at":"2025-09-22T16:44:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b63965a502fcfd8fd88dfe0a06f4d23fd5ce23a.webp?v=1758530659","variant_ids":[43155513311331]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 小高潮色計事務所 小高潮旅行社 - 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-IKU04","featured_media":{"alt":null,"id":26086085197923,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b63965a502fcfd8fd88dfe0a06f4d23fd5ce23a.webp?v=1758530659"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42c2696aa6f3f89ab9072608b7d270bd4df0d6ae_967f20ee-07e4-4df4-b723-c7d97afb5ad4.webp?v=1738726054","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a759d540c6eb616b2a8958cbc22c76010cdd2e67.webp?v=1758530653","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16ea24d0d86ce06c257c250625c5b4fae5ab1e95.webp?v=1758530654","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34e29c1e58b3818ce03ef7a93e766f92d5fa33eb.webp?v=1758530655","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17e583f9f0b29029d3b0baeb7efdb258154cef8b.webp?v=1758530655","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41e4ba920504ce486dc82d36e92c9156a7793480.webp?v=1758530656","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9431478bb08082e224ce3e3bb9d8baad8a3a7dbf.webp?v=1758530656","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d7f929b1050d307ad3faf346669de2a6060a9aa.webp?v=1758530657","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/099b06f815c1651408e4877ed0480ff9ffdf3acb.webp?v=1758530658","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ffa161d0607abd216113670a2fe19fec818b59d.webp?v=1758530658","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6022c44dffb379cda18b212f94d88715c829f27c.webp?v=1758530658","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b63965a502fcfd8fd88dfe0a06f4d23fd5ce23a.webp?v=1758530659"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42c2696aa6f3f89ab9072608b7d270bd4df0d6ae_967f20ee-07e4-4df4-b723-c7d97afb5ad4.webp?v=1738726054","options":["color"],"media":[{"alt":null,"id":25254910328931,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42c2696aa6f3f89ab9072608b7d270bd4df0d6ae_967f20ee-07e4-4df4-b723-c7d97afb5ad4.webp?v=1738726054"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42c2696aa6f3f89ab9072608b7d270bd4df0d6ae_967f20ee-07e4-4df4-b723-c7d97afb5ad4.webp?v=1738726054","width":2000},{"alt":null,"id":26086083002467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a759d540c6eb616b2a8958cbc22c76010cdd2e67.webp?v=1758530653"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a759d540c6eb616b2a8958cbc22c76010cdd2e67.webp?v=1758530653","width":2000},{"alt":null,"id":26086083133539,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16ea24d0d86ce06c257c250625c5b4fae5ab1e95.webp?v=1758530654"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16ea24d0d86ce06c257c250625c5b4fae5ab1e95.webp?v=1758530654","width":2000},{"alt":null,"id":26086083264611,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34e29c1e58b3818ce03ef7a93e766f92d5fa33eb.webp?v=1758530655"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34e29c1e58b3818ce03ef7a93e766f92d5fa33eb.webp?v=1758530655","width":2000},{"alt":null,"id":26086083395683,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17e583f9f0b29029d3b0baeb7efdb258154cef8b.webp?v=1758530655"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17e583f9f0b29029d3b0baeb7efdb258154cef8b.webp?v=1758530655","width":2000},{"alt":null,"id":26086083592291,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41e4ba920504ce486dc82d36e92c9156a7793480.webp?v=1758530656"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41e4ba920504ce486dc82d36e92c9156a7793480.webp?v=1758530656","width":2000},{"alt":null,"id":26086083788899,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9431478bb08082e224ce3e3bb9d8baad8a3a7dbf.webp?v=1758530656"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9431478bb08082e224ce3e3bb9d8baad8a3a7dbf.webp?v=1758530656","width":2000},{"alt":null,"id":26086083985507,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d7f929b1050d307ad3faf346669de2a6060a9aa.webp?v=1758530657"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d7f929b1050d307ad3faf346669de2a6060a9aa.webp?v=1758530657","width":2000},{"alt":null,"id":26086084247651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/099b06f815c1651408e4877ed0480ff9ffdf3acb.webp?v=1758530658"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/099b06f815c1651408e4877ed0480ff9ffdf3acb.webp?v=1758530658","width":2000},{"alt":null,"id":26086084575331,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ffa161d0607abd216113670a2fe19fec818b59d.webp?v=1758530658"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ffa161d0607abd216113670a2fe19fec818b59d.webp?v=1758530658","width":2000},{"alt":null,"id":26086084739171,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6022c44dffb379cda18b212f94d88715c829f27c.webp?v=1758530658"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6022c44dffb379cda18b212f94d88715c829f27c.webp?v=1758530658","width":2000},{"alt":null,"id":26086085197923,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b63965a502fcfd8fd88dfe0a06f4d23fd5ce23a.webp?v=1758530659"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b63965a502fcfd8fd88dfe0a06f4d23fd5ce23a.webp?v=1758530659","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43155513278563,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-IKU04","requires_shipping":true,"taxable":true,"featured_image":{"id":34515646349411,"product_id":7728395747427,"position":8,"created_at":"2025-09-22T16:44:15+08:00","updated_at":"2025-09-22T16:44:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d7f929b1050d307ad3faf346669de2a6060a9aa.webp?v=1758530657","variant_ids":[43155513278563]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 小高潮色計事務所 小高潮旅行社 - 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-IKU04","featured_media":{"alt":null,"id":26086083985507,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d7f929b1050d307ad3faf346669de2a6060a9aa.webp?v=1758530657"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43155513311331,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-IKU04","requires_shipping":true,"taxable":true,"featured_image":{"id":34515647561827,"product_id":7728395747427,"position":12,"created_at":"2025-09-22T16:44:17+08:00","updated_at":"2025-09-22T16:44:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b63965a502fcfd8fd88dfe0a06f4d23fd5ce23a.webp?v=1758530659","variant_ids":[43155513311331]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 小高潮色計事務所 小高潮旅行社 - 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-IKU04","featured_media":{"alt":null,"id":26086085197923,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b63965a502fcfd8fd88dfe0a06f4d23fd5ce23a.webp?v=1758530659"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43155513278563,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-IKU04","requires_shipping":true,"taxable":true,"featured_image":{"id":34515646349411,"product_id":7728395747427,"position":8,"created_at":"2025-09-22T16:44:15+08:00","updated_at":"2025-09-22T16:44:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d7f929b1050d307ad3faf346669de2a6060a9aa.webp?v=1758530657","variant_ids":[43155513278563]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 小高潮色計事務所 小高潮旅行社 - 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-IKU04","featured_media":{"alt":null,"id":26086083985507,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d7f929b1050d307ad3faf346669de2a6060a9aa.webp?v=1758530657"}},"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: "停產" }