$product = {"id":7888534798435,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 夏日冰淇淋","handle":"iphone-13-mini-mod-nx-magsafe-printable-es07","description":null,"published_at":"2025-09-23T09:10:58+08:00","created_at":"2025-09-22T16:04:52+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-annnbrownie","device-iPhone 13 Mini","merge","reseller-annnbrownie"],"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":43743498928227,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-ES07","requires_shipping":true,"taxable":true,"featured_image":{"id":34514813812835,"product_id":7888534798435,"position":2,"created_at":"2025-09-22T16:04:56+08:00","updated_at":"2025-09-22T16:04:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/381d949a9d93d80351c5bbf79ab2292114a4abae.webp?v=1758528298","variant_ids":[43743498928227]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 夏日冰淇淋 - 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-ES07","featured_media":{"alt":null,"id":26085256265827,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/381d949a9d93d80351c5bbf79ab2292114a4abae.webp?v=1758528298"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743498960995,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-ES07","requires_shipping":true,"taxable":true,"featured_image":{"id":34514814369891,"product_id":7888534798435,"position":7,"created_at":"2025-09-22T16:04:59+08:00","updated_at":"2025-09-22T16:05:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9517ab2cc0d2301e2545d2960e877a09ac4ac7af.webp?v=1758528301","variant_ids":[43743498960995]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 夏日冰淇淋 - 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-ES07","featured_media":{"alt":null,"id":26085256822883,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9517ab2cc0d2301e2545d2960e877a09ac4ac7af.webp?v=1758528301"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743499124835,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-ES07","requires_shipping":true,"taxable":true,"featured_image":{"id":34514814042211,"product_id":7888534798435,"position":4,"created_at":"2025-09-22T16:04:57+08:00","updated_at":"2025-09-22T16:04:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ef141e51161f3b59790b776aca20240d20874d0.webp?v=1758528299","variant_ids":[43743499124835]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 夏日冰淇淋 - 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-ES07","featured_media":{"alt":null,"id":26085256495203,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ef141e51161f3b59790b776aca20240d20874d0.webp?v=1758528299"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea59ec77a00a91fb8f2aa8383f7b4bb72c6fcba6.webp?v=1758528298","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/381d949a9d93d80351c5bbf79ab2292114a4abae.webp?v=1758528298","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6b6c1c4d185a486b264f61de64ea01a1f3cb599.webp?v=1758528299","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ef141e51161f3b59790b776aca20240d20874d0.webp?v=1758528299","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/928b37e6ba6fe9e1a5da93538357f1ee182b2383.webp?v=1758528300","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/793bb2392f72a1fbb2dc72d270babc553a96b7bc.webp?v=1758528301","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9517ab2cc0d2301e2545d2960e877a09ac4ac7af.webp?v=1758528301","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71711a3c2a769e04bc99f954300b10e0c5d0c2ee.webp?v=1758528302","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bceb875c70018990fe45e3f020f655f9e192231b.webp?v=1758528302","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12b6b9e2dea3ebe410e4149de306e3cdebcd5aab.webp?v=1758528303"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea59ec77a00a91fb8f2aa8383f7b4bb72c6fcba6.webp?v=1758528298","options":["color"],"media":[{"alt":null,"id":26085256134755,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea59ec77a00a91fb8f2aa8383f7b4bb72c6fcba6.webp?v=1758528298"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea59ec77a00a91fb8f2aa8383f7b4bb72c6fcba6.webp?v=1758528298","width":2000},{"alt":null,"id":26085256265827,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/381d949a9d93d80351c5bbf79ab2292114a4abae.webp?v=1758528298"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/381d949a9d93d80351c5bbf79ab2292114a4abae.webp?v=1758528298","width":2000},{"alt":null,"id":26085256396899,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6b6c1c4d185a486b264f61de64ea01a1f3cb599.webp?v=1758528299"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6b6c1c4d185a486b264f61de64ea01a1f3cb599.webp?v=1758528299","width":2000},{"alt":null,"id":26085256495203,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ef141e51161f3b59790b776aca20240d20874d0.webp?v=1758528299"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ef141e51161f3b59790b776aca20240d20874d0.webp?v=1758528299","width":2000},{"alt":null,"id":26085256659043,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/928b37e6ba6fe9e1a5da93538357f1ee182b2383.webp?v=1758528300"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/928b37e6ba6fe9e1a5da93538357f1ee182b2383.webp?v=1758528300","width":2000},{"alt":null,"id":26085256724579,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/793bb2392f72a1fbb2dc72d270babc553a96b7bc.webp?v=1758528301"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/793bb2392f72a1fbb2dc72d270babc553a96b7bc.webp?v=1758528301","width":2000},{"alt":null,"id":26085256822883,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9517ab2cc0d2301e2545d2960e877a09ac4ac7af.webp?v=1758528301"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9517ab2cc0d2301e2545d2960e877a09ac4ac7af.webp?v=1758528301","width":2000},{"alt":null,"id":26085256986723,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71711a3c2a769e04bc99f954300b10e0c5d0c2ee.webp?v=1758528302"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71711a3c2a769e04bc99f954300b10e0c5d0c2ee.webp?v=1758528302","width":2000},{"alt":null,"id":26085257117795,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bceb875c70018990fe45e3f020f655f9e192231b.webp?v=1758528302"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bceb875c70018990fe45e3f020f655f9e192231b.webp?v=1758528302","width":2000},{"alt":null,"id":26085257314403,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12b6b9e2dea3ebe410e4149de306e3cdebcd5aab.webp?v=1758528303"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12b6b9e2dea3ebe410e4149de306e3cdebcd5aab.webp?v=1758528303","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43743498928227,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-ES07","requires_shipping":true,"taxable":true,"featured_image":{"id":34514813812835,"product_id":7888534798435,"position":2,"created_at":"2025-09-22T16:04:56+08:00","updated_at":"2025-09-22T16:04:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/381d949a9d93d80351c5bbf79ab2292114a4abae.webp?v=1758528298","variant_ids":[43743498928227]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 夏日冰淇淋 - 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-ES07","featured_media":{"alt":null,"id":26085256265827,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/381d949a9d93d80351c5bbf79ab2292114a4abae.webp?v=1758528298"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743498960995,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-ES07","requires_shipping":true,"taxable":true,"featured_image":{"id":34514814369891,"product_id":7888534798435,"position":7,"created_at":"2025-09-22T16:04:59+08:00","updated_at":"2025-09-22T16:05:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9517ab2cc0d2301e2545d2960e877a09ac4ac7af.webp?v=1758528301","variant_ids":[43743498960995]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 夏日冰淇淋 - 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-ES07","featured_media":{"alt":null,"id":26085256822883,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9517ab2cc0d2301e2545d2960e877a09ac4ac7af.webp?v=1758528301"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743499124835,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-ES07","requires_shipping":true,"taxable":true,"featured_image":{"id":34514814042211,"product_id":7888534798435,"position":4,"created_at":"2025-09-22T16:04:57+08:00","updated_at":"2025-09-22T16:04:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ef141e51161f3b59790b776aca20240d20874d0.webp?v=1758528299","variant_ids":[43743499124835]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 夏日冰淇淋 - 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-ES07","featured_media":{"alt":null,"id":26085256495203,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ef141e51161f3b59790b776aca20240d20874d0.webp?v=1758528299"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43743498928227,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-ES07","requires_shipping":true,"taxable":true,"featured_image":{"id":34514813812835,"product_id":7888534798435,"position":2,"created_at":"2025-09-22T16:04:56+08:00","updated_at":"2025-09-22T16:04:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/381d949a9d93d80351c5bbf79ab2292114a4abae.webp?v=1758528298","variant_ids":[43743498928227]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 夏日冰淇淋 - 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-ES07","featured_media":{"alt":null,"id":26085256265827,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/381d949a9d93d80351c5bbf79ab2292114a4abae.webp?v=1758528298"}},"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: "停產"
}