$product = {"id":7937643741283,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 雲朵狗狗","handle":"iphone-13-mini-mod-nx-magsafe-cjy08","description":null,"published_at":"2025-12-12T09:34:38+08:00","created_at":"2025-12-11T10:09:31+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-jychoioioi","device-iPhone 13 Mini","merge","reseller-jychoioioi"],"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":43883305238627,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-CJY08","requires_shipping":true,"taxable":true,"featured_image":{"id":34931262062691,"product_id":7937643741283,"position":5,"created_at":"2025-12-11T10:09:37+08:00","updated_at":"2025-12-11T10:09:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfa964694d6fdef4d7f07ae8947c6f9082504909.webp?v=1765418978","variant_ids":[43883305238627]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 雲朵狗狗 - 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-CJY08","featured_media":{"alt":null,"id":26493636149347,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfa964694d6fdef4d7f07ae8947c6f9082504909.webp?v=1765418978"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883305271395,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-CJY08","requires_shipping":true,"taxable":true,"featured_image":{"id":34931262357603,"product_id":7937643741283,"position":6,"created_at":"2025-12-11T10:09:37+08:00","updated_at":"2025-12-11T10:09:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80001979c4a661b5259e9a4a8a2b6df0314f7e9c.webp?v=1765418979","variant_ids":[43883305271395]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 雲朵狗狗 - 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-CJY08","featured_media":{"alt":null,"id":26493636444259,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80001979c4a661b5259e9a4a8a2b6df0314f7e9c.webp?v=1765418979"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883305369699,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-CJY08","requires_shipping":true,"taxable":true,"featured_image":{"id":34931262881891,"product_id":7937643741283,"position":9,"created_at":"2025-12-11T10:09:39+08:00","updated_at":"2025-12-11T10:09:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b95eee9961281cfab108f06c4e8a87d6b4066ab1.webp?v=1765418981","variant_ids":[43883305369699]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 雲朵狗狗 - 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-CJY08","featured_media":{"alt":null,"id":26493636968547,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b95eee9961281cfab108f06c4e8a87d6b4066ab1.webp?v=1765418981"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2dcf4f08f1e70e131a6f02d15c25b07045d428a.webp?v=1765418976","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e4c554bccd39f223182e8a185389fbaf14886a6.webp?v=1765418977","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb92caa786b01a9c7e2505e7195123dacd59aa35.webp?v=1765418977","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8fdb7598f7c92bf5ec9797cad7b026d8ceecf22.webp?v=1765418978","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfa964694d6fdef4d7f07ae8947c6f9082504909.webp?v=1765418978","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80001979c4a661b5259e9a4a8a2b6df0314f7e9c.webp?v=1765418979","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ba96c6029ff5e2a8d42f59aa0288c666429ab36.webp?v=1765418979","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df7b8a1cf0eca34c736d8190899b45430701915e.webp?v=1765418980","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b95eee9961281cfab108f06c4e8a87d6b4066ab1.webp?v=1765418981","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e3381f9862baecb0080c02ce281ffaa7eb3c4ed.webp?v=1765418981"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2dcf4f08f1e70e131a6f02d15c25b07045d428a.webp?v=1765418976","options":["color"],"media":[{"alt":null,"id":26493635068003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2dcf4f08f1e70e131a6f02d15c25b07045d428a.webp?v=1765418976"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2dcf4f08f1e70e131a6f02d15c25b07045d428a.webp?v=1765418976","width":2000},{"alt":null,"id":26493635461219,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e4c554bccd39f223182e8a185389fbaf14886a6.webp?v=1765418977"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e4c554bccd39f223182e8a185389fbaf14886a6.webp?v=1765418977","width":2000},{"alt":null,"id":26493635690595,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb92caa786b01a9c7e2505e7195123dacd59aa35.webp?v=1765418977"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb92caa786b01a9c7e2505e7195123dacd59aa35.webp?v=1765418977","width":2000},{"alt":null,"id":26493635952739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8fdb7598f7c92bf5ec9797cad7b026d8ceecf22.webp?v=1765418978"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8fdb7598f7c92bf5ec9797cad7b026d8ceecf22.webp?v=1765418978","width":2000},{"alt":null,"id":26493636149347,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfa964694d6fdef4d7f07ae8947c6f9082504909.webp?v=1765418978"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfa964694d6fdef4d7f07ae8947c6f9082504909.webp?v=1765418978","width":2000},{"alt":null,"id":26493636444259,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80001979c4a661b5259e9a4a8a2b6df0314f7e9c.webp?v=1765418979"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80001979c4a661b5259e9a4a8a2b6df0314f7e9c.webp?v=1765418979","width":2000},{"alt":null,"id":26493636575331,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ba96c6029ff5e2a8d42f59aa0288c666429ab36.webp?v=1765418979"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ba96c6029ff5e2a8d42f59aa0288c666429ab36.webp?v=1765418979","width":2000},{"alt":null,"id":26493636804707,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df7b8a1cf0eca34c736d8190899b45430701915e.webp?v=1765418980"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df7b8a1cf0eca34c736d8190899b45430701915e.webp?v=1765418980","width":2000},{"alt":null,"id":26493636968547,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b95eee9961281cfab108f06c4e8a87d6b4066ab1.webp?v=1765418981"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b95eee9961281cfab108f06c4e8a87d6b4066ab1.webp?v=1765418981","width":2000},{"alt":null,"id":26493637197923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e3381f9862baecb0080c02ce281ffaa7eb3c4ed.webp?v=1765418981"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e3381f9862baecb0080c02ce281ffaa7eb3c4ed.webp?v=1765418981","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43883305238627,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-CJY08","requires_shipping":true,"taxable":true,"featured_image":{"id":34931262062691,"product_id":7937643741283,"position":5,"created_at":"2025-12-11T10:09:37+08:00","updated_at":"2025-12-11T10:09:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfa964694d6fdef4d7f07ae8947c6f9082504909.webp?v=1765418978","variant_ids":[43883305238627]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 雲朵狗狗 - 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-CJY08","featured_media":{"alt":null,"id":26493636149347,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfa964694d6fdef4d7f07ae8947c6f9082504909.webp?v=1765418978"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883305271395,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-CJY08","requires_shipping":true,"taxable":true,"featured_image":{"id":34931262357603,"product_id":7937643741283,"position":6,"created_at":"2025-12-11T10:09:37+08:00","updated_at":"2025-12-11T10:09:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80001979c4a661b5259e9a4a8a2b6df0314f7e9c.webp?v=1765418979","variant_ids":[43883305271395]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 雲朵狗狗 - 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-CJY08","featured_media":{"alt":null,"id":26493636444259,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80001979c4a661b5259e9a4a8a2b6df0314f7e9c.webp?v=1765418979"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43883305369699,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-CJY08","requires_shipping":true,"taxable":true,"featured_image":{"id":34931262881891,"product_id":7937643741283,"position":9,"created_at":"2025-12-11T10:09:39+08:00","updated_at":"2025-12-11T10:09:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b95eee9961281cfab108f06c4e8a87d6b4066ab1.webp?v=1765418981","variant_ids":[43883305369699]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 雲朵狗狗 - 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-CJY08","featured_media":{"alt":null,"id":26493636968547,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b95eee9961281cfab108f06c4e8a87d6b4066ab1.webp?v=1765418981"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43883305238627,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-CJY08","requires_shipping":true,"taxable":true,"featured_image":{"id":34931262062691,"product_id":7937643741283,"position":5,"created_at":"2025-12-11T10:09:37+08:00","updated_at":"2025-12-11T10:09:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfa964694d6fdef4d7f07ae8947c6f9082504909.webp?v=1765418978","variant_ids":[43883305238627]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) Jin Young Choi 雲朵狗狗 - 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-CJY08","featured_media":{"alt":null,"id":26493636149347,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfa964694d6fdef4d7f07ae8947c6f9082504909.webp?v=1765418978"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(document).ready(function() {
var productImg = $product.images[0];
var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]);
var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate')
? [productImg, bumperImg]
: [bumperImg, productImg];
window.mergeProductImages(layers).then(function (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: "停產"
}