$product = {"id":7956226146403,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) Emerald Studio 2月 杏花","handle":"iphone-14-plus-mod-nx-magsafe-eme02","description":null,"published_at":"2026-01-28T09:39:50+08:00","created_at":"2026-01-26T14:44:54+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-emerald","device-iPhone 14 Plus","merge","reseller-emerald"],"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":43967090458723,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-EME02","requires_shipping":true,"taxable":true,"featured_image":{"id":35147309744227,"product_id":7956226146403,"position":9,"created_at":"2026-01-26T14:46:04+08:00","updated_at":"2026-01-26T14:46:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bdc730485e7da26c576aecf59ebdf7160ac77b1.webp?v=1769409966","variant_ids":[43967090458723]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) Emerald Studio 2月 杏花 - 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-EME02","featured_media":{"alt":null,"id":26703548252259,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bdc730485e7da26c576aecf59ebdf7160ac77b1.webp?v=1769409966"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea0e8bc6413ea0281ef44c9e7eb3d055706ced76.webp?v=1769409948","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc1b29609788df1c5aa822b5376ff271cb41ab2e.webp?v=1769409950","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29ef204ed0a5ac93e7571e99f5865994f54ed27d.webp?v=1769409953","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5b7c351b74ba2bc955ff8cac97625478749ed67.webp?v=1769409954","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d44ba6391d6047c171ca879801d479cfc4a9a38.webp?v=1769409955","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dde30808c12e088ca82dfd449ee365c51f1d1e6.webp?v=1769409957","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19a0ac1ec858f8b4d4c92dd9a6f9752eab1ea36d.webp?v=1769409963","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01536c4165c42def0b96a717802c7e4be5540f9f.webp?v=1769409964","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bdc730485e7da26c576aecf59ebdf7160ac77b1.webp?v=1769409966","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57dc5372d13e9db2fc274567fcec6a52420ad388.webp?v=1769409968","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/444dc8ae6e14388f307d5d24132cca4542f68acd.webp?v=1769409969","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6adac5df46cf0305f04bade7f6554fb4096f7a14.webp?v=1769409970","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44fae1962ccef476ba32d178f08798b24556bf1c.webp?v=1769409972"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea0e8bc6413ea0281ef44c9e7eb3d055706ced76.webp?v=1769409948","options":["color"],"media":[{"alt":null,"id":26703541239907,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea0e8bc6413ea0281ef44c9e7eb3d055706ced76.webp?v=1769409948"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea0e8bc6413ea0281ef44c9e7eb3d055706ced76.webp?v=1769409948","width":2000},{"alt":null,"id":26703542419555,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc1b29609788df1c5aa822b5376ff271cb41ab2e.webp?v=1769409950"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc1b29609788df1c5aa822b5376ff271cb41ab2e.webp?v=1769409950","width":2000},{"alt":null,"id":26703543631971,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29ef204ed0a5ac93e7571e99f5865994f54ed27d.webp?v=1769409953"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29ef204ed0a5ac93e7571e99f5865994f54ed27d.webp?v=1769409953","width":2000},{"alt":null,"id":26703544189027,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5b7c351b74ba2bc955ff8cac97625478749ed67.webp?v=1769409954"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5b7c351b74ba2bc955ff8cac97625478749ed67.webp?v=1769409954","width":2000},{"alt":null,"id":26703544746083,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d44ba6391d6047c171ca879801d479cfc4a9a38.webp?v=1769409955"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d44ba6391d6047c171ca879801d479cfc4a9a38.webp?v=1769409955","width":2000},{"alt":null,"id":26703545368675,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dde30808c12e088ca82dfd449ee365c51f1d1e6.webp?v=1769409957"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2dde30808c12e088ca82dfd449ee365c51f1d1e6.webp?v=1769409957","width":2000},{"alt":null,"id":26703547170915,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19a0ac1ec858f8b4d4c92dd9a6f9752eab1ea36d.webp?v=1769409963"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19a0ac1ec858f8b4d4c92dd9a6f9752eab1ea36d.webp?v=1769409963","width":2000},{"alt":null,"id":26703547793507,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01536c4165c42def0b96a717802c7e4be5540f9f.webp?v=1769409964"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01536c4165c42def0b96a717802c7e4be5540f9f.webp?v=1769409964","width":2000},{"alt":null,"id":26703548252259,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bdc730485e7da26c576aecf59ebdf7160ac77b1.webp?v=1769409966"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bdc730485e7da26c576aecf59ebdf7160ac77b1.webp?v=1769409966","width":2000},{"alt":null,"id":26703548743779,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57dc5372d13e9db2fc274567fcec6a52420ad388.webp?v=1769409968"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57dc5372d13e9db2fc274567fcec6a52420ad388.webp?v=1769409968","width":2000},{"alt":null,"id":26703548973155,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/444dc8ae6e14388f307d5d24132cca4542f68acd.webp?v=1769409969"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/444dc8ae6e14388f307d5d24132cca4542f68acd.webp?v=1769409969","width":2000},{"alt":null,"id":26703549202531,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6adac5df46cf0305f04bade7f6554fb4096f7a14.webp?v=1769409970"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6adac5df46cf0305f04bade7f6554fb4096f7a14.webp?v=1769409970","width":2000},{"alt":null,"id":26703549333603,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44fae1962ccef476ba32d178f08798b24556bf1c.webp?v=1769409972"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44fae1962ccef476ba32d178f08798b24556bf1c.webp?v=1769409972","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43967090458723,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-EME02","requires_shipping":true,"taxable":true,"featured_image":{"id":35147309744227,"product_id":7956226146403,"position":9,"created_at":"2026-01-26T14:46:04+08:00","updated_at":"2026-01-26T14:46:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bdc730485e7da26c576aecf59ebdf7160ac77b1.webp?v=1769409966","variant_ids":[43967090458723]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) Emerald Studio 2月 杏花 - 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-EME02","featured_media":{"alt":null,"id":26703548252259,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bdc730485e7da26c576aecf59ebdf7160ac77b1.webp?v=1769409966"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43967090458723,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-EME02","requires_shipping":true,"taxable":true,"featured_image":{"id":35147309744227,"product_id":7956226146403,"position":9,"created_at":"2026-01-26T14:46:04+08:00","updated_at":"2026-01-26T14:46:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bdc730485e7da26c576aecf59ebdf7160ac77b1.webp?v=1769409966","variant_ids":[43967090458723]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) Emerald Studio 2月 杏花 - 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-EME02","featured_media":{"alt":null,"id":26703548252259,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bdc730485e7da26c576aecf59ebdf7160ac77b1.webp?v=1769409966"}},"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: "停產"
}