$product = {"id":7956964835427,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) One Piece 海賊團系列-阿拉巴斯坦篇一行人 線稿","handle":"iphone-14-plus-mod-nx-magsafe-om20","description":null,"published_at":"2026-01-28T15:38:13+08:00","created_at":"2026-01-28T15:30:47+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-one-piece","device-iPhone 14 Plus","merge","reseller-one-piece"],"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":43972302831715,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-OM20","requires_shipping":true,"taxable":true,"featured_image":{"id":35156751810659,"product_id":7956964835427,"position":7,"created_at":"2026-01-28T15:31:31+08:00","updated_at":"2026-01-28T15:31:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/233f92be978db440ac924d5bcf44ef102dee34ef.webp?v=1769585493","variant_ids":[43972302831715]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) One Piece 海賊團系列-阿拉巴斯坦篇一行人 線稿 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-OM20","featured_media":{"alt":null,"id":26712887984227,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/233f92be978db440ac924d5bcf44ef102dee34ef.webp?v=1769585493"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cddf8dd303ab1faceba8280004fb452aa2475ad.webp?v=1769585489","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/235e32bcb69ea158b987028ef2a0562cff991b04.webp?v=1769585490","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/641040e41a1841be116337154afd34bda2b9d1d2.webp?v=1769585490","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01636249d5c83de606b6a5de20c69654f819b8d0.webp?v=1769585491","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/964bf0e6482350cf520edeb9720db50532707fc4.webp?v=1769585492","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76236182cc0ac7f860e0149065ca1afd9503b299.webp?v=1769585492","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/233f92be978db440ac924d5bcf44ef102dee34ef.webp?v=1769585493","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bc69d931d4abff14e47350b36d2415533dfd43a.webp?v=1769585493","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e281fdc248d47d3f8ed4087774fda7c4ff5eef44.webp?v=1769585494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fef3743de552b0f176ab07901864eda0246c4540.webp?v=1769585494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33db84279cc04ee0d9f9a1235237a2d3c0646c2d.webp?v=1769585494","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f778e705746d965f45e22f860d6f4c7971fd4ae.webp?v=1769585495","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/966d1eda29bb090e419880e430686054cc6ebe46.webp?v=1769585496"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cddf8dd303ab1faceba8280004fb452aa2475ad.webp?v=1769585489","options":["color"],"media":[{"alt":null,"id":26712886214755,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cddf8dd303ab1faceba8280004fb452aa2475ad.webp?v=1769585489"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cddf8dd303ab1faceba8280004fb452aa2475ad.webp?v=1769585489","width":2000},{"alt":null,"id":26712886476899,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/235e32bcb69ea158b987028ef2a0562cff991b04.webp?v=1769585490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/235e32bcb69ea158b987028ef2a0562cff991b04.webp?v=1769585490","width":2000},{"alt":null,"id":26712886870115,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/641040e41a1841be116337154afd34bda2b9d1d2.webp?v=1769585490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/641040e41a1841be116337154afd34bda2b9d1d2.webp?v=1769585490","width":2000},{"alt":null,"id":26712887197795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01636249d5c83de606b6a5de20c69654f819b8d0.webp?v=1769585491"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01636249d5c83de606b6a5de20c69654f819b8d0.webp?v=1769585491","width":2000},{"alt":null,"id":26712887427171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/964bf0e6482350cf520edeb9720db50532707fc4.webp?v=1769585492"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/964bf0e6482350cf520edeb9720db50532707fc4.webp?v=1769585492","width":2000},{"alt":null,"id":26712887853155,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76236182cc0ac7f860e0149065ca1afd9503b299.webp?v=1769585492"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76236182cc0ac7f860e0149065ca1afd9503b299.webp?v=1769585492","width":2000},{"alt":null,"id":26712887984227,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/233f92be978db440ac924d5bcf44ef102dee34ef.webp?v=1769585493"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/233f92be978db440ac924d5bcf44ef102dee34ef.webp?v=1769585493","width":2000},{"alt":null,"id":26712888082531,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bc69d931d4abff14e47350b36d2415533dfd43a.webp?v=1769585493"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bc69d931d4abff14e47350b36d2415533dfd43a.webp?v=1769585493","width":2000},{"alt":null,"id":26712888246371,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e281fdc248d47d3f8ed4087774fda7c4ff5eef44.webp?v=1769585494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e281fdc248d47d3f8ed4087774fda7c4ff5eef44.webp?v=1769585494","width":2000},{"alt":null,"id":26712888442979,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fef3743de552b0f176ab07901864eda0246c4540.webp?v=1769585494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fef3743de552b0f176ab07901864eda0246c4540.webp?v=1769585494","width":2000},{"alt":null,"id":26712888606819,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33db84279cc04ee0d9f9a1235237a2d3c0646c2d.webp?v=1769585494"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33db84279cc04ee0d9f9a1235237a2d3c0646c2d.webp?v=1769585494","width":2000},{"alt":null,"id":26712888737891,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f778e705746d965f45e22f860d6f4c7971fd4ae.webp?v=1769585495"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f778e705746d965f45e22f860d6f4c7971fd4ae.webp?v=1769585495","width":2000},{"alt":null,"id":26712888934499,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/966d1eda29bb090e419880e430686054cc6ebe46.webp?v=1769585496"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/966d1eda29bb090e419880e430686054cc6ebe46.webp?v=1769585496","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43972302831715,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-OM20","requires_shipping":true,"taxable":true,"featured_image":{"id":35156751810659,"product_id":7956964835427,"position":7,"created_at":"2026-01-28T15:31:31+08:00","updated_at":"2026-01-28T15:31:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/233f92be978db440ac924d5bcf44ef102dee34ef.webp?v=1769585493","variant_ids":[43972302831715]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) One Piece 海賊團系列-阿拉巴斯坦篇一行人 線稿 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-OM20","featured_media":{"alt":null,"id":26712887984227,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/233f92be978db440ac924d5bcf44ef102dee34ef.webp?v=1769585493"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43972302831715,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-OM20","requires_shipping":true,"taxable":true,"featured_image":{"id":35156751810659,"product_id":7956964835427,"position":7,"created_at":"2026-01-28T15:31:31+08:00","updated_at":"2026-01-28T15:31:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/233f92be978db440ac924d5bcf44ef102dee34ef.webp?v=1769585493","variant_ids":[43972302831715]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) One Piece 海賊團系列-阿拉巴斯坦篇一行人 線稿 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-OM20","featured_media":{"alt":null,"id":26712887984227,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/233f92be978db440ac924d5bcf44ef102dee34ef.webp?v=1769585493"}},"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: "停產"
}