$product = {"id":7876196728931,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 準備好去愛了","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-ea105","description":null,"published_at":"2025-09-04T09:02:27+08:00","created_at":"2025-09-03T12:27:02+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-songsongmeow","device-iPhone 13 Pro Max","merge","reseller-songsongmeow"],"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":43675807645795,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-EA105","requires_shipping":true,"taxable":true,"featured_image":{"id":34416778543203,"product_id":7876196728931,"position":5,"created_at":"2025-09-03T12:27:10+08:00","updated_at":"2025-09-03T12:27:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e128bb8f276fb86561c1d655a81c89460d3c451e.webp?v=1756873632","variant_ids":[43675807645795]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 準備好去愛了 - 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-EA105","featured_media":{"alt":null,"id":25989053349987,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e128bb8f276fb86561c1d655a81c89460d3c451e.webp?v=1756873632"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675807809635,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-EA105","requires_shipping":true,"taxable":true,"featured_image":{"id":34416779427939,"product_id":7876196728931,"position":10,"created_at":"2025-09-03T12:27:14+08:00","updated_at":"2025-09-03T12:27:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cb2009cb818380b78cc0e6b7a390bf43fd3227b.webp?v=1756873636","variant_ids":[43675807809635]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 準備好去愛了 - 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-EA105","featured_media":{"alt":null,"id":25989054234723,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cb2009cb818380b78cc0e6b7a390bf43fd3227b.webp?v=1756873636"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20903a57ca3be81a202fc0476a6d1b7b8d9493b0.webp?v=1756873629","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d645d7bec994d1706860998a20b5bee7f04c30b1.webp?v=1756873630","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/973377d9673c5f5e644aa3dffcc0d2b06893c445.webp?v=1756873631","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10f4ef6c8a08b5f2aa1346befd1d0903174390ad.webp?v=1756873631","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e128bb8f276fb86561c1d655a81c89460d3c451e.webp?v=1756873632","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/880c05e1274f0ea3007b9f27ce1f58d042c3cac4.webp?v=1756873633","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e0f2bc8fc19b03914de3e1f79a93ca5fe4182f.webp?v=1756873634","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5705b1d304c38cfb664fb494e9d491be73e1d34e.webp?v=1756873635","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5d46b556d803f2973c41915d88bc292625d2c56.webp?v=1756873636","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cb2009cb818380b78cc0e6b7a390bf43fd3227b.webp?v=1756873636","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ab4a2401240d436326c1298e879bbf7921d342f.webp?v=1756873637"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20903a57ca3be81a202fc0476a6d1b7b8d9493b0.webp?v=1756873629","options":["color"],"media":[{"alt":null,"id":25989052465251,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20903a57ca3be81a202fc0476a6d1b7b8d9493b0.webp?v=1756873629"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20903a57ca3be81a202fc0476a6d1b7b8d9493b0.webp?v=1756873629","width":2000},{"alt":null,"id":25989052661859,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d645d7bec994d1706860998a20b5bee7f04c30b1.webp?v=1756873630"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d645d7bec994d1706860998a20b5bee7f04c30b1.webp?v=1756873630","width":2000},{"alt":null,"id":25989052891235,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/973377d9673c5f5e644aa3dffcc0d2b06893c445.webp?v=1756873631"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/973377d9673c5f5e644aa3dffcc0d2b06893c445.webp?v=1756873631","width":2000},{"alt":null,"id":25989053087843,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10f4ef6c8a08b5f2aa1346befd1d0903174390ad.webp?v=1756873631"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10f4ef6c8a08b5f2aa1346befd1d0903174390ad.webp?v=1756873631","width":2000},{"alt":null,"id":25989053349987,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e128bb8f276fb86561c1d655a81c89460d3c451e.webp?v=1756873632"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e128bb8f276fb86561c1d655a81c89460d3c451e.webp?v=1756873632","width":2000},{"alt":null,"id":25989053579363,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/880c05e1274f0ea3007b9f27ce1f58d042c3cac4.webp?v=1756873633"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/880c05e1274f0ea3007b9f27ce1f58d042c3cac4.webp?v=1756873633","width":2000},{"alt":null,"id":25989053775971,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e0f2bc8fc19b03914de3e1f79a93ca5fe4182f.webp?v=1756873634"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5e0f2bc8fc19b03914de3e1f79a93ca5fe4182f.webp?v=1756873634","width":2000},{"alt":null,"id":25989053907043,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5705b1d304c38cfb664fb494e9d491be73e1d34e.webp?v=1756873635"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5705b1d304c38cfb664fb494e9d491be73e1d34e.webp?v=1756873635","width":2000},{"alt":null,"id":25989054070883,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5d46b556d803f2973c41915d88bc292625d2c56.webp?v=1756873636"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5d46b556d803f2973c41915d88bc292625d2c56.webp?v=1756873636","width":2000},{"alt":null,"id":25989054234723,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cb2009cb818380b78cc0e6b7a390bf43fd3227b.webp?v=1756873636"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cb2009cb818380b78cc0e6b7a390bf43fd3227b.webp?v=1756873636","width":2000},{"alt":null,"id":25989054431331,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ab4a2401240d436326c1298e879bbf7921d342f.webp?v=1756873637"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ab4a2401240d436326c1298e879bbf7921d342f.webp?v=1756873637","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43675807645795,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-EA105","requires_shipping":true,"taxable":true,"featured_image":{"id":34416778543203,"product_id":7876196728931,"position":5,"created_at":"2025-09-03T12:27:10+08:00","updated_at":"2025-09-03T12:27:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e128bb8f276fb86561c1d655a81c89460d3c451e.webp?v=1756873632","variant_ids":[43675807645795]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 準備好去愛了 - 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-EA105","featured_media":{"alt":null,"id":25989053349987,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e128bb8f276fb86561c1d655a81c89460d3c451e.webp?v=1756873632"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675807809635,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-EA105","requires_shipping":true,"taxable":true,"featured_image":{"id":34416779427939,"product_id":7876196728931,"position":10,"created_at":"2025-09-03T12:27:14+08:00","updated_at":"2025-09-03T12:27:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cb2009cb818380b78cc0e6b7a390bf43fd3227b.webp?v=1756873636","variant_ids":[43675807809635]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 準備好去愛了 - 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-EA105","featured_media":{"alt":null,"id":25989054234723,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cb2009cb818380b78cc0e6b7a390bf43fd3227b.webp?v=1756873636"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43675807645795,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-EA105","requires_shipping":true,"taxable":true,"featured_image":{"id":34416778543203,"product_id":7876196728931,"position":5,"created_at":"2025-09-03T12:27:10+08:00","updated_at":"2025-09-03T12:27:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e128bb8f276fb86561c1d655a81c89460d3c451e.webp?v=1756873632","variant_ids":[43675807645795]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 準備好去愛了 - 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-EA105","featured_media":{"alt":null,"id":25989053349987,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e128bb8f276fb86561c1d655a81c89460d3c451e.webp?v=1756873632"}},"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: "停產" }