$product = {"id":7838009163875,"title":"iPhone 13 mini Mod NX BOUNCE Bounce 塗破","handle":"iphone-13-mini-mod-nx-hk62","description":null,"published_at":"2025-07-16T12:08:40+08:00","created_at":"2025-07-16T09:33:55+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":43528455880803,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-HK62","requires_shipping":true,"taxable":true,"featured_image":{"id":34192906420323,"product_id":7838009163875,"position":4,"created_at":"2025-07-16T09:34:01+08:00","updated_at":"2025-07-16T09:34:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc6d47c78e8a6390e909d3fb1cb24c7194a02aaa.webp?v=1752629643","variant_ids":[43528455880803]},"available":true,"name":"iPhone 13 mini Mod NX BOUNCE Bounce 塗破 - 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-HK62","featured_media":{"alt":null,"id":25827169894499,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc6d47c78e8a6390e909d3fb1cb24c7194a02aaa.webp?v=1752629643"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43528455979107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-HK62","requires_shipping":true,"taxable":true,"featured_image":{"id":34192907337827,"product_id":7838009163875,"position":7,"created_at":"2025-07-16T09:34:03+08:00","updated_at":"2025-07-16T09:34:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5cd464a5dc37c66705b96e0a4a68d255dc3b52f.webp?v=1752629644","variant_ids":[43528455979107]},"available":true,"name":"iPhone 13 mini Mod NX BOUNCE Bounce 塗破 - 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-HK62","featured_media":{"alt":null,"id":25827170746467,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5cd464a5dc37c66705b96e0a4a68d255dc3b52f.webp?v=1752629644"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43528456110179,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-HK62","requires_shipping":true,"taxable":true,"featured_image":{"id":34192907960419,"product_id":7838009163875,"position":9,"created_at":"2025-07-16T09:34:04+08:00","updated_at":"2025-07-16T09:34:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c71e4649a4edcbd25d7dc275f48d2ca5637f55ba.webp?v=1752629646","variant_ids":[43528456110179]},"available":true,"name":"iPhone 13 mini Mod NX BOUNCE Bounce 塗破 - 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-HK62","featured_media":{"alt":null,"id":25827171074147,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c71e4649a4edcbd25d7dc275f48d2ca5637f55ba.webp?v=1752629646"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3709e255c9af0dfccdfce82edd787be072f72b9.webp?v=1752629641","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/595bb6dfefbb47c8d038c3da6a71eecda3799325.webp?v=1752629642","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/469ec44fccc58dc6f3bf15b3197b2b5957e69af5.webp?v=1752629642","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc6d47c78e8a6390e909d3fb1cb24c7194a02aaa.webp?v=1752629643","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68d611f1e4d05aecedf9963f54bca5509dbd9e77.webp?v=1752629643","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f9c034a32945eeea3a630d087eb7fc13ffe150c.webp?v=1752629644","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5cd464a5dc37c66705b96e0a4a68d255dc3b52f.webp?v=1752629644","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb05ad252f8ba1b951abf13ba9a298bcb3396c86.webp?v=1752629645","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c71e4649a4edcbd25d7dc275f48d2ca5637f55ba.webp?v=1752629646","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b663da944be62d801bea60dd8bf3f4db5fddf972.webp?v=1752629646"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3709e255c9af0dfccdfce82edd787be072f72b9.webp?v=1752629641","options":["color"],"media":[{"alt":null,"id":25827169370211,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3709e255c9af0dfccdfce82edd787be072f72b9.webp?v=1752629641"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3709e255c9af0dfccdfce82edd787be072f72b9.webp?v=1752629641","width":2000},{"alt":null,"id":25827169566819,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/595bb6dfefbb47c8d038c3da6a71eecda3799325.webp?v=1752629642"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/595bb6dfefbb47c8d038c3da6a71eecda3799325.webp?v=1752629642","width":2000},{"alt":null,"id":25827169763427,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/469ec44fccc58dc6f3bf15b3197b2b5957e69af5.webp?v=1752629642"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/469ec44fccc58dc6f3bf15b3197b2b5957e69af5.webp?v=1752629642","width":2000},{"alt":null,"id":25827169894499,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc6d47c78e8a6390e909d3fb1cb24c7194a02aaa.webp?v=1752629643"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc6d47c78e8a6390e909d3fb1cb24c7194a02aaa.webp?v=1752629643","width":2000},{"alt":null,"id":25827170091107,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68d611f1e4d05aecedf9963f54bca5509dbd9e77.webp?v=1752629643"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68d611f1e4d05aecedf9963f54bca5509dbd9e77.webp?v=1752629643","width":2000},{"alt":null,"id":25827170418787,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f9c034a32945eeea3a630d087eb7fc13ffe150c.webp?v=1752629644"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f9c034a32945eeea3a630d087eb7fc13ffe150c.webp?v=1752629644","width":2000},{"alt":null,"id":25827170746467,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5cd464a5dc37c66705b96e0a4a68d255dc3b52f.webp?v=1752629644"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5cd464a5dc37c66705b96e0a4a68d255dc3b52f.webp?v=1752629644","width":2000},{"alt":null,"id":25827170943075,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb05ad252f8ba1b951abf13ba9a298bcb3396c86.webp?v=1752629645"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb05ad252f8ba1b951abf13ba9a298bcb3396c86.webp?v=1752629645","width":2000},{"alt":null,"id":25827171074147,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c71e4649a4edcbd25d7dc275f48d2ca5637f55ba.webp?v=1752629646"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c71e4649a4edcbd25d7dc275f48d2ca5637f55ba.webp?v=1752629646","width":2000},{"alt":null,"id":25827171172451,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b663da944be62d801bea60dd8bf3f4db5fddf972.webp?v=1752629646"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b663da944be62d801bea60dd8bf3f4db5fddf972.webp?v=1752629646","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43528455880803,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-HK62","requires_shipping":true,"taxable":true,"featured_image":{"id":34192906420323,"product_id":7838009163875,"position":4,"created_at":"2025-07-16T09:34:01+08:00","updated_at":"2025-07-16T09:34:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc6d47c78e8a6390e909d3fb1cb24c7194a02aaa.webp?v=1752629643","variant_ids":[43528455880803]},"available":true,"name":"iPhone 13 mini Mod NX BOUNCE Bounce 塗破 - 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-HK62","featured_media":{"alt":null,"id":25827169894499,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc6d47c78e8a6390e909d3fb1cb24c7194a02aaa.webp?v=1752629643"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43528455979107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0122824-HK62","requires_shipping":true,"taxable":true,"featured_image":{"id":34192907337827,"product_id":7838009163875,"position":7,"created_at":"2025-07-16T09:34:03+08:00","updated_at":"2025-07-16T09:34:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5cd464a5dc37c66705b96e0a4a68d255dc3b52f.webp?v=1752629644","variant_ids":[43528455979107]},"available":true,"name":"iPhone 13 mini Mod NX BOUNCE Bounce 塗破 - 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-HK62","featured_media":{"alt":null,"id":25827170746467,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5cd464a5dc37c66705b96e0a4a68d255dc3b52f.webp?v=1752629644"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43528456110179,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01228J5-HK62","requires_shipping":true,"taxable":true,"featured_image":{"id":34192907960419,"product_id":7838009163875,"position":9,"created_at":"2025-07-16T09:34:04+08:00","updated_at":"2025-07-16T09:34:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c71e4649a4edcbd25d7dc275f48d2ca5637f55ba.webp?v=1752629646","variant_ids":[43528456110179]},"available":true,"name":"iPhone 13 mini Mod NX BOUNCE Bounce 塗破 - 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-HK62","featured_media":{"alt":null,"id":25827171074147,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c71e4649a4edcbd25d7dc275f48d2ca5637f55ba.webp?v=1752629646"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43528455880803,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0122804-HK62","requires_shipping":true,"taxable":true,"featured_image":{"id":34192906420323,"product_id":7838009163875,"position":4,"created_at":"2025-07-16T09:34:01+08:00","updated_at":"2025-07-16T09:34:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc6d47c78e8a6390e909d3fb1cb24c7194a02aaa.webp?v=1752629643","variant_ids":[43528455880803]},"available":true,"name":"iPhone 13 mini Mod NX BOUNCE Bounce 塗破 - 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-HK62","featured_media":{"alt":null,"id":25827169894499,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc6d47c78e8a6390e909d3fb1cb24c7194a02aaa.webp?v=1752629643"}},"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: "停產" }