$product = {"id":7893809692771,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Chubbynida 岩上之魚","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-chu07","description":null,"published_at":"2025-10-09T09:33:31+08:00","created_at":"2025-10-07T10:16:40+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-chubbynida","device-iPhone 13 Pro Max","merge","reseller-chubbynida"],"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":43763352010851,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-CHU07","requires_shipping":true,"taxable":true,"featured_image":{"id":34553082347619,"product_id":7893809692771,"position":10,"created_at":"2025-10-07T10:16:52+08:00","updated_at":"2025-10-07T10:16:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ad1a9b42c9913a9a6a6b0c56a7f96aea14c8f0c.webp?v=1759803414","variant_ids":[43763352010851]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Chubbynida 岩上之魚 - 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-CHU07","featured_media":{"alt":null,"id":26122730045539,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ad1a9b42c9913a9a6a6b0c56a7f96aea14c8f0c.webp?v=1759803414"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763352141923,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-CHU07","requires_shipping":true,"taxable":true,"featured_image":{"id":34553082183779,"product_id":7893809692771,"position":9,"created_at":"2025-10-07T10:16:51+08:00","updated_at":"2025-10-07T10:16:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af6a92cc2041aa850b5d5b00685d6f6f564520cc.webp?v=1759803413","variant_ids":[43763352141923]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Chubbynida 岩上之魚 - 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-CHU07","featured_media":{"alt":null,"id":26122729881699,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af6a92cc2041aa850b5d5b00685d6f6f564520cc.webp?v=1759803413"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/644bc1f1613e9b5526afeba954b7dcb3651c5c1a.webp?v=1759803408","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/522c4053dcc4043ddf04b9a34e90c9018b1c2d93.webp?v=1759803409","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed10186bebb423960035ca6bd8aa3479ab023e76.webp?v=1759803409","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b3ee9afd6b560ab904a328274178982eff9efcd.webp?v=1759803410","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7582864907248354e2e37b083a9897c6d28bb3f.webp?v=1759803411","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/794d1696173c9a93b4c92b8682a7f91c87e98a7c.webp?v=1759803411","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faec5cd4f9dc43953059369b94dd996e92063dde.webp?v=1759803412","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/716761b648ea31f2d7f047bfdab02f6ef14c0b02.webp?v=1759803413","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af6a92cc2041aa850b5d5b00685d6f6f564520cc.webp?v=1759803413","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ad1a9b42c9913a9a6a6b0c56a7f96aea14c8f0c.webp?v=1759803414","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf2a5cffb7495a01f4f7af4f2426d228fdecdcff.webp?v=1759803416"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/644bc1f1613e9b5526afeba954b7dcb3651c5c1a.webp?v=1759803408","options":["color"],"media":[{"alt":null,"id":26122728767587,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/644bc1f1613e9b5526afeba954b7dcb3651c5c1a.webp?v=1759803408"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/644bc1f1613e9b5526afeba954b7dcb3651c5c1a.webp?v=1759803408","width":2000},{"alt":null,"id":26122728931427,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/522c4053dcc4043ddf04b9a34e90c9018b1c2d93.webp?v=1759803409"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/522c4053dcc4043ddf04b9a34e90c9018b1c2d93.webp?v=1759803409","width":2000},{"alt":null,"id":26122729128035,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed10186bebb423960035ca6bd8aa3479ab023e76.webp?v=1759803409"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed10186bebb423960035ca6bd8aa3479ab023e76.webp?v=1759803409","width":2000},{"alt":null,"id":26122729259107,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b3ee9afd6b560ab904a328274178982eff9efcd.webp?v=1759803410"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b3ee9afd6b560ab904a328274178982eff9efcd.webp?v=1759803410","width":2000},{"alt":null,"id":26122729357411,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7582864907248354e2e37b083a9897c6d28bb3f.webp?v=1759803411"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7582864907248354e2e37b083a9897c6d28bb3f.webp?v=1759803411","width":2000},{"alt":null,"id":26122729521251,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/794d1696173c9a93b4c92b8682a7f91c87e98a7c.webp?v=1759803411"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/794d1696173c9a93b4c92b8682a7f91c87e98a7c.webp?v=1759803411","width":2000},{"alt":null,"id":26122729652323,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faec5cd4f9dc43953059369b94dd996e92063dde.webp?v=1759803412"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/faec5cd4f9dc43953059369b94dd996e92063dde.webp?v=1759803412","width":2000},{"alt":null,"id":26122729783395,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/716761b648ea31f2d7f047bfdab02f6ef14c0b02.webp?v=1759803413"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/716761b648ea31f2d7f047bfdab02f6ef14c0b02.webp?v=1759803413","width":2000},{"alt":null,"id":26122729881699,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af6a92cc2041aa850b5d5b00685d6f6f564520cc.webp?v=1759803413"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af6a92cc2041aa850b5d5b00685d6f6f564520cc.webp?v=1759803413","width":2000},{"alt":null,"id":26122730045539,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ad1a9b42c9913a9a6a6b0c56a7f96aea14c8f0c.webp?v=1759803414"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ad1a9b42c9913a9a6a6b0c56a7f96aea14c8f0c.webp?v=1759803414","width":2000},{"alt":null,"id":26122730274915,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf2a5cffb7495a01f4f7af4f2426d228fdecdcff.webp?v=1759803416"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf2a5cffb7495a01f4f7af4f2426d228fdecdcff.webp?v=1759803416","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43763352010851,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-CHU07","requires_shipping":true,"taxable":true,"featured_image":{"id":34553082347619,"product_id":7893809692771,"position":10,"created_at":"2025-10-07T10:16:52+08:00","updated_at":"2025-10-07T10:16:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ad1a9b42c9913a9a6a6b0c56a7f96aea14c8f0c.webp?v=1759803414","variant_ids":[43763352010851]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Chubbynida 岩上之魚 - 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-CHU07","featured_media":{"alt":null,"id":26122730045539,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ad1a9b42c9913a9a6a6b0c56a7f96aea14c8f0c.webp?v=1759803414"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763352141923,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-CHU07","requires_shipping":true,"taxable":true,"featured_image":{"id":34553082183779,"product_id":7893809692771,"position":9,"created_at":"2025-10-07T10:16:51+08:00","updated_at":"2025-10-07T10:16:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af6a92cc2041aa850b5d5b00685d6f6f564520cc.webp?v=1759803413","variant_ids":[43763352141923]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Chubbynida 岩上之魚 - 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-CHU07","featured_media":{"alt":null,"id":26122729881699,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af6a92cc2041aa850b5d5b00685d6f6f564520cc.webp?v=1759803413"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43763352010851,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-CHU07","requires_shipping":true,"taxable":true,"featured_image":{"id":34553082347619,"product_id":7893809692771,"position":10,"created_at":"2025-10-07T10:16:52+08:00","updated_at":"2025-10-07T10:16:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ad1a9b42c9913a9a6a6b0c56a7f96aea14c8f0c.webp?v=1759803414","variant_ids":[43763352010851]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Chubbynida 岩上之魚 - 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-CHU07","featured_media":{"alt":null,"id":26122730045539,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ad1a9b42c9913a9a6a6b0c56a7f96aea14c8f0c.webp?v=1759803414"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }