$product = {"id":7937634664547,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) Jin Young Choi 番茄兄弟","handle":"iphone-14-plus-mod-nx-magsafe-cjy14","description":null,"published_at":"2025-12-12T09:36:17+08:00","created_at":"2025-12-11T10:07:03+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-jychoioioi","device-iPhone 14 Plus","merge","reseller-jychoioioi"],"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":43883268898915,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-CJY14","requires_shipping":true,"taxable":true,"featured_image":{"id":34931216023651,"product_id":7937634664547,"position":13,"created_at":"2025-12-11T10:07:14+08:00","updated_at":"2025-12-11T10:07:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e1428e9d4440529845faf77a9dbcd4079a448a1.webp?v=1765418836","variant_ids":[43883268898915]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) Jin Young Choi 番茄兄弟 - 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-CJY14","featured_media":{"alt":null,"id":26493590208611,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e1428e9d4440529845faf77a9dbcd4079a448a1.webp?v=1765418836"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d122d6acf2368411c2a241e35985e4b1858e52c.webp?v=1765418829","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9e5d81e1bdcfe91a50e14ef0247770d10b7082d.webp?v=1765418830","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d929aec6e03af45e8da1aada04531e6862e28620.webp?v=1765418830","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4b3f6b26b29efbd428a7dafcc91edd717d71fe.webp?v=1765418831","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f5af7ade9abb20b2282fcb95aec6152cc950c47.webp?v=1765418832","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d91f890796a2fcdd1ffbd89cfdb3e2febaf55751.webp?v=1765418832","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c332586b99ebd498205afb642425d84e59b7ba33.webp?v=1765418832","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1635b04a1e524ae324945a3150548e44a23de86.webp?v=1765418833","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005a46bc83d58e7d5e18b20fe6107b07efd19acc.webp?v=1765418833","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccd790f77af09a7c0fa6f9fa0d88d01547ea1608.webp?v=1765418834","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbe98cebe9fb62141e258f7c73b8694da88a8d4f.webp?v=1765418834","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/323462edd199b4346ca6b3dff47591e7dff00773.webp?v=1765418835","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e1428e9d4440529845faf77a9dbcd4079a448a1.webp?v=1765418836"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d122d6acf2368411c2a241e35985e4b1858e52c.webp?v=1765418829","options":["color"],"media":[{"alt":null,"id":26493587554403,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d122d6acf2368411c2a241e35985e4b1858e52c.webp?v=1765418829"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d122d6acf2368411c2a241e35985e4b1858e52c.webp?v=1765418829","width":2000},{"alt":null,"id":26493587783779,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9e5d81e1bdcfe91a50e14ef0247770d10b7082d.webp?v=1765418830"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9e5d81e1bdcfe91a50e14ef0247770d10b7082d.webp?v=1765418830","width":2000},{"alt":null,"id":26493588045923,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d929aec6e03af45e8da1aada04531e6862e28620.webp?v=1765418830"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d929aec6e03af45e8da1aada04531e6862e28620.webp?v=1765418830","width":2000},{"alt":null,"id":26493588176995,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4b3f6b26b29efbd428a7dafcc91edd717d71fe.webp?v=1765418831"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f4b3f6b26b29efbd428a7dafcc91edd717d71fe.webp?v=1765418831","width":2000},{"alt":null,"id":26493588471907,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f5af7ade9abb20b2282fcb95aec6152cc950c47.webp?v=1765418832"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f5af7ade9abb20b2282fcb95aec6152cc950c47.webp?v=1765418832","width":2000},{"alt":null,"id":26493588602979,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d91f890796a2fcdd1ffbd89cfdb3e2febaf55751.webp?v=1765418832"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d91f890796a2fcdd1ffbd89cfdb3e2febaf55751.webp?v=1765418832","width":2000},{"alt":null,"id":26493588897891,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c332586b99ebd498205afb642425d84e59b7ba33.webp?v=1765418832"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c332586b99ebd498205afb642425d84e59b7ba33.webp?v=1765418832","width":2000},{"alt":null,"id":26493589061731,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1635b04a1e524ae324945a3150548e44a23de86.webp?v=1765418833"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1635b04a1e524ae324945a3150548e44a23de86.webp?v=1765418833","width":2000},{"alt":null,"id":26493589323875,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005a46bc83d58e7d5e18b20fe6107b07efd19acc.webp?v=1765418833"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/005a46bc83d58e7d5e18b20fe6107b07efd19acc.webp?v=1765418833","width":2000},{"alt":null,"id":26493589586019,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccd790f77af09a7c0fa6f9fa0d88d01547ea1608.webp?v=1765418834"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccd790f77af09a7c0fa6f9fa0d88d01547ea1608.webp?v=1765418834","width":2000},{"alt":null,"id":26493589815395,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbe98cebe9fb62141e258f7c73b8694da88a8d4f.webp?v=1765418834"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbe98cebe9fb62141e258f7c73b8694da88a8d4f.webp?v=1765418834","width":2000},{"alt":null,"id":26493590044771,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/323462edd199b4346ca6b3dff47591e7dff00773.webp?v=1765418835"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/323462edd199b4346ca6b3dff47591e7dff00773.webp?v=1765418835","width":2000},{"alt":null,"id":26493590208611,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e1428e9d4440529845faf77a9dbcd4079a448a1.webp?v=1765418836"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e1428e9d4440529845faf77a9dbcd4079a448a1.webp?v=1765418836","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43883268898915,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-CJY14","requires_shipping":true,"taxable":true,"featured_image":{"id":34931216023651,"product_id":7937634664547,"position":13,"created_at":"2025-12-11T10:07:14+08:00","updated_at":"2025-12-11T10:07:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e1428e9d4440529845faf77a9dbcd4079a448a1.webp?v=1765418836","variant_ids":[43883268898915]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) Jin Young Choi 番茄兄弟 - 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-CJY14","featured_media":{"alt":null,"id":26493590208611,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e1428e9d4440529845faf77a9dbcd4079a448a1.webp?v=1765418836"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43883268898915,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-CJY14","requires_shipping":true,"taxable":true,"featured_image":{"id":34931216023651,"product_id":7937634664547,"position":13,"created_at":"2025-12-11T10:07:14+08:00","updated_at":"2025-12-11T10:07:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e1428e9d4440529845faf77a9dbcd4079a448a1.webp?v=1765418836","variant_ids":[43883268898915]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) Jin Young Choi 番茄兄弟 - 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-CJY14","featured_media":{"alt":null,"id":26493590208611,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e1428e9d4440529845faf77a9dbcd4079a448a1.webp?v=1765418836"}},"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: "停產"
}