$product = {"id":7911259111523,"title":"iPhone 13 mini Mod NX PosterLad Arial","handle":"iphone-13-mini-mod-nx-printable-pos01","description":null,"published_at":"2025-11-05T10:38:01+08:00","created_at":"2025-11-04T10:46:13+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":43812134060131,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-POS01","requires_shipping":true,"taxable":true,"featured_image":{"id":34729251635299,"product_id":7911259111523,"position":2,"created_at":"2025-11-04T10:46:16+08:00","updated_at":"2025-11-04T10:46:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf99ed467badd658754395af7e7630b8bdd4a02f.webp?v=1762224378","variant_ids":[43812134060131]},"available":true,"name":"iPhone 13 mini Mod NX PosterLad Arial - 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-POS01","featured_media":{"alt":null,"id":26297119768675,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf99ed467badd658754395af7e7630b8bdd4a02f.webp?v=1762224378"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812134092899,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-POS01","requires_shipping":true,"taxable":true,"featured_image":{"id":34729252159587,"product_id":7911259111523,"position":4,"created_at":"2025-11-04T10:46:18+08:00","updated_at":"2025-11-04T10:46:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca542f757ed434513befd0fc566258f15f26f50f.webp?v=1762224380","variant_ids":[43812134092899]},"available":true,"name":"iPhone 13 mini Mod NX PosterLad Arial - 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-POS01","featured_media":{"alt":null,"id":26297120358499,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca542f757ed434513befd0fc566258f15f26f50f.webp?v=1762224380"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812134256739,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-POS01","requires_shipping":true,"taxable":true,"featured_image":{"id":34729252716643,"product_id":7911259111523,"position":8,"created_at":"2025-11-04T10:46:21+08:00","updated_at":"2025-11-04T10:46:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b167adf4a974c455d0ef34b49fae31561c1f206.webp?v=1762224383","variant_ids":[43812134256739]},"available":true,"name":"iPhone 13 mini Mod NX PosterLad Arial - 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-POS01","featured_media":{"alt":null,"id":26297120882787,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b167adf4a974c455d0ef34b49fae31561c1f206.webp?v=1762224383"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/419caa676e5534e8b97123e0c310dee1b8159d45.webp?v=1762224377","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf99ed467badd658754395af7e7630b8bdd4a02f.webp?v=1762224378","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a474c4df7deb1400536f0989799802feac92276.webp?v=1762224379","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca542f757ed434513befd0fc566258f15f26f50f.webp?v=1762224380","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8695e5cf852c6a3e43a382d1f0397a7fd11c8ba5.webp?v=1762224381","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8832adb67e2dc6fb5b2c1f87dd13b43b3c9526e.webp?v=1762224381","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12b6384efc93d4592342e7232f09569a432ea033.webp?v=1762224382","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b167adf4a974c455d0ef34b49fae31561c1f206.webp?v=1762224383","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97bf01ee2421577b90ecb510143b0d9efd3451d0.webp?v=1762224384"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/419caa676e5534e8b97123e0c310dee1b8159d45.webp?v=1762224377","options":["color"],"media":[{"alt":null,"id":26297119506531,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/419caa676e5534e8b97123e0c310dee1b8159d45.webp?v=1762224377"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/419caa676e5534e8b97123e0c310dee1b8159d45.webp?v=1762224377","width":2000},{"alt":null,"id":26297119768675,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf99ed467badd658754395af7e7630b8bdd4a02f.webp?v=1762224378"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf99ed467badd658754395af7e7630b8bdd4a02f.webp?v=1762224378","width":2000},{"alt":null,"id":26297120030819,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a474c4df7deb1400536f0989799802feac92276.webp?v=1762224379"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a474c4df7deb1400536f0989799802feac92276.webp?v=1762224379","width":2000},{"alt":null,"id":26297120358499,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca542f757ed434513befd0fc566258f15f26f50f.webp?v=1762224380"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca542f757ed434513befd0fc566258f15f26f50f.webp?v=1762224380","width":2000},{"alt":null,"id":26297120555107,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8695e5cf852c6a3e43a382d1f0397a7fd11c8ba5.webp?v=1762224381"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8695e5cf852c6a3e43a382d1f0397a7fd11c8ba5.webp?v=1762224381","width":2000},{"alt":null,"id":26297120653411,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8832adb67e2dc6fb5b2c1f87dd13b43b3c9526e.webp?v=1762224381"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8832adb67e2dc6fb5b2c1f87dd13b43b3c9526e.webp?v=1762224381","width":2000},{"alt":null,"id":26297120784483,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12b6384efc93d4592342e7232f09569a432ea033.webp?v=1762224382"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12b6384efc93d4592342e7232f09569a432ea033.webp?v=1762224382","width":2000},{"alt":null,"id":26297120882787,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b167adf4a974c455d0ef34b49fae31561c1f206.webp?v=1762224383"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b167adf4a974c455d0ef34b49fae31561c1f206.webp?v=1762224383","width":2000},{"alt":null,"id":26297121079395,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97bf01ee2421577b90ecb510143b0d9efd3451d0.webp?v=1762224384"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97bf01ee2421577b90ecb510143b0d9efd3451d0.webp?v=1762224384","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43812134060131,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-POS01","requires_shipping":true,"taxable":true,"featured_image":{"id":34729251635299,"product_id":7911259111523,"position":2,"created_at":"2025-11-04T10:46:16+08:00","updated_at":"2025-11-04T10:46:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf99ed467badd658754395af7e7630b8bdd4a02f.webp?v=1762224378","variant_ids":[43812134060131]},"available":true,"name":"iPhone 13 mini Mod NX PosterLad Arial - 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-POS01","featured_media":{"alt":null,"id":26297119768675,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf99ed467badd658754395af7e7630b8bdd4a02f.webp?v=1762224378"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812134092899,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-POS01","requires_shipping":true,"taxable":true,"featured_image":{"id":34729252159587,"product_id":7911259111523,"position":4,"created_at":"2025-11-04T10:46:18+08:00","updated_at":"2025-11-04T10:46:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca542f757ed434513befd0fc566258f15f26f50f.webp?v=1762224380","variant_ids":[43812134092899]},"available":true,"name":"iPhone 13 mini Mod NX PosterLad Arial - 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-POS01","featured_media":{"alt":null,"id":26297120358499,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca542f757ed434513befd0fc566258f15f26f50f.webp?v=1762224380"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43812134256739,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-POS01","requires_shipping":true,"taxable":true,"featured_image":{"id":34729252716643,"product_id":7911259111523,"position":8,"created_at":"2025-11-04T10:46:21+08:00","updated_at":"2025-11-04T10:46:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b167adf4a974c455d0ef34b49fae31561c1f206.webp?v=1762224383","variant_ids":[43812134256739]},"available":true,"name":"iPhone 13 mini Mod NX PosterLad Arial - 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-POS01","featured_media":{"alt":null,"id":26297120882787,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b167adf4a974c455d0ef34b49fae31561c1f206.webp?v=1762224383"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43812134060131,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-POS01","requires_shipping":true,"taxable":true,"featured_image":{"id":34729251635299,"product_id":7911259111523,"position":2,"created_at":"2025-11-04T10:46:16+08:00","updated_at":"2025-11-04T10:46:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf99ed467badd658754395af7e7630b8bdd4a02f.webp?v=1762224378","variant_ids":[43812134060131]},"available":true,"name":"iPhone 13 mini Mod NX PosterLad Arial - 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-POS01","featured_media":{"alt":null,"id":26297119768675,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf99ed467badd658754395af7e7630b8bdd4a02f.webp?v=1762224378"}},"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: "停產" }