$product = {"id":7888365715555,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) KINGJUN 滿滿的愛","handle":"iphone-13-mini-mod-nx-magsafe-printable-iq01","description":null,"published_at":"2025-09-23T09:23:51+08:00","created_at":"2025-09-22T15:12:55+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-kingjun","device-iPhone 13 Mini","merge","reseller-kingjun"],"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":43742840029283,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-IQ01","requires_shipping":true,"taxable":true,"featured_image":{"id":34514126962787,"product_id":7888365715555,"position":8,"created_at":"2025-09-22T15:13:02+08:00","updated_at":"2025-09-22T15:13:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af3d561a46313be8b26c5ba8b42ddb2d0ca7f20c.webp?v=1758525184","variant_ids":[43742840029283]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) KINGJUN 滿滿的愛 - 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-IQ01","featured_media":{"alt":null,"id":26084569481315,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af3d561a46313be8b26c5ba8b42ddb2d0ca7f20c.webp?v=1758525184"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43742840225891,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-IQ01","requires_shipping":true,"taxable":true,"featured_image":{"id":34514125717603,"product_id":7888365715555,"position":3,"created_at":"2025-09-22T15:12:59+08:00","updated_at":"2025-09-22T15:13:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f2c71556bf036a17ca5126b744ba01cf7d383ae.webp?v=1758525181","variant_ids":[43742840225891]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) KINGJUN 滿滿的愛 - 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-IQ01","featured_media":{"alt":null,"id":26084568236131,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f2c71556bf036a17ca5126b744ba01cf7d383ae.webp?v=1758525181"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43742840291427,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-IQ01","requires_shipping":true,"taxable":true,"featured_image":{"id":34514126012515,"product_id":7888365715555,"position":5,"created_at":"2025-09-22T15:13:00+08:00","updated_at":"2025-09-22T15:13:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f4231f034107a44d99498e51951a29d304e6ae2.webp?v=1758525183","variant_ids":[43742840291427]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) KINGJUN 滿滿的愛 - 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-IQ01","featured_media":{"alt":null,"id":26084568531043,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f4231f034107a44d99498e51951a29d304e6ae2.webp?v=1758525183"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f39fa7789e81ba34f19807378eef4dd3419c6ae.webp?v=1758525180","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/469c880cf31f0d3f86abce83065e8a45f1107e6b.webp?v=1758525181","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f2c71556bf036a17ca5126b744ba01cf7d383ae.webp?v=1758525181","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/676bd6ae774a08e6792e842916047003b7c0aa09.webp?v=1758525182","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f4231f034107a44d99498e51951a29d304e6ae2.webp?v=1758525183","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78ffc253381d5afb1b4689641916b9b288341b1d.webp?v=1758525183","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85aa1165373ebdc31e52fe2dc11809af5d529951.webp?v=1758525184","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af3d561a46313be8b26c5ba8b42ddb2d0ca7f20c.webp?v=1758525184","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb35fb6897cb6743cefeaa7daed2978ac38718ae.webp?v=1758525185","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3593be63eeb2565bb23b2d17fbfbbcbbab6047c.webp?v=1758525185"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f39fa7789e81ba34f19807378eef4dd3419c6ae.webp?v=1758525180","options":["color"],"media":[{"alt":null,"id":26084567908451,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f39fa7789e81ba34f19807378eef4dd3419c6ae.webp?v=1758525180"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f39fa7789e81ba34f19807378eef4dd3419c6ae.webp?v=1758525180","width":2000},{"alt":null,"id":26084568072291,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/469c880cf31f0d3f86abce83065e8a45f1107e6b.webp?v=1758525181"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/469c880cf31f0d3f86abce83065e8a45f1107e6b.webp?v=1758525181","width":2000},{"alt":null,"id":26084568236131,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f2c71556bf036a17ca5126b744ba01cf7d383ae.webp?v=1758525181"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f2c71556bf036a17ca5126b744ba01cf7d383ae.webp?v=1758525181","width":2000},{"alt":null,"id":26084568367203,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/676bd6ae774a08e6792e842916047003b7c0aa09.webp?v=1758525182"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/676bd6ae774a08e6792e842916047003b7c0aa09.webp?v=1758525182","width":2000},{"alt":null,"id":26084568531043,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f4231f034107a44d99498e51951a29d304e6ae2.webp?v=1758525183"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f4231f034107a44d99498e51951a29d304e6ae2.webp?v=1758525183","width":2000},{"alt":null,"id":26084568727651,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78ffc253381d5afb1b4689641916b9b288341b1d.webp?v=1758525183"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78ffc253381d5afb1b4689641916b9b288341b1d.webp?v=1758525183","width":2000},{"alt":null,"id":26084568989795,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85aa1165373ebdc31e52fe2dc11809af5d529951.webp?v=1758525184"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85aa1165373ebdc31e52fe2dc11809af5d529951.webp?v=1758525184","width":2000},{"alt":null,"id":26084569481315,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af3d561a46313be8b26c5ba8b42ddb2d0ca7f20c.webp?v=1758525184"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af3d561a46313be8b26c5ba8b42ddb2d0ca7f20c.webp?v=1758525184","width":2000},{"alt":null,"id":26084569677923,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb35fb6897cb6743cefeaa7daed2978ac38718ae.webp?v=1758525185"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb35fb6897cb6743cefeaa7daed2978ac38718ae.webp?v=1758525185","width":2000},{"alt":null,"id":26084569874531,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3593be63eeb2565bb23b2d17fbfbbcbbab6047c.webp?v=1758525185"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3593be63eeb2565bb23b2d17fbfbbcbbab6047c.webp?v=1758525185","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43742840029283,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-IQ01","requires_shipping":true,"taxable":true,"featured_image":{"id":34514126962787,"product_id":7888365715555,"position":8,"created_at":"2025-09-22T15:13:02+08:00","updated_at":"2025-09-22T15:13:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af3d561a46313be8b26c5ba8b42ddb2d0ca7f20c.webp?v=1758525184","variant_ids":[43742840029283]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) KINGJUN 滿滿的愛 - 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-IQ01","featured_media":{"alt":null,"id":26084569481315,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af3d561a46313be8b26c5ba8b42ddb2d0ca7f20c.webp?v=1758525184"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43742840225891,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-IQ01","requires_shipping":true,"taxable":true,"featured_image":{"id":34514125717603,"product_id":7888365715555,"position":3,"created_at":"2025-09-22T15:12:59+08:00","updated_at":"2025-09-22T15:13:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f2c71556bf036a17ca5126b744ba01cf7d383ae.webp?v=1758525181","variant_ids":[43742840225891]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) KINGJUN 滿滿的愛 - 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-IQ01","featured_media":{"alt":null,"id":26084568236131,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f2c71556bf036a17ca5126b744ba01cf7d383ae.webp?v=1758525181"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43742840291427,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-IQ01","requires_shipping":true,"taxable":true,"featured_image":{"id":34514126012515,"product_id":7888365715555,"position":5,"created_at":"2025-09-22T15:13:00+08:00","updated_at":"2025-09-22T15:13:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f4231f034107a44d99498e51951a29d304e6ae2.webp?v=1758525183","variant_ids":[43742840291427]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) KINGJUN 滿滿的愛 - 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-IQ01","featured_media":{"alt":null,"id":26084568531043,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f4231f034107a44d99498e51951a29d304e6ae2.webp?v=1758525183"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43742840029283,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-IQ01","requires_shipping":true,"taxable":true,"featured_image":{"id":34514126962787,"product_id":7888365715555,"position":8,"created_at":"2025-09-22T15:13:02+08:00","updated_at":"2025-09-22T15:13:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af3d561a46313be8b26c5ba8b42ddb2d0ca7f20c.webp?v=1758525184","variant_ids":[43742840029283]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) KINGJUN 滿滿的愛 - 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-IQ01","featured_media":{"alt":null,"id":26084569481315,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af3d561a46313be8b26c5ba8b42ddb2d0ca7f20c.webp?v=1758525184"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$brand_handle = null;
$type = "";
var sellingStatus
// 只有設計款(SKU 含 '-')才需要合圖
if ($isMerge && $defaultVariant.sku.includes('-')) {
$(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: "停產"
}