$product = {"id":7876137189475,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 奧樂雞 OLOGY 花路展開","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-eb79","description":null,"published_at":"2025-09-04T09:31:53+08:00","created_at":"2025-09-03T12:10:57+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-byebyechuchu","device-iPhone 13 Pro Max","merge","reseller-byebyechuchu"],"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":43675574239331,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-EB79","requires_shipping":true,"taxable":true,"featured_image":{"id":34416532914275,"product_id":7876137189475,"position":9,"created_at":"2025-09-03T12:11:07+08:00","updated_at":"2025-09-03T12:11:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ff4199b25e28328dd36a799252e4f770c9759f2.webp?v=1756872669","variant_ids":[43675574239331]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 奧樂雞 OLOGY 花路展開 - 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-EB79","featured_media":{"alt":null,"id":25988807327843,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ff4199b25e28328dd36a799252e4f770c9759f2.webp?v=1756872669"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675574403171,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-EB79","requires_shipping":true,"taxable":true,"featured_image":{"id":34416532422755,"product_id":7876137189475,"position":8,"created_at":"2025-09-03T12:11:07+08:00","updated_at":"2025-09-03T12:11:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf8ab4f9e97e213699157fc9bcd250c86cc9e6e6.webp?v=1756872669","variant_ids":[43675574403171]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 奧樂雞 OLOGY 花路展開 - 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-EB79","featured_media":{"alt":null,"id":25988806836323,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf8ab4f9e97e213699157fc9bcd250c86cc9e6e6.webp?v=1756872669"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fbef517ec982473f973132412baca2a10bd18f4.webp?v=1756872663","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18655f72e92acb68d8b40dd20aee198b5162d2e9.webp?v=1756872664","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e33723a5b32c83f20e80288e5551dedd4d7cfe8e.webp?v=1756872665","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3bff7ff109cc867c59dc52daa5c037752854f0e.webp?v=1756872666","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2737fa14654696f9f3e29936db8140fdf7c19445.webp?v=1756872666","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95bad3fe68256d54ef1afc92de92ed0e3ff69bae.webp?v=1756872667","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7b17556c9d5ab7e9bfab24c066c04c5a7506387.webp?v=1756872668","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf8ab4f9e97e213699157fc9bcd250c86cc9e6e6.webp?v=1756872669","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ff4199b25e28328dd36a799252e4f770c9759f2.webp?v=1756872669","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aad31d71d4286282f86225ae17626d0fcb585d51.webp?v=1756872670","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/842b131f9b408a23c6611ab9778f5786c50674cf.webp?v=1756872671"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fbef517ec982473f973132412baca2a10bd18f4.webp?v=1756872663","options":["color"],"media":[{"alt":null,"id":25988805263459,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fbef517ec982473f973132412baca2a10bd18f4.webp?v=1756872663"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fbef517ec982473f973132412baca2a10bd18f4.webp?v=1756872663","width":2000},{"alt":null,"id":25988805460067,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18655f72e92acb68d8b40dd20aee198b5162d2e9.webp?v=1756872664"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18655f72e92acb68d8b40dd20aee198b5162d2e9.webp?v=1756872664","width":2000},{"alt":null,"id":25988805623907,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e33723a5b32c83f20e80288e5551dedd4d7cfe8e.webp?v=1756872665"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e33723a5b32c83f20e80288e5551dedd4d7cfe8e.webp?v=1756872665","width":2000},{"alt":null,"id":25988805918819,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3bff7ff109cc867c59dc52daa5c037752854f0e.webp?v=1756872666"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3bff7ff109cc867c59dc52daa5c037752854f0e.webp?v=1756872666","width":2000},{"alt":null,"id":25988806180963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2737fa14654696f9f3e29936db8140fdf7c19445.webp?v=1756872666"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2737fa14654696f9f3e29936db8140fdf7c19445.webp?v=1756872666","width":2000},{"alt":null,"id":25988806377571,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95bad3fe68256d54ef1afc92de92ed0e3ff69bae.webp?v=1756872667"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95bad3fe68256d54ef1afc92de92ed0e3ff69bae.webp?v=1756872667","width":2000},{"alt":null,"id":25988806574179,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7b17556c9d5ab7e9bfab24c066c04c5a7506387.webp?v=1756872668"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7b17556c9d5ab7e9bfab24c066c04c5a7506387.webp?v=1756872668","width":2000},{"alt":null,"id":25988806836323,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf8ab4f9e97e213699157fc9bcd250c86cc9e6e6.webp?v=1756872669"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf8ab4f9e97e213699157fc9bcd250c86cc9e6e6.webp?v=1756872669","width":2000},{"alt":null,"id":25988807327843,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ff4199b25e28328dd36a799252e4f770c9759f2.webp?v=1756872669"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ff4199b25e28328dd36a799252e4f770c9759f2.webp?v=1756872669","width":2000},{"alt":null,"id":25988807655523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aad31d71d4286282f86225ae17626d0fcb585d51.webp?v=1756872670"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aad31d71d4286282f86225ae17626d0fcb585d51.webp?v=1756872670","width":2000},{"alt":null,"id":25988807917667,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/842b131f9b408a23c6611ab9778f5786c50674cf.webp?v=1756872671"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/842b131f9b408a23c6611ab9778f5786c50674cf.webp?v=1756872671","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43675574239331,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-EB79","requires_shipping":true,"taxable":true,"featured_image":{"id":34416532914275,"product_id":7876137189475,"position":9,"created_at":"2025-09-03T12:11:07+08:00","updated_at":"2025-09-03T12:11:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ff4199b25e28328dd36a799252e4f770c9759f2.webp?v=1756872669","variant_ids":[43675574239331]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 奧樂雞 OLOGY 花路展開 - 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-EB79","featured_media":{"alt":null,"id":25988807327843,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ff4199b25e28328dd36a799252e4f770c9759f2.webp?v=1756872669"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675574403171,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-EB79","requires_shipping":true,"taxable":true,"featured_image":{"id":34416532422755,"product_id":7876137189475,"position":8,"created_at":"2025-09-03T12:11:07+08:00","updated_at":"2025-09-03T12:11:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf8ab4f9e97e213699157fc9bcd250c86cc9e6e6.webp?v=1756872669","variant_ids":[43675574403171]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 奧樂雞 OLOGY 花路展開 - 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-EB79","featured_media":{"alt":null,"id":25988806836323,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf8ab4f9e97e213699157fc9bcd250c86cc9e6e6.webp?v=1756872669"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43675574239331,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-EB79","requires_shipping":true,"taxable":true,"featured_image":{"id":34416532914275,"product_id":7876137189475,"position":9,"created_at":"2025-09-03T12:11:07+08:00","updated_at":"2025-09-03T12:11:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ff4199b25e28328dd36a799252e4f770c9759f2.webp?v=1756872669","variant_ids":[43675574239331]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 奧樂雞 OLOGY 花路展開 - 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-EB79","featured_media":{"alt":null,"id":25988807327843,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ff4199b25e28328dd36a799252e4f770c9759f2.webp?v=1756872669"}},"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: "停產" }