$product = {"id":7873225130083,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Keigo Cotton Swab","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-kei07","description":null,"published_at":"2025-09-01T11:12:21+08:00","created_at":"2025-09-01T09:28:28+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-keigo","device-iPhone 13 Pro Max","merge","reseller-keigo"],"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":43658385129571,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409739485283,"product_id":7873225130083,"position":4,"created_at":"2025-09-01T09:28:34+08:00","updated_at":"2025-09-01T09:28:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0412d5425fe16c2d20c51277f700fafe17c08268.webp?v=1756690116","variant_ids":[43658385129571]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Keigo Cotton Swab - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-KEI07","featured_media":{"alt":null,"id":25982054662243,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0412d5425fe16c2d20c51277f700fafe17c08268.webp?v=1756690116"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658385162339,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409740435555,"product_id":7873225130083,"position":9,"created_at":"2025-09-01T09:28:38+08:00","updated_at":"2025-09-01T09:28:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d455e2f28e79f583a0cd4b44e31993264581da1.webp?v=1756690120","variant_ids":[43658385162339]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Keigo Cotton Swab - 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":"MPB01232J5-KEI07","featured_media":{"alt":null,"id":25982055612515,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d455e2f28e79f583a0cd4b44e31993264581da1.webp?v=1756690120"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21455b2a55427d23c3658aee3cf9701e0a968048.webp?v=1756690114","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32e2f0a2c7123a631c86800df5743d685a78da9c.webp?v=1756690115","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92a4b82d2c356dedba8e8b446f62d33d1edaaea1.webp?v=1756690116","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0412d5425fe16c2d20c51277f700fafe17c08268.webp?v=1756690116","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ee16098ce673a7ebb3ebf9438fe9d0381af0f2.webp?v=1756690117","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/099ef361269b2c68047905b56fe9c863769f0347.webp?v=1756690118","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eec6f50db9c924339839d1ff8ca10e7eafedaee7.webp?v=1756690119","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60f99fa33ad373da1b510373f1d9d37aa2898313.webp?v=1756690119","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d455e2f28e79f583a0cd4b44e31993264581da1.webp?v=1756690120","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3886851e656fdc3a8481b3c3d89509beff4c99b.webp?v=1756690121","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1de1857cc5dee147364cab89e0e9686a9c9e205.webp?v=1756690121"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21455b2a55427d23c3658aee3cf9701e0a968048.webp?v=1756690114","options":["color"],"media":[{"alt":null,"id":25982054072419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21455b2a55427d23c3658aee3cf9701e0a968048.webp?v=1756690114"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21455b2a55427d23c3658aee3cf9701e0a968048.webp?v=1756690114","width":2000},{"alt":null,"id":25982054236259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32e2f0a2c7123a631c86800df5743d685a78da9c.webp?v=1756690115"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32e2f0a2c7123a631c86800df5743d685a78da9c.webp?v=1756690115","width":2000},{"alt":null,"id":25982054400099,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92a4b82d2c356dedba8e8b446f62d33d1edaaea1.webp?v=1756690116"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/92a4b82d2c356dedba8e8b446f62d33d1edaaea1.webp?v=1756690116","width":2000},{"alt":null,"id":25982054662243,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0412d5425fe16c2d20c51277f700fafe17c08268.webp?v=1756690116"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0412d5425fe16c2d20c51277f700fafe17c08268.webp?v=1756690116","width":2000},{"alt":null,"id":25982054924387,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ee16098ce673a7ebb3ebf9438fe9d0381af0f2.webp?v=1756690117"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ee16098ce673a7ebb3ebf9438fe9d0381af0f2.webp?v=1756690117","width":2000},{"alt":null,"id":25982055153763,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/099ef361269b2c68047905b56fe9c863769f0347.webp?v=1756690118"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/099ef361269b2c68047905b56fe9c863769f0347.webp?v=1756690118","width":2000},{"alt":null,"id":25982055317603,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eec6f50db9c924339839d1ff8ca10e7eafedaee7.webp?v=1756690119"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eec6f50db9c924339839d1ff8ca10e7eafedaee7.webp?v=1756690119","width":2000},{"alt":null,"id":25982055546979,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60f99fa33ad373da1b510373f1d9d37aa2898313.webp?v=1756690119"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60f99fa33ad373da1b510373f1d9d37aa2898313.webp?v=1756690119","width":2000},{"alt":null,"id":25982055612515,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d455e2f28e79f583a0cd4b44e31993264581da1.webp?v=1756690120"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d455e2f28e79f583a0cd4b44e31993264581da1.webp?v=1756690120","width":2000},{"alt":null,"id":25982055710819,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3886851e656fdc3a8481b3c3d89509beff4c99b.webp?v=1756690121"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3886851e656fdc3a8481b3c3d89509beff4c99b.webp?v=1756690121","width":2000},{"alt":null,"id":25982055743587,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1de1857cc5dee147364cab89e0e9686a9c9e205.webp?v=1756690121"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1de1857cc5dee147364cab89e0e9686a9c9e205.webp?v=1756690121","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43658385129571,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409739485283,"product_id":7873225130083,"position":4,"created_at":"2025-09-01T09:28:34+08:00","updated_at":"2025-09-01T09:28:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0412d5425fe16c2d20c51277f700fafe17c08268.webp?v=1756690116","variant_ids":[43658385129571]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Keigo Cotton Swab - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-KEI07","featured_media":{"alt":null,"id":25982054662243,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0412d5425fe16c2d20c51277f700fafe17c08268.webp?v=1756690116"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658385162339,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409740435555,"product_id":7873225130083,"position":9,"created_at":"2025-09-01T09:28:38+08:00","updated_at":"2025-09-01T09:28:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d455e2f28e79f583a0cd4b44e31993264581da1.webp?v=1756690120","variant_ids":[43658385162339]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Keigo Cotton Swab - 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":"MPB01232J5-KEI07","featured_media":{"alt":null,"id":25982055612515,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d455e2f28e79f583a0cd4b44e31993264581da1.webp?v=1756690120"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43658385129571,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409739485283,"product_id":7873225130083,"position":4,"created_at":"2025-09-01T09:28:34+08:00","updated_at":"2025-09-01T09:28:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0412d5425fe16c2d20c51277f700fafe17c08268.webp?v=1756690116","variant_ids":[43658385129571]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Keigo Cotton Swab - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-KEI07","featured_media":{"alt":null,"id":25982054662243,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0412d5425fe16c2d20c51277f700fafe17c08268.webp?v=1756690116"}},"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: "停產"
}