$product = {"id":7876016341091,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 愛了愛了","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-ea107","description":null,"published_at":"2025-09-04T10:29:11+08:00","created_at":"2025-09-03T11:38:16+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":43674981859427,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-EA107","requires_shipping":true,"taxable":true,"featured_image":{"id":34416028287075,"product_id":7876016341091,"position":10,"created_at":"2025-09-03T11:38:27+08:00","updated_at":"2025-09-03T11:38:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4061d58c95e5d96aa59742556f967ddfe1bd67a.webp?v=1756870709","variant_ids":[43674981859427]},"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-EA107","featured_media":{"alt":null,"id":25988303126627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4061d58c95e5d96aa59742556f967ddfe1bd67a.webp?v=1756870709"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43674982023267,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-EA107","requires_shipping":true,"taxable":true,"featured_image":{"id":34416026255459,"product_id":7876016341091,"position":2,"created_at":"2025-09-03T11:38:21+08:00","updated_at":"2025-09-03T11:38:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6cf157b6f497c42c78677f6dab299b03bc6edc5.webp?v=1756870703","variant_ids":[43674982023267]},"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-EA107","featured_media":{"alt":null,"id":25988301062243,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6cf157b6f497c42c78677f6dab299b03bc6edc5.webp?v=1756870703"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5050d1636543ba2e50a1db064dc8b5b78626664f.webp?v=1756870703","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6cf157b6f497c42c78677f6dab299b03bc6edc5.webp?v=1756870703","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d834fc8e3dc097712e047714a5bc65d10ca90477.webp?v=1756870704","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33b31d4e3e3fe38935f97700edc1184bd03cf9e4.webp?v=1756870705","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56fae42fc875b74ffd727133b8fd5842c9d8024e.webp?v=1756870705","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56c80b4bfc4b417826fa891e7c2fb54dbb5dcc96.webp?v=1756870706","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19ae2e545ba5ffbbd4266917af966cc58b25010f.webp?v=1756870707","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55839d00af871945a2b8430c3d614fea08121b2a.webp?v=1756870708","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcc2826a0f7257e252b56b50eaca8f7adc42a49f.webp?v=1756870708","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4061d58c95e5d96aa59742556f967ddfe1bd67a.webp?v=1756870709","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7346e35a3c97de18370101cf4c83ceadf2f84a44.webp?v=1756870710"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5050d1636543ba2e50a1db064dc8b5b78626664f.webp?v=1756870703","options":["color"],"media":[{"alt":null,"id":25988300865635,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5050d1636543ba2e50a1db064dc8b5b78626664f.webp?v=1756870703"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5050d1636543ba2e50a1db064dc8b5b78626664f.webp?v=1756870703","width":2000},{"alt":null,"id":25988301062243,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6cf157b6f497c42c78677f6dab299b03bc6edc5.webp?v=1756870703"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6cf157b6f497c42c78677f6dab299b03bc6edc5.webp?v=1756870703","width":2000},{"alt":null,"id":25988301422691,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d834fc8e3dc097712e047714a5bc65d10ca90477.webp?v=1756870704"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d834fc8e3dc097712e047714a5bc65d10ca90477.webp?v=1756870704","width":2000},{"alt":null,"id":25988301717603,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33b31d4e3e3fe38935f97700edc1184bd03cf9e4.webp?v=1756870705"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33b31d4e3e3fe38935f97700edc1184bd03cf9e4.webp?v=1756870705","width":2000},{"alt":null,"id":25988302045283,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56fae42fc875b74ffd727133b8fd5842c9d8024e.webp?v=1756870705"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56fae42fc875b74ffd727133b8fd5842c9d8024e.webp?v=1756870705","width":2000},{"alt":null,"id":25988302372963,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56c80b4bfc4b417826fa891e7c2fb54dbb5dcc96.webp?v=1756870706"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56c80b4bfc4b417826fa891e7c2fb54dbb5dcc96.webp?v=1756870706","width":2000},{"alt":null,"id":25988302536803,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19ae2e545ba5ffbbd4266917af966cc58b25010f.webp?v=1756870707"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19ae2e545ba5ffbbd4266917af966cc58b25010f.webp?v=1756870707","width":2000},{"alt":null,"id":25988302733411,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55839d00af871945a2b8430c3d614fea08121b2a.webp?v=1756870708"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55839d00af871945a2b8430c3d614fea08121b2a.webp?v=1756870708","width":2000},{"alt":null,"id":25988302995555,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcc2826a0f7257e252b56b50eaca8f7adc42a49f.webp?v=1756870708"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcc2826a0f7257e252b56b50eaca8f7adc42a49f.webp?v=1756870708","width":2000},{"alt":null,"id":25988303126627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4061d58c95e5d96aa59742556f967ddfe1bd67a.webp?v=1756870709"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4061d58c95e5d96aa59742556f967ddfe1bd67a.webp?v=1756870709","width":2000},{"alt":null,"id":25988303323235,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7346e35a3c97de18370101cf4c83ceadf2f84a44.webp?v=1756870710"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7346e35a3c97de18370101cf4c83ceadf2f84a44.webp?v=1756870710","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43674981859427,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-EA107","requires_shipping":true,"taxable":true,"featured_image":{"id":34416028287075,"product_id":7876016341091,"position":10,"created_at":"2025-09-03T11:38:27+08:00","updated_at":"2025-09-03T11:38:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4061d58c95e5d96aa59742556f967ddfe1bd67a.webp?v=1756870709","variant_ids":[43674981859427]},"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-EA107","featured_media":{"alt":null,"id":25988303126627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4061d58c95e5d96aa59742556f967ddfe1bd67a.webp?v=1756870709"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43674982023267,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-EA107","requires_shipping":true,"taxable":true,"featured_image":{"id":34416026255459,"product_id":7876016341091,"position":2,"created_at":"2025-09-03T11:38:21+08:00","updated_at":"2025-09-03T11:38:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6cf157b6f497c42c78677f6dab299b03bc6edc5.webp?v=1756870703","variant_ids":[43674982023267]},"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-EA107","featured_media":{"alt":null,"id":25988301062243,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6cf157b6f497c42c78677f6dab299b03bc6edc5.webp?v=1756870703"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43674981859427,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-EA107","requires_shipping":true,"taxable":true,"featured_image":{"id":34416028287075,"product_id":7876016341091,"position":10,"created_at":"2025-09-03T11:38:27+08:00","updated_at":"2025-09-03T11:38:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4061d58c95e5d96aa59742556f967ddfe1bd67a.webp?v=1756870709","variant_ids":[43674981859427]},"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-EA107","featured_media":{"alt":null,"id":25988303126627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4061d58c95e5d96aa59742556f967ddfe1bd67a.webp?v=1756870709"}},"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: "停產" }