$product = {"id":7848032469091,"title":"iPhone 13 mini Mod NX (MagSafe 兼容) 嗨小強 It's Your Day","handle":"iphone-13-mini-mod-nx-magsafe-bumper-crossover-design-fv64","description":null,"published_at":"2025-08-07T09:20:25+08:00","created_at":"2025-08-05T09:37:47+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-hijohnnn","device-iPhone 13 Mini","merge","reseller-hijohnnn"],"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":43562823483491,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-FV64","requires_shipping":true,"taxable":true,"featured_image":{"id":34287702507619,"product_id":7848032469091,"position":7,"created_at":"2025-08-05T09:37:59+08:00","updated_at":"2025-08-05T09:38:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b1cec61f1ce41995006d364b77cd694b5116b7e.webp?v=1754357881","variant_ids":[43562823483491]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 嗨小強 It's Your Day - 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-FV64","featured_media":{"alt":null,"id":25888800342115,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b1cec61f1ce41995006d364b77cd694b5116b7e.webp?v=1754357881"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43562823581795,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-FV64","requires_shipping":true,"taxable":true,"featured_image":{"id":34287700541539,"product_id":7848032469091,"position":3,"created_at":"2025-08-05T09:37:53+08:00","updated_at":"2025-08-05T09:37:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43dd70837095eb7bce80ed0ff6af5227a25374f5.webp?v=1754357876","variant_ids":[43562823581795]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 嗨小強 It's Your Day - 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-FV64","featured_media":{"alt":null,"id":25888799457379,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43dd70837095eb7bce80ed0ff6af5227a25374f5.webp?v=1754357876"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43562823680099,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-FV64","requires_shipping":true,"taxable":true,"featured_image":{"id":34287704014947,"product_id":7848032469091,"position":10,"created_at":"2025-08-05T09:38:02+08:00","updated_at":"2025-08-05T09:38:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c5198db1c91236bffa263fae7f229243f019df2.webp?v=1754357884","variant_ids":[43562823680099]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 嗨小強 It's Your Day - 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-FV64","featured_media":{"alt":null,"id":25888801095779,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c5198db1c91236bffa263fae7f229243f019df2.webp?v=1754357884"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f4bef5042af727e68b1b741cd30220feb83587.webp?v=1754357874","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e27cfe8f697c6514fec8b42223275ec01fafef6b.webp?v=1754357875","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43dd70837095eb7bce80ed0ff6af5227a25374f5.webp?v=1754357876","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f65bbc1990ae1e1b9274c558094d4d7085f3305.webp?v=1754357876","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89c3a8384c9df6f98f79b18cb69f60ebf97a24cf.webp?v=1754357877","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83622f3d708eff4be9f2e63e829c513dc83cd662.webp?v=1754357878","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b1cec61f1ce41995006d364b77cd694b5116b7e.webp?v=1754357881","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e43d18481f6ac93029586fa0d58f44f3f00166d1.webp?v=1754357882","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60be5876d5981fd0b87061d33c8c6a1fa2d4727a.webp?v=1754357884","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c5198db1c91236bffa263fae7f229243f019df2.webp?v=1754357884","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b28e97ae87a117e9d39c71e4a26590925b936f69.webp?v=1754357885"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f4bef5042af727e68b1b741cd30220feb83587.webp?v=1754357874","options":["color"],"media":[{"alt":null,"id":25888799260771,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f4bef5042af727e68b1b741cd30220feb83587.webp?v=1754357874"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f4bef5042af727e68b1b741cd30220feb83587.webp?v=1754357874","width":2000},{"alt":null,"id":25888799326307,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e27cfe8f697c6514fec8b42223275ec01fafef6b.webp?v=1754357875"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e27cfe8f697c6514fec8b42223275ec01fafef6b.webp?v=1754357875","width":2000},{"alt":null,"id":25888799457379,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43dd70837095eb7bce80ed0ff6af5227a25374f5.webp?v=1754357876"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43dd70837095eb7bce80ed0ff6af5227a25374f5.webp?v=1754357876","width":2000},{"alt":null,"id":25888799522915,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f65bbc1990ae1e1b9274c558094d4d7085f3305.webp?v=1754357876"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f65bbc1990ae1e1b9274c558094d4d7085f3305.webp?v=1754357876","width":2000},{"alt":null,"id":25888799686755,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89c3a8384c9df6f98f79b18cb69f60ebf97a24cf.webp?v=1754357877"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/89c3a8384c9df6f98f79b18cb69f60ebf97a24cf.webp?v=1754357877","width":2000},{"alt":null,"id":25888799752291,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83622f3d708eff4be9f2e63e829c513dc83cd662.webp?v=1754357878"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83622f3d708eff4be9f2e63e829c513dc83cd662.webp?v=1754357878","width":2000},{"alt":null,"id":25888800342115,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b1cec61f1ce41995006d364b77cd694b5116b7e.webp?v=1754357881"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b1cec61f1ce41995006d364b77cd694b5116b7e.webp?v=1754357881","width":2000},{"alt":null,"id":25888800571491,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e43d18481f6ac93029586fa0d58f44f3f00166d1.webp?v=1754357882"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e43d18481f6ac93029586fa0d58f44f3f00166d1.webp?v=1754357882","width":2000},{"alt":null,"id":25888800931939,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60be5876d5981fd0b87061d33c8c6a1fa2d4727a.webp?v=1754357884"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60be5876d5981fd0b87061d33c8c6a1fa2d4727a.webp?v=1754357884","width":2000},{"alt":null,"id":25888801095779,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c5198db1c91236bffa263fae7f229243f019df2.webp?v=1754357884"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c5198db1c91236bffa263fae7f229243f019df2.webp?v=1754357884","width":2000},{"alt":null,"id":25888801259619,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b28e97ae87a117e9d39c71e4a26590925b936f69.webp?v=1754357885"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b28e97ae87a117e9d39c71e4a26590925b936f69.webp?v=1754357885","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43562823483491,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-FV64","requires_shipping":true,"taxable":true,"featured_image":{"id":34287702507619,"product_id":7848032469091,"position":7,"created_at":"2025-08-05T09:37:59+08:00","updated_at":"2025-08-05T09:38:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b1cec61f1ce41995006d364b77cd694b5116b7e.webp?v=1754357881","variant_ids":[43562823483491]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 嗨小強 It's Your Day - 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-FV64","featured_media":{"alt":null,"id":25888800342115,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b1cec61f1ce41995006d364b77cd694b5116b7e.webp?v=1754357881"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43562823581795,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01228J5-FV64","requires_shipping":true,"taxable":true,"featured_image":{"id":34287700541539,"product_id":7848032469091,"position":3,"created_at":"2025-08-05T09:37:53+08:00","updated_at":"2025-08-05T09:37:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43dd70837095eb7bce80ed0ff6af5227a25374f5.webp?v=1754357876","variant_ids":[43562823581795]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 嗨小強 It's Your Day - 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-FV64","featured_media":{"alt":null,"id":25888799457379,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43dd70837095eb7bce80ed0ff6af5227a25374f5.webp?v=1754357876"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43562823680099,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0122824-FV64","requires_shipping":true,"taxable":true,"featured_image":{"id":34287704014947,"product_id":7848032469091,"position":10,"created_at":"2025-08-05T09:38:02+08:00","updated_at":"2025-08-05T09:38:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c5198db1c91236bffa263fae7f229243f019df2.webp?v=1754357884","variant_ids":[43562823680099]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 嗨小強 It's Your Day - 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-FV64","featured_media":{"alt":null,"id":25888801095779,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c5198db1c91236bffa263fae7f229243f019df2.webp?v=1754357884"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43562823483491,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0122804-FV64","requires_shipping":true,"taxable":true,"featured_image":{"id":34287702507619,"product_id":7848032469091,"position":7,"created_at":"2025-08-05T09:37:59+08:00","updated_at":"2025-08-05T09:38:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b1cec61f1ce41995006d364b77cd694b5116b7e.webp?v=1754357881","variant_ids":[43562823483491]},"available":true,"name":"iPhone 13 mini Mod NX (MagSafe 兼容) 嗨小強 It's Your Day - 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-FV64","featured_media":{"alt":null,"id":25888800342115,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b1cec61f1ce41995006d364b77cd694b5116b7e.webp?v=1754357881"}},"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: "停產"
}