$product = {"id":7893898297443,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) Chubbynida 烈焰海之舞","handle":"iphone-13-mini-mod-nx-magsafe-printable-chu06","description":null,"published_at":"2025-10-09T09:17:09+08:00","created_at":"2025-10-07T10:39:36+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-chubbynida","device-iPhone 13 Mini","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":43763701514339,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-CHU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34553433555043,"product_id":7893898297443,"position":6,"created_at":"2025-10-07T10:39:42+08:00","updated_at":"2025-10-07T10:39:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d01b8ec60a55a87065ce6695bd88324fec6a5b0c.webp?v=1759804784","variant_ids":[43763701514339]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Chubbynida 烈焰海之舞 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-CHU06","featured_media":{"alt":null,"id":26123081187427,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d01b8ec60a55a87065ce6695bd88324fec6a5b0c.webp?v=1759804784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763701547107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-CHU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34553432834147,"product_id":7893898297443,"position":3,"created_at":"2025-10-07T10:39:38+08:00","updated_at":"2025-10-07T10:39:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6532d14d824d22fde9d22d5da476bf8ddc7b471.webp?v=1759804780","variant_ids":[43763701547107]},"available":true,"name":"iPhone 13 mini 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":"MPB0122824-CHU06","featured_media":{"alt":null,"id":26123080466531,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6532d14d824d22fde9d22d5da476bf8ddc7b471.webp?v=1759804780"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763701645411,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-CHU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34553433325667,"product_id":7893898297443,"position":5,"created_at":"2025-10-07T10:39:42+08:00","updated_at":"2025-10-07T10:39:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35acf41447946518a45b0a6ce0579a97cc1d4bac.webp?v=1759804784","variant_ids":[43763701645411]},"available":true,"name":"iPhone 13 mini 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":"MPB01228J5-CHU06","featured_media":{"alt":null,"id":26123081023587,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35acf41447946518a45b0a6ce0579a97cc1d4bac.webp?v=1759804784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e954555cd5826d1647cc360c4e43c74b199c11ce.webp?v=1759804779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b0b313020940a119bdcaadf4fb71df220517a31.webp?v=1759804779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6532d14d824d22fde9d22d5da476bf8ddc7b471.webp?v=1759804780","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6af664a9ea753d2e9b4eae5f96cc4c0ba3bbf749.webp?v=1759804781","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35acf41447946518a45b0a6ce0579a97cc1d4bac.webp?v=1759804784","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d01b8ec60a55a87065ce6695bd88324fec6a5b0c.webp?v=1759804784","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38ddbd0936a7cb4abd8c1e5668309c2b5893a1ca.webp?v=1759804785","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb70de2ad0932173fafc90f994e92e57c3199898.webp?v=1759804785","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ece3a05cc51ed073c6a57f80bd1e5e430e11bb81.webp?v=1759804786","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addcfaa11b55b4b5f7a0dedc73d4d3967a466cdd.webp?v=1759804787"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e954555cd5826d1647cc360c4e43c74b199c11ce.webp?v=1759804779","options":["color"],"media":[{"alt":null,"id":26123079942243,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e954555cd5826d1647cc360c4e43c74b199c11ce.webp?v=1759804779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e954555cd5826d1647cc360c4e43c74b199c11ce.webp?v=1759804779","width":2000},{"alt":null,"id":26123080204387,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b0b313020940a119bdcaadf4fb71df220517a31.webp?v=1759804779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b0b313020940a119bdcaadf4fb71df220517a31.webp?v=1759804779","width":2000},{"alt":null,"id":26123080466531,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6532d14d824d22fde9d22d5da476bf8ddc7b471.webp?v=1759804780"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6532d14d824d22fde9d22d5da476bf8ddc7b471.webp?v=1759804780","width":2000},{"alt":null,"id":26123080695907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6af664a9ea753d2e9b4eae5f96cc4c0ba3bbf749.webp?v=1759804781"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6af664a9ea753d2e9b4eae5f96cc4c0ba3bbf749.webp?v=1759804781","width":2000},{"alt":null,"id":26123081023587,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35acf41447946518a45b0a6ce0579a97cc1d4bac.webp?v=1759804784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35acf41447946518a45b0a6ce0579a97cc1d4bac.webp?v=1759804784","width":2000},{"alt":null,"id":26123081187427,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d01b8ec60a55a87065ce6695bd88324fec6a5b0c.webp?v=1759804784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d01b8ec60a55a87065ce6695bd88324fec6a5b0c.webp?v=1759804784","width":2000},{"alt":null,"id":26123081482339,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38ddbd0936a7cb4abd8c1e5668309c2b5893a1ca.webp?v=1759804785"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38ddbd0936a7cb4abd8c1e5668309c2b5893a1ca.webp?v=1759804785","width":2000},{"alt":null,"id":26123081777251,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb70de2ad0932173fafc90f994e92e57c3199898.webp?v=1759804785"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb70de2ad0932173fafc90f994e92e57c3199898.webp?v=1759804785","width":2000},{"alt":null,"id":26123082072163,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ece3a05cc51ed073c6a57f80bd1e5e430e11bb81.webp?v=1759804786"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ece3a05cc51ed073c6a57f80bd1e5e430e11bb81.webp?v=1759804786","width":2000},{"alt":null,"id":26123082301539,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addcfaa11b55b4b5f7a0dedc73d4d3967a466cdd.webp?v=1759804787"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/addcfaa11b55b4b5f7a0dedc73d4d3967a466cdd.webp?v=1759804787","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43763701514339,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-CHU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34553433555043,"product_id":7893898297443,"position":6,"created_at":"2025-10-07T10:39:42+08:00","updated_at":"2025-10-07T10:39:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d01b8ec60a55a87065ce6695bd88324fec6a5b0c.webp?v=1759804784","variant_ids":[43763701514339]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Chubbynida 烈焰海之舞 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-CHU06","featured_media":{"alt":null,"id":26123081187427,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d01b8ec60a55a87065ce6695bd88324fec6a5b0c.webp?v=1759804784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763701547107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-CHU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34553432834147,"product_id":7893898297443,"position":3,"created_at":"2025-10-07T10:39:38+08:00","updated_at":"2025-10-07T10:39:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6532d14d824d22fde9d22d5da476bf8ddc7b471.webp?v=1759804780","variant_ids":[43763701547107]},"available":true,"name":"iPhone 13 mini 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":"MPB0122824-CHU06","featured_media":{"alt":null,"id":26123080466531,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6532d14d824d22fde9d22d5da476bf8ddc7b471.webp?v=1759804780"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43763701645411,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-CHU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34553433325667,"product_id":7893898297443,"position":5,"created_at":"2025-10-07T10:39:42+08:00","updated_at":"2025-10-07T10:39:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35acf41447946518a45b0a6ce0579a97cc1d4bac.webp?v=1759804784","variant_ids":[43763701645411]},"available":true,"name":"iPhone 13 mini 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":"MPB01228J5-CHU06","featured_media":{"alt":null,"id":26123081023587,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35acf41447946518a45b0a6ce0579a97cc1d4bac.webp?v=1759804784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43763701514339,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-CHU06","requires_shipping":true,"taxable":true,"featured_image":{"id":34553433555043,"product_id":7893898297443,"position":6,"created_at":"2025-10-07T10:39:42+08:00","updated_at":"2025-10-07T10:39:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d01b8ec60a55a87065ce6695bd88324fec6a5b0c.webp?v=1759804784","variant_ids":[43763701514339]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Chubbynida 烈焰海之舞 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0122804-CHU06","featured_media":{"alt":null,"id":26123081187427,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d01b8ec60a55a87065ce6695bd88324fec6a5b0c.webp?v=1759804784"}},"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: "停產" }