$product = {"id":7866449363043,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - No Reason - Subtle but bold","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-mj65","description":"","published_at":"2025-08-25T10:52:20+08:00","created_at":"2025-08-25T10:46:34+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-noreason","device-iPhone 13 Pro Max","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-noreason","reseller-modnx_magsafe-noreason","Top50","type-Mod NX Printable MagSafe Printable"],"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":43621920997475,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-MJ65","requires_shipping":true,"taxable":true,"featured_image":{"id":34373786042467,"product_id":7866449363043,"position":1,"created_at":"2025-08-25T10:46:39+08:00","updated_at":"2025-08-25T10:46:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0a9bba29bd02fc8899ab5f917a55dff5df179f8.webp?v=1756090001","variant_ids":[43621920997475]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - No Reason - Subtle but bold - 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-MJ65","featured_media":{"alt":null,"id":25951047221347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0a9bba29bd02fc8899ab5f917a55dff5df179f8.webp?v=1756090001"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43621925716067,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-MJ65","requires_shipping":true,"taxable":true,"featured_image":{"id":34373786796131,"product_id":7866449363043,"position":4,"created_at":"2025-08-25T10:46:40+08:00","updated_at":"2025-08-25T10:46:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb71a469b87d0d4aa28a296bb5f98bb519d4823.webp?v=1756090002","variant_ids":[43621925716067]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - No Reason - Subtle but bold - 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-MJ65","featured_media":{"alt":null,"id":25951047876707,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb71a469b87d0d4aa28a296bb5f98bb519d4823.webp?v=1756090002"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0a9bba29bd02fc8899ab5f917a55dff5df179f8.webp?v=1756090001","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa0355f36f6b0a1925a882f71c5a40a5ae70d81b.webp?v=1756090001","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec7da01fe2a0669f01fb5e98de35fc020e99d33f.webp?v=1756090002","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb71a469b87d0d4aa28a296bb5f98bb519d4823.webp?v=1756090002","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18053179c6eeb7394c09d29fa530c4fc3a01000a.webp?v=1756090003","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc945015ed9de8821472a15bc7e56dc9ef0fd998.webp?v=1756090003","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cf49827c894c4127ca8d49bc2653ea39d5dd399.webp?v=1756090004","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b8d06ef76b39ed8fdad17712c773cd3428943cf.webp?v=1756090004","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/306cb4b4d6c6bc9e7aa838fcdb043dc19ba75a76.webp?v=1756090005","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4834563b4a1bc7775be287868d7bb2eca09e7f66_61468264-94af-40df-b60d-8248f39d3414.webp?v=1760327845"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0a9bba29bd02fc8899ab5f917a55dff5df179f8.webp?v=1756090001","options":["color"],"media":[{"alt":null,"id":25951047221347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0a9bba29bd02fc8899ab5f917a55dff5df179f8.webp?v=1756090001"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0a9bba29bd02fc8899ab5f917a55dff5df179f8.webp?v=1756090001","width":2000},{"alt":null,"id":25951047417955,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa0355f36f6b0a1925a882f71c5a40a5ae70d81b.webp?v=1756090001"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa0355f36f6b0a1925a882f71c5a40a5ae70d81b.webp?v=1756090001","width":2000},{"alt":null,"id":25951047614563,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec7da01fe2a0669f01fb5e98de35fc020e99d33f.webp?v=1756090002"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec7da01fe2a0669f01fb5e98de35fc020e99d33f.webp?v=1756090002","width":2000},{"alt":null,"id":25951047876707,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb71a469b87d0d4aa28a296bb5f98bb519d4823.webp?v=1756090002"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb71a469b87d0d4aa28a296bb5f98bb519d4823.webp?v=1756090002","width":2000},{"alt":null,"id":25951048171619,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18053179c6eeb7394c09d29fa530c4fc3a01000a.webp?v=1756090003"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18053179c6eeb7394c09d29fa530c4fc3a01000a.webp?v=1756090003","width":2000},{"alt":null,"id":25951048400995,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc945015ed9de8821472a15bc7e56dc9ef0fd998.webp?v=1756090003"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc945015ed9de8821472a15bc7e56dc9ef0fd998.webp?v=1756090003","width":2000},{"alt":null,"id":25951048695907,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cf49827c894c4127ca8d49bc2653ea39d5dd399.webp?v=1756090004"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cf49827c894c4127ca8d49bc2653ea39d5dd399.webp?v=1756090004","width":2000},{"alt":null,"id":25951049023587,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b8d06ef76b39ed8fdad17712c773cd3428943cf.webp?v=1756090004"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b8d06ef76b39ed8fdad17712c773cd3428943cf.webp?v=1756090004","width":2000},{"alt":null,"id":25951049384035,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/306cb4b4d6c6bc9e7aa838fcdb043dc19ba75a76.webp?v=1756090005"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/306cb4b4d6c6bc9e7aa838fcdb043dc19ba75a76.webp?v=1756090005","width":2000},{"alt":null,"id":26143140315235,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4834563b4a1bc7775be287868d7bb2eca09e7f66_61468264-94af-40df-b60d-8248f39d3414.webp?v=1760327845"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4834563b4a1bc7775be287868d7bb2eca09e7f66_61468264-94af-40df-b60d-8248f39d3414.webp?v=1760327845","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":""}; $isMerge = null; $variants = [{"id":43621920997475,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-MJ65","requires_shipping":true,"taxable":true,"featured_image":{"id":34373786042467,"product_id":7866449363043,"position":1,"created_at":"2025-08-25T10:46:39+08:00","updated_at":"2025-08-25T10:46:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0a9bba29bd02fc8899ab5f917a55dff5df179f8.webp?v=1756090001","variant_ids":[43621920997475]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - No Reason - Subtle but bold - 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-MJ65","featured_media":{"alt":null,"id":25951047221347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0a9bba29bd02fc8899ab5f917a55dff5df179f8.webp?v=1756090001"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43621925716067,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-MJ65","requires_shipping":true,"taxable":true,"featured_image":{"id":34373786796131,"product_id":7866449363043,"position":4,"created_at":"2025-08-25T10:46:40+08:00","updated_at":"2025-08-25T10:46:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb71a469b87d0d4aa28a296bb5f98bb519d4823.webp?v=1756090002","variant_ids":[43621925716067]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - No Reason - Subtle but bold - 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-MJ65","featured_media":{"alt":null,"id":25951047876707,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbb71a469b87d0d4aa28a296bb5f98bb519d4823.webp?v=1756090002"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43621920997475,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-MJ65","requires_shipping":true,"taxable":true,"featured_image":{"id":34373786042467,"product_id":7866449363043,"position":1,"created_at":"2025-08-25T10:46:39+08:00","updated_at":"2025-08-25T10:46:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0a9bba29bd02fc8899ab5f917a55dff5df179f8.webp?v=1756090001","variant_ids":[43621920997475]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - No Reason - Subtle but bold - 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-MJ65","featured_media":{"alt":null,"id":25951047221347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0a9bba29bd02fc8899ab5f917a55dff5df179f8.webp?v=1756090001"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }