$product = {"id":7911351287907,"title":"iPhone 13 mini Mod NX PosterLad 樹林","handle":"iphone-13-mini-mod-nx-printable-pos10","description":null,"published_at":"2025-11-05T10:24:51+08:00","created_at":"2025-11-04T11:01:58+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-posterlad","device-iPhone 13 Mini","merge","reseller-posterlad"],"price":90000,"price_min":90000,"price_max":90000,"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":43812398792803,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-POS10","requires_shipping":true,"taxable":true,"featured_image":{"id":34729496346723,"product_id":7911351287907,"position":7,"created_at":"2025-11-04T11:02:06+08:00","updated_at":"2025-11-04T11:02:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c20d1a3ffa70cd09ceb7df08a59abda75310591.webp?v=1762225328","variant_ids":[43812398792803]},"available":true,"name":"iPhone 13 mini Mod NX PosterLad 樹林 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-POS10","featured_media":{"alt":null,"id":26297363923043,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c20d1a3ffa70cd09ceb7df08a59abda75310591.webp?v=1762225328"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812398825571,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-POS10","requires_shipping":true,"taxable":true,"featured_image":{"id":34729495887971,"product_id":7911351287907,"position":5,"created_at":"2025-11-04T11:02:04+08:00","updated_at":"2025-11-04T11:02:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/824a628b75ff90c21b668977b2bd169840e89a1b.webp?v=1762225326","variant_ids":[43812398825571]},"available":true,"name":"iPhone 13 mini Mod NX PosterLad 樹林 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-POS10","featured_media":{"alt":null,"id":26297363431523,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/824a628b75ff90c21b668977b2bd169840e89a1b.webp?v=1762225326"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812398989411,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-POS10","requires_shipping":true,"taxable":true,"featured_image":{"id":34729495232611,"product_id":7911351287907,"position":2,"created_at":"2025-11-04T11:02:01+08:00","updated_at":"2025-11-04T11:02:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/829dc288ff3bf3e7ab064e3b09093d4131685e41.webp?v=1762225323","variant_ids":[43812398989411]},"available":true,"name":"iPhone 13 mini Mod NX PosterLad 樹林 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-POS10","featured_media":{"alt":null,"id":26297362808931,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/829dc288ff3bf3e7ab064e3b09093d4131685e41.webp?v=1762225323"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88bdbbdb30e0be5ca9c95c55496ab7041cdfa0fd.webp?v=1762225322","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/829dc288ff3bf3e7ab064e3b09093d4131685e41.webp?v=1762225323","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae0e71b7ba716722e0a02dc9a132daaab890281d.webp?v=1762225325","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b0cc51f8f033479392ea9fc2036e921eb7a40bf.webp?v=1762225325","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/824a628b75ff90c21b668977b2bd169840e89a1b.webp?v=1762225326","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2ac054a9defb6ad4fcc65b36788c10935c054ab.webp?v=1762225327","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c20d1a3ffa70cd09ceb7df08a59abda75310591.webp?v=1762225328","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83573e14c3b6f43107c7c1d4e31110227f29f434.webp?v=1762225330","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5212941e237a4c44a74a63e260e16f46595b7a8.webp?v=1762225331"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88bdbbdb30e0be5ca9c95c55496ab7041cdfa0fd.webp?v=1762225322","options":["color"],"media":[{"alt":null,"id":26297362448483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88bdbbdb30e0be5ca9c95c55496ab7041cdfa0fd.webp?v=1762225322"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88bdbbdb30e0be5ca9c95c55496ab7041cdfa0fd.webp?v=1762225322","width":2000},{"alt":null,"id":26297362808931,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/829dc288ff3bf3e7ab064e3b09093d4131685e41.webp?v=1762225323"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/829dc288ff3bf3e7ab064e3b09093d4131685e41.webp?v=1762225323","width":2000},{"alt":null,"id":26297363103843,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae0e71b7ba716722e0a02dc9a132daaab890281d.webp?v=1762225325"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ae0e71b7ba716722e0a02dc9a132daaab890281d.webp?v=1762225325","width":2000},{"alt":null,"id":26297363234915,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b0cc51f8f033479392ea9fc2036e921eb7a40bf.webp?v=1762225325"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b0cc51f8f033479392ea9fc2036e921eb7a40bf.webp?v=1762225325","width":2000},{"alt":null,"id":26297363431523,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/824a628b75ff90c21b668977b2bd169840e89a1b.webp?v=1762225326"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/824a628b75ff90c21b668977b2bd169840e89a1b.webp?v=1762225326","width":2000},{"alt":null,"id":26297363628131,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2ac054a9defb6ad4fcc65b36788c10935c054ab.webp?v=1762225327"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2ac054a9defb6ad4fcc65b36788c10935c054ab.webp?v=1762225327","width":2000},{"alt":null,"id":26297363923043,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c20d1a3ffa70cd09ceb7df08a59abda75310591.webp?v=1762225328"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c20d1a3ffa70cd09ceb7df08a59abda75310591.webp?v=1762225328","width":2000},{"alt":null,"id":26297364316259,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83573e14c3b6f43107c7c1d4e31110227f29f434.webp?v=1762225330"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83573e14c3b6f43107c7c1d4e31110227f29f434.webp?v=1762225330","width":2000},{"alt":null,"id":26297364709475,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5212941e237a4c44a74a63e260e16f46595b7a8.webp?v=1762225331"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5212941e237a4c44a74a63e260e16f46595b7a8.webp?v=1762225331","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43812398792803,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-POS10","requires_shipping":true,"taxable":true,"featured_image":{"id":34729496346723,"product_id":7911351287907,"position":7,"created_at":"2025-11-04T11:02:06+08:00","updated_at":"2025-11-04T11:02:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c20d1a3ffa70cd09ceb7df08a59abda75310591.webp?v=1762225328","variant_ids":[43812398792803]},"available":true,"name":"iPhone 13 mini Mod NX PosterLad 樹林 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-POS10","featured_media":{"alt":null,"id":26297363923043,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c20d1a3ffa70cd09ceb7df08a59abda75310591.webp?v=1762225328"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812398825571,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-POS10","requires_shipping":true,"taxable":true,"featured_image":{"id":34729495887971,"product_id":7911351287907,"position":5,"created_at":"2025-11-04T11:02:04+08:00","updated_at":"2025-11-04T11:02:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/824a628b75ff90c21b668977b2bd169840e89a1b.webp?v=1762225326","variant_ids":[43812398825571]},"available":true,"name":"iPhone 13 mini Mod NX PosterLad 樹林 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-POS10","featured_media":{"alt":null,"id":26297363431523,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/824a628b75ff90c21b668977b2bd169840e89a1b.webp?v=1762225326"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812398989411,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-POS10","requires_shipping":true,"taxable":true,"featured_image":{"id":34729495232611,"product_id":7911351287907,"position":2,"created_at":"2025-11-04T11:02:01+08:00","updated_at":"2025-11-04T11:02:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/829dc288ff3bf3e7ab064e3b09093d4131685e41.webp?v=1762225323","variant_ids":[43812398989411]},"available":true,"name":"iPhone 13 mini Mod NX PosterLad 樹林 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-POS10","featured_media":{"alt":null,"id":26297362808931,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/829dc288ff3bf3e7ab064e3b09093d4131685e41.webp?v=1762225323"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43812398792803,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-POS10","requires_shipping":true,"taxable":true,"featured_image":{"id":34729496346723,"product_id":7911351287907,"position":7,"created_at":"2025-11-04T11:02:06+08:00","updated_at":"2025-11-04T11:02:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c20d1a3ffa70cd09ceb7df08a59abda75310591.webp?v=1762225328","variant_ids":[43812398792803]},"available":true,"name":"iPhone 13 mini Mod NX PosterLad 樹林 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-POS10","featured_media":{"alt":null,"id":26297363923043,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c20d1a3ffa70cd09ceb7df08a59abda75310591.webp?v=1762225328"}},"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: "停產" }