$product = {"id":7838032429155,"title":"iPhone 13 mini Mod NX BOUNCE Bounce 20th Anniversary","handle":"iphone-13-mini-mod-nx-hk63","description":null,"published_at":"2025-07-16T11:59:12+08:00","created_at":"2025-07-16T09:39:02+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-bounce","device-iPhone 13 Mini","merge","reseller-bounce"],"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":43528549761123,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-HK63","requires_shipping":true,"taxable":true,"featured_image":{"id":34193105879139,"product_id":7838032429155,"position":10,"created_at":"2025-07-16T09:39:11+08:00","updated_at":"2025-07-16T09:39:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9837eddd500eb9e42c8766d9d3fb147f95c0018c.webp?v=1752629952","variant_ids":[43528549761123]},"available":true,"name":"iPhone 13 mini Mod NX BOUNCE Bounce 20th Anniversary - 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-HK63","featured_media":{"alt":null,"id":25827275276387,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9837eddd500eb9e42c8766d9d3fb147f95c0018c.webp?v=1752629952"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43528549859427,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-HK63","requires_shipping":true,"taxable":true,"featured_image":{"id":34193102864483,"product_id":7838032429155,"position":1,"created_at":"2025-07-16T09:39:06+08:00","updated_at":"2025-07-16T09:39:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fc49e987d14113c315cac90d4f3b87d9c6de0f9.webp?v=1752629948","variant_ids":[43528549859427]},"available":true,"name":"iPhone 13 mini Mod NX BOUNCE Bounce 20th Anniversary - 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-HK63","featured_media":{"alt":null,"id":25827273474147,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fc49e987d14113c315cac90d4f3b87d9c6de0f9.webp?v=1752629948"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43528549990499,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-HK63","requires_shipping":true,"taxable":true,"featured_image":{"id":34193105715299,"product_id":7838032429155,"position":9,"created_at":"2025-07-16T09:39:10+08:00","updated_at":"2025-07-16T09:39:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6802f654d2eede949218990460a8bdcf059314f9.webp?v=1752629952","variant_ids":[43528549990499]},"available":true,"name":"iPhone 13 mini Mod NX BOUNCE Bounce 20th Anniversary - 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-HK63","featured_media":{"alt":null,"id":25827274850403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6802f654d2eede949218990460a8bdcf059314f9.webp?v=1752629952"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fc49e987d14113c315cac90d4f3b87d9c6de0f9.webp?v=1752629948","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b167ea4218474a28012d38cdae0ef55c6baaeae9.webp?v=1752629948","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9abbd3f5371d26787f10be03eb9457707b9a1e2c.webp?v=1752629949","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18c3ecbb4bbfe88fca665121695d57a8b5ce837e.webp?v=1752629949","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea9fc1795e8d09c1cf21fb992da539db7f8c73df.webp?v=1752629950","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bb974ca83879f8a85a57accb839acb92409feb.webp?v=1752629950","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/251930b54fac96206382eed36a2c093c9176d0b0.webp?v=1752629951","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cea5c6671222314bf2a48fb4c1ad0fbeaaa8b6c3.webp?v=1752629951","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6802f654d2eede949218990460a8bdcf059314f9.webp?v=1752629952","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9837eddd500eb9e42c8766d9d3fb147f95c0018c.webp?v=1752629952"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fc49e987d14113c315cac90d4f3b87d9c6de0f9.webp?v=1752629948","options":["color"],"media":[{"alt":null,"id":25827273474147,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fc49e987d14113c315cac90d4f3b87d9c6de0f9.webp?v=1752629948"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fc49e987d14113c315cac90d4f3b87d9c6de0f9.webp?v=1752629948","width":2000},{"alt":null,"id":25827273605219,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b167ea4218474a28012d38cdae0ef55c6baaeae9.webp?v=1752629948"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b167ea4218474a28012d38cdae0ef55c6baaeae9.webp?v=1752629948","width":2000},{"alt":null,"id":25827273769059,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9abbd3f5371d26787f10be03eb9457707b9a1e2c.webp?v=1752629949"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9abbd3f5371d26787f10be03eb9457707b9a1e2c.webp?v=1752629949","width":2000},{"alt":null,"id":25827273900131,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18c3ecbb4bbfe88fca665121695d57a8b5ce837e.webp?v=1752629949"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18c3ecbb4bbfe88fca665121695d57a8b5ce837e.webp?v=1752629949","width":2000},{"alt":null,"id":25827274293347,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea9fc1795e8d09c1cf21fb992da539db7f8c73df.webp?v=1752629950"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea9fc1795e8d09c1cf21fb992da539db7f8c73df.webp?v=1752629950","width":2000},{"alt":null,"id":25827274424419,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bb974ca83879f8a85a57accb839acb92409feb.webp?v=1752629950"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14bb974ca83879f8a85a57accb839acb92409feb.webp?v=1752629950","width":2000},{"alt":null,"id":25827274555491,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/251930b54fac96206382eed36a2c093c9176d0b0.webp?v=1752629951"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/251930b54fac96206382eed36a2c093c9176d0b0.webp?v=1752629951","width":2000},{"alt":null,"id":25827274719331,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cea5c6671222314bf2a48fb4c1ad0fbeaaa8b6c3.webp?v=1752629951"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cea5c6671222314bf2a48fb4c1ad0fbeaaa8b6c3.webp?v=1752629951","width":2000},{"alt":null,"id":25827274850403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6802f654d2eede949218990460a8bdcf059314f9.webp?v=1752629952"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6802f654d2eede949218990460a8bdcf059314f9.webp?v=1752629952","width":2000},{"alt":null,"id":25827275276387,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9837eddd500eb9e42c8766d9d3fb147f95c0018c.webp?v=1752629952"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9837eddd500eb9e42c8766d9d3fb147f95c0018c.webp?v=1752629952","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43528549761123,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-HK63","requires_shipping":true,"taxable":true,"featured_image":{"id":34193105879139,"product_id":7838032429155,"position":10,"created_at":"2025-07-16T09:39:11+08:00","updated_at":"2025-07-16T09:39:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9837eddd500eb9e42c8766d9d3fb147f95c0018c.webp?v=1752629952","variant_ids":[43528549761123]},"available":true,"name":"iPhone 13 mini Mod NX BOUNCE Bounce 20th Anniversary - 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-HK63","featured_media":{"alt":null,"id":25827275276387,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9837eddd500eb9e42c8766d9d3fb147f95c0018c.webp?v=1752629952"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43528549859427,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-HK63","requires_shipping":true,"taxable":true,"featured_image":{"id":34193102864483,"product_id":7838032429155,"position":1,"created_at":"2025-07-16T09:39:06+08:00","updated_at":"2025-07-16T09:39:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fc49e987d14113c315cac90d4f3b87d9c6de0f9.webp?v=1752629948","variant_ids":[43528549859427]},"available":true,"name":"iPhone 13 mini Mod NX BOUNCE Bounce 20th Anniversary - 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-HK63","featured_media":{"alt":null,"id":25827273474147,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fc49e987d14113c315cac90d4f3b87d9c6de0f9.webp?v=1752629948"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43528549990499,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-HK63","requires_shipping":true,"taxable":true,"featured_image":{"id":34193105715299,"product_id":7838032429155,"position":9,"created_at":"2025-07-16T09:39:10+08:00","updated_at":"2025-07-16T09:39:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6802f654d2eede949218990460a8bdcf059314f9.webp?v=1752629952","variant_ids":[43528549990499]},"available":true,"name":"iPhone 13 mini Mod NX BOUNCE Bounce 20th Anniversary - 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-HK63","featured_media":{"alt":null,"id":25827274850403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6802f654d2eede949218990460a8bdcf059314f9.webp?v=1752629952"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43528549761123,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-HK63","requires_shipping":true,"taxable":true,"featured_image":{"id":34193105879139,"product_id":7838032429155,"position":10,"created_at":"2025-07-16T09:39:11+08:00","updated_at":"2025-07-16T09:39:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9837eddd500eb9e42c8766d9d3fb147f95c0018c.webp?v=1752629952","variant_ids":[43528549761123]},"available":true,"name":"iPhone 13 mini Mod NX BOUNCE Bounce 20th Anniversary - 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-HK63","featured_media":{"alt":null,"id":25827275276387,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9837eddd500eb9e42c8766d9d3fb147f95c0018c.webp?v=1752629952"}},"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: "停產" }