$product = {"id":7769427673187,"title":"iPhone 13 Pro Max Mod NX ilovedoodle Stay Curious - 保持好奇心","handle":"iphone-13-pro-max-mod-nx-printable-xf57","description":null,"published_at":"2025-07-16T17:37:32+08:00","created_at":"2025-04-15T15:57:36+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 13 Pro Max","merge","reseller-ilovedoodle"],"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":43302295502947,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34196937146467,"product_id":7769427673187,"position":4,"created_at":"2025-07-16T14:54:44+08:00","updated_at":"2025-07-16T14:54:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2aa1a805f0c71edc646f88292e64d922fe34dff9_096c10c2-7b9f-4637-aedf-678d28f67f4f.webp?v=1752648886","variant_ids":[43302295502947]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Stay Curious - 保持好奇心 - 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-XF57","featured_media":{"alt":null,"id":25829626216547,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2aa1a805f0c71edc646f88292e64d922fe34dff9_096c10c2-7b9f-4637-aedf-678d28f67f4f.webp?v=1752648886"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302299926627,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34196939243619,"product_id":7769427673187,"position":11,"created_at":"2025-07-16T14:54:48+08:00","updated_at":"2025-07-16T14:54:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5721869621277ccab69ecd6c028ed2ecfb973bff_bd747f03-da18-499c-8259-34d39f63c5dd.webp?v=1752648889","variant_ids":[43302299926627]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Stay Curious - 保持好奇心 - 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-XF57","featured_media":{"alt":null,"id":25829627658339,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5721869621277ccab69ecd6c028ed2ecfb973bff_bd747f03-da18-499c-8259-34d39f63c5dd.webp?v=1752648889"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17f9f167397e3d1fabd959040805e2efcddea61a.webp?v=1744703863","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46a58624af945629d854d8ae5df0e0c2f13c4f48_693cf150-cd5c-4594-8e42-331e8a147677.webp?v=1752648885","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0993166938fce88f7a4a3dfd15b8211fdf7705d9_89327b98-b379-420b-bccf-cfb2c9535df0.webp?v=1752648885","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2aa1a805f0c71edc646f88292e64d922fe34dff9_096c10c2-7b9f-4637-aedf-678d28f67f4f.webp?v=1752648886","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b3da51e6c9bb663b6004c75ee8bfd9e12ffa920_22cbb121-aa4f-485f-93da-118ebb8bc29e.webp?v=1752648886","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e94c9c199bc346067c7f18bea624b6ba383663a_d509c218-61ce-49fa-bfa0-c481a02c6ab5.webp?v=1752648887","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43eb4d5252162d04adb99d50cba3bab16d67b559_b359e31c-ba86-4adf-af54-dc4b2f58dbfd.webp?v=1752648887","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b0efbe0aa0529e6b82fcc56770f4881609399a5_0af481ba-ff07-4716-b0fa-7ac47fa7f91a.webp?v=1752648888","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a577021125838a1b4b7ed8ecdb94c298d985e6_52bb05cb-fc26-43e6-9c9d-2cee79b4d7e6.webp?v=1752648888","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aad77484dbaf0e83b0480cff90e28fcef2f699b8_31346727-1b27-4926-8c19-6d7fe7b011eb.webp?v=1752648889","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5721869621277ccab69ecd6c028ed2ecfb973bff_bd747f03-da18-499c-8259-34d39f63c5dd.webp?v=1752648889"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17f9f167397e3d1fabd959040805e2efcddea61a.webp?v=1744703863","options":["color"],"media":[{"alt":null,"id":25495394189411,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17f9f167397e3d1fabd959040805e2efcddea61a.webp?v=1744703863"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17f9f167397e3d1fabd959040805e2efcddea61a.webp?v=1744703863","width":2000},{"alt":null,"id":25829625856099,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46a58624af945629d854d8ae5df0e0c2f13c4f48_693cf150-cd5c-4594-8e42-331e8a147677.webp?v=1752648885"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46a58624af945629d854d8ae5df0e0c2f13c4f48_693cf150-cd5c-4594-8e42-331e8a147677.webp?v=1752648885","width":2000},{"alt":null,"id":25829626052707,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0993166938fce88f7a4a3dfd15b8211fdf7705d9_89327b98-b379-420b-bccf-cfb2c9535df0.webp?v=1752648885"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0993166938fce88f7a4a3dfd15b8211fdf7705d9_89327b98-b379-420b-bccf-cfb2c9535df0.webp?v=1752648885","width":2000},{"alt":null,"id":25829626216547,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2aa1a805f0c71edc646f88292e64d922fe34dff9_096c10c2-7b9f-4637-aedf-678d28f67f4f.webp?v=1752648886"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2aa1a805f0c71edc646f88292e64d922fe34dff9_096c10c2-7b9f-4637-aedf-678d28f67f4f.webp?v=1752648886","width":2000},{"alt":null,"id":25829626413155,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b3da51e6c9bb663b6004c75ee8bfd9e12ffa920_22cbb121-aa4f-485f-93da-118ebb8bc29e.webp?v=1752648886"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b3da51e6c9bb663b6004c75ee8bfd9e12ffa920_22cbb121-aa4f-485f-93da-118ebb8bc29e.webp?v=1752648886","width":2000},{"alt":null,"id":25829626511459,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e94c9c199bc346067c7f18bea624b6ba383663a_d509c218-61ce-49fa-bfa0-c481a02c6ab5.webp?v=1752648887"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e94c9c199bc346067c7f18bea624b6ba383663a_d509c218-61ce-49fa-bfa0-c481a02c6ab5.webp?v=1752648887","width":2000},{"alt":null,"id":25829626675299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43eb4d5252162d04adb99d50cba3bab16d67b559_b359e31c-ba86-4adf-af54-dc4b2f58dbfd.webp?v=1752648887"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43eb4d5252162d04adb99d50cba3bab16d67b559_b359e31c-ba86-4adf-af54-dc4b2f58dbfd.webp?v=1752648887","width":2000},{"alt":null,"id":25829626806371,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b0efbe0aa0529e6b82fcc56770f4881609399a5_0af481ba-ff07-4716-b0fa-7ac47fa7f91a.webp?v=1752648888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b0efbe0aa0529e6b82fcc56770f4881609399a5_0af481ba-ff07-4716-b0fa-7ac47fa7f91a.webp?v=1752648888","width":2000},{"alt":null,"id":25829626904675,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a577021125838a1b4b7ed8ecdb94c298d985e6_52bb05cb-fc26-43e6-9c9d-2cee79b4d7e6.webp?v=1752648888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76a577021125838a1b4b7ed8ecdb94c298d985e6_52bb05cb-fc26-43e6-9c9d-2cee79b4d7e6.webp?v=1752648888","width":2000},{"alt":null,"id":25829627035747,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aad77484dbaf0e83b0480cff90e28fcef2f699b8_31346727-1b27-4926-8c19-6d7fe7b011eb.webp?v=1752648889"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aad77484dbaf0e83b0480cff90e28fcef2f699b8_31346727-1b27-4926-8c19-6d7fe7b011eb.webp?v=1752648889","width":2000},{"alt":null,"id":25829627658339,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5721869621277ccab69ecd6c028ed2ecfb973bff_bd747f03-da18-499c-8259-34d39f63c5dd.webp?v=1752648889"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5721869621277ccab69ecd6c028ed2ecfb973bff_bd747f03-da18-499c-8259-34d39f63c5dd.webp?v=1752648889","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43302295502947,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34196937146467,"product_id":7769427673187,"position":4,"created_at":"2025-07-16T14:54:44+08:00","updated_at":"2025-07-16T14:54:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2aa1a805f0c71edc646f88292e64d922fe34dff9_096c10c2-7b9f-4637-aedf-678d28f67f4f.webp?v=1752648886","variant_ids":[43302295502947]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Stay Curious - 保持好奇心 - 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-XF57","featured_media":{"alt":null,"id":25829626216547,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2aa1a805f0c71edc646f88292e64d922fe34dff9_096c10c2-7b9f-4637-aedf-678d28f67f4f.webp?v=1752648886"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43302299926627,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34196939243619,"product_id":7769427673187,"position":11,"created_at":"2025-07-16T14:54:48+08:00","updated_at":"2025-07-16T14:54:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5721869621277ccab69ecd6c028ed2ecfb973bff_bd747f03-da18-499c-8259-34d39f63c5dd.webp?v=1752648889","variant_ids":[43302299926627]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Stay Curious - 保持好奇心 - 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-XF57","featured_media":{"alt":null,"id":25829627658339,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5721869621277ccab69ecd6c028ed2ecfb973bff_bd747f03-da18-499c-8259-34d39f63c5dd.webp?v=1752648889"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43302295502947,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34196937146467,"product_id":7769427673187,"position":4,"created_at":"2025-07-16T14:54:44+08:00","updated_at":"2025-07-16T14:54:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2aa1a805f0c71edc646f88292e64d922fe34dff9_096c10c2-7b9f-4637-aedf-678d28f67f4f.webp?v=1752648886","variant_ids":[43302295502947]},"available":true,"name":"iPhone 13 Pro Max Mod NX ilovedoodle Stay Curious - 保持好奇心 - 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-XF57","featured_media":{"alt":null,"id":25829626216547,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2aa1a805f0c71edc646f88292e64d922fe34dff9_096c10c2-7b9f-4637-aedf-678d28f67f4f.webp?v=1752648886"}},"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: "停產" }