$product = {"id":7728429957219,"title":"iPhone 13 Pro Max Mod NX 小高潮色計事務所 Chill high high","handle":"iphone-13-pro-max-mod-nx-printable-iku05","description":null,"published_at":"2025-02-05T17:09:24+08:00","created_at":"2025-02-05T11:36:42+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-小高潮色計事務所 ikuiku studio","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ikuiku-studio","device-iPhone 13 Pro Max","merge","reseller-ikuiku-studio"],"price":90000,"price_min":90000,"price_max":90000,"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":43155706675299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-IKU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34515427655779,"product_id":7728429957219,"position":6,"created_at":"2025-09-22T16:34:28+08:00","updated_at":"2025-09-22T16:34:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a139c901993243f4bd728b165ed8f8825c37a56b.webp?v=1758530070","variant_ids":[43155706675299]},"available":true,"name":"iPhone 13 Pro Max Mod NX 小高潮色計事務所 Chill high high - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0123224-IKU05","featured_media":{"alt":null,"id":26085866864739,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a139c901993243f4bd728b165ed8f8825c37a56b.webp?v=1758530070"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43155706708067,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-IKU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34515428311139,"product_id":7728429957219,"position":10,"created_at":"2025-09-22T16:34:31+08:00","updated_at":"2025-09-22T16:34:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c13c7b0f0c0a1c4c3a0b3199cc63d6719ebe24c7.webp?v=1758530073","variant_ids":[43155706708067]},"available":true,"name":"iPhone 13 Pro Max Mod NX 小高潮色計事務所 Chill high high - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01232J5-IKU05","featured_media":{"alt":null,"id":26085867782243,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c13c7b0f0c0a1c4c3a0b3199cc63d6719ebe24c7.webp?v=1758530073"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/522e44e5fb7ba49b8c5e470c812a5de67fbf9ac5.webp?v=1738726609","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1c96827690f1f197892a9d1a89fb1fb11745ca0.webp?v=1758530068","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cfc1218fb07ce7696477009d8f337e274b08bdf.webp?v=1758530069","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4ea40570f6443bb74503f1c010452cf12aee691.webp?v=1758530069","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48a0bda67fc09643cbd221934febd46792dfc9e1.webp?v=1758530070","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a139c901993243f4bd728b165ed8f8825c37a56b.webp?v=1758530070","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53794292df91979fdb64c6ef06aea1ad2b9314ce.webp?v=1758530071","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fa4637c3c1acf082bd725aa364c2a52d7ff4d1f.webp?v=1758530072","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad77ffdc5e53ad7ff863265cebcc06a07203c504.webp?v=1758530072","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c13c7b0f0c0a1c4c3a0b3199cc63d6719ebe24c7.webp?v=1758530073","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c05c0e3d19dab9c0fae3be438ff96d9d334ba381.webp?v=1758530073"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/522e44e5fb7ba49b8c5e470c812a5de67fbf9ac5.webp?v=1738726609","options":["color"],"media":[{"alt":null,"id":25254955122787,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/522e44e5fb7ba49b8c5e470c812a5de67fbf9ac5.webp?v=1738726609"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/522e44e5fb7ba49b8c5e470c812a5de67fbf9ac5.webp?v=1738726609","width":2000},{"alt":null,"id":26085866045539,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1c96827690f1f197892a9d1a89fb1fb11745ca0.webp?v=1758530068"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1c96827690f1f197892a9d1a89fb1fb11745ca0.webp?v=1758530068","width":2000},{"alt":null,"id":26085866176611,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cfc1218fb07ce7696477009d8f337e274b08bdf.webp?v=1758530069"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cfc1218fb07ce7696477009d8f337e274b08bdf.webp?v=1758530069","width":2000},{"alt":null,"id":26085866668131,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4ea40570f6443bb74503f1c010452cf12aee691.webp?v=1758530069"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4ea40570f6443bb74503f1c010452cf12aee691.webp?v=1758530069","width":2000},{"alt":null,"id":26085866733667,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48a0bda67fc09643cbd221934febd46792dfc9e1.webp?v=1758530070"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48a0bda67fc09643cbd221934febd46792dfc9e1.webp?v=1758530070","width":2000},{"alt":null,"id":26085866864739,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a139c901993243f4bd728b165ed8f8825c37a56b.webp?v=1758530070"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a139c901993243f4bd728b165ed8f8825c37a56b.webp?v=1758530070","width":2000},{"alt":null,"id":26085866963043,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53794292df91979fdb64c6ef06aea1ad2b9314ce.webp?v=1758530071"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53794292df91979fdb64c6ef06aea1ad2b9314ce.webp?v=1758530071","width":2000},{"alt":null,"id":26085867094115,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fa4637c3c1acf082bd725aa364c2a52d7ff4d1f.webp?v=1758530072"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fa4637c3c1acf082bd725aa364c2a52d7ff4d1f.webp?v=1758530072","width":2000},{"alt":null,"id":26085867552867,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad77ffdc5e53ad7ff863265cebcc06a07203c504.webp?v=1758530072"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad77ffdc5e53ad7ff863265cebcc06a07203c504.webp?v=1758530072","width":2000},{"alt":null,"id":26085867782243,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c13c7b0f0c0a1c4c3a0b3199cc63d6719ebe24c7.webp?v=1758530073"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c13c7b0f0c0a1c4c3a0b3199cc63d6719ebe24c7.webp?v=1758530073","width":2000},{"alt":null,"id":26085867978851,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c05c0e3d19dab9c0fae3be438ff96d9d334ba381.webp?v=1758530073"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c05c0e3d19dab9c0fae3be438ff96d9d334ba381.webp?v=1758530073","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43155706675299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-IKU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34515427655779,"product_id":7728429957219,"position":6,"created_at":"2025-09-22T16:34:28+08:00","updated_at":"2025-09-22T16:34:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a139c901993243f4bd728b165ed8f8825c37a56b.webp?v=1758530070","variant_ids":[43155706675299]},"available":true,"name":"iPhone 13 Pro Max Mod NX 小高潮色計事務所 Chill high high - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0123224-IKU05","featured_media":{"alt":null,"id":26085866864739,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a139c901993243f4bd728b165ed8f8825c37a56b.webp?v=1758530070"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43155706708067,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-IKU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34515428311139,"product_id":7728429957219,"position":10,"created_at":"2025-09-22T16:34:31+08:00","updated_at":"2025-09-22T16:34:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c13c7b0f0c0a1c4c3a0b3199cc63d6719ebe24c7.webp?v=1758530073","variant_ids":[43155706708067]},"available":true,"name":"iPhone 13 Pro Max Mod NX 小高潮色計事務所 Chill high high - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01232J5-IKU05","featured_media":{"alt":null,"id":26085867782243,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c13c7b0f0c0a1c4c3a0b3199cc63d6719ebe24c7.webp?v=1758530073"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43155706675299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-IKU05","requires_shipping":true,"taxable":true,"featured_image":{"id":34515427655779,"product_id":7728429957219,"position":6,"created_at":"2025-09-22T16:34:28+08:00","updated_at":"2025-09-22T16:34:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a139c901993243f4bd728b165ed8f8825c37a56b.webp?v=1758530070","variant_ids":[43155706675299]},"available":true,"name":"iPhone 13 Pro Max Mod NX 小高潮色計事務所 Chill high high - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0123224-IKU05","featured_media":{"alt":null,"id":26085866864739,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a139c901993243f4bd728b165ed8f8825c37a56b.webp?v=1758530070"}},"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: "停產" }