$product = {"id":7937663729763,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) Jin Young Choi 雲朵狗狗","handle":"iphone-14-plus-mod-nx-magsafe-cjy08","description":null,"published_at":"2025-12-12T09:31:04+08:00","created_at":"2025-12-11T10:15: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":43883382341731,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-CJY08","requires_shipping":true,"taxable":true,"featured_image":{"id":34931395690595,"product_id":7937663729763,"position":2,"created_at":"2025-12-11T10:15:11+08:00","updated_at":"2025-12-11T10:15:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22c26e8a2125ffc28fad00793013c84a5c17a16e.webp?v=1765419313","variant_ids":[43883382341731]},"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-CJY08","featured_media":{"alt":null,"id":26493769842787,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22c26e8a2125ffc28fad00793013c84a5c17a16e.webp?v=1765419313"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06f2dd2814bb42642d7e218667b5edd422c34eb9.webp?v=1765419312","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22c26e8a2125ffc28fad00793013c84a5c17a16e.webp?v=1765419313","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d39bf7f1f62b148a912e4cb33380e821b39ad31.webp?v=1765419313","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b80d1e6c230ec213c7a35a326d1c45515b1dec.webp?v=1765419314","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd70187c5341b60c7a37fa0a12ee80c6b4870d86.webp?v=1765419314","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e50b9422c5ab5add78805986fb6962c44d17fd7.webp?v=1765419315","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b69cfc7d5904d92aafe21cc19a50de345788b6f1.webp?v=1765419316","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69a052b9fac99ed04233bb18d7046729ad3049a0.webp?v=1765419316","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6306554bff196098e5bfa14bd6bf1eedf5d46e32.webp?v=1765419317","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/911f69eb4c7c4fba62e22534f6cdfd64d70b58b9.webp?v=1765419317","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f32c67956e50e20aff5401ed87f18e6feae9d74.webp?v=1765419318","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8215bf6d80096f63c15107a1781e98f615c4a87b.webp?v=1765419318","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e9049553c35abc062599a350597a4ee45f3aa6e.webp?v=1765419319"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06f2dd2814bb42642d7e218667b5edd422c34eb9.webp?v=1765419312","options":["color"],"media":[{"alt":null,"id":26493769744483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06f2dd2814bb42642d7e218667b5edd422c34eb9.webp?v=1765419312"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/06f2dd2814bb42642d7e218667b5edd422c34eb9.webp?v=1765419312","width":2000},{"alt":null,"id":26493769842787,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22c26e8a2125ffc28fad00793013c84a5c17a16e.webp?v=1765419313"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22c26e8a2125ffc28fad00793013c84a5c17a16e.webp?v=1765419313","width":2000},{"alt":null,"id":26493770039395,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d39bf7f1f62b148a912e4cb33380e821b39ad31.webp?v=1765419313"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d39bf7f1f62b148a912e4cb33380e821b39ad31.webp?v=1765419313","width":2000},{"alt":null,"id":26493770203235,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b80d1e6c230ec213c7a35a326d1c45515b1dec.webp?v=1765419314"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b80d1e6c230ec213c7a35a326d1c45515b1dec.webp?v=1765419314","width":2000},{"alt":null,"id":26493770465379,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd70187c5341b60c7a37fa0a12ee80c6b4870d86.webp?v=1765419314"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd70187c5341b60c7a37fa0a12ee80c6b4870d86.webp?v=1765419314","width":2000},{"alt":null,"id":26493770661987,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e50b9422c5ab5add78805986fb6962c44d17fd7.webp?v=1765419315"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e50b9422c5ab5add78805986fb6962c44d17fd7.webp?v=1765419315","width":2000},{"alt":null,"id":26493771153507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b69cfc7d5904d92aafe21cc19a50de345788b6f1.webp?v=1765419316"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b69cfc7d5904d92aafe21cc19a50de345788b6f1.webp?v=1765419316","width":2000},{"alt":null,"id":26493771448419,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69a052b9fac99ed04233bb18d7046729ad3049a0.webp?v=1765419316"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69a052b9fac99ed04233bb18d7046729ad3049a0.webp?v=1765419316","width":2000},{"alt":null,"id":26493771579491,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6306554bff196098e5bfa14bd6bf1eedf5d46e32.webp?v=1765419317"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6306554bff196098e5bfa14bd6bf1eedf5d46e32.webp?v=1765419317","width":2000},{"alt":null,"id":26493771874403,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/911f69eb4c7c4fba62e22534f6cdfd64d70b58b9.webp?v=1765419317"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/911f69eb4c7c4fba62e22534f6cdfd64d70b58b9.webp?v=1765419317","width":2000},{"alt":null,"id":26493772071011,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f32c67956e50e20aff5401ed87f18e6feae9d74.webp?v=1765419318"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f32c67956e50e20aff5401ed87f18e6feae9d74.webp?v=1765419318","width":2000},{"alt":null,"id":26493772300387,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8215bf6d80096f63c15107a1781e98f615c4a87b.webp?v=1765419318"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8215bf6d80096f63c15107a1781e98f615c4a87b.webp?v=1765419318","width":2000},{"alt":null,"id":26493772529763,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e9049553c35abc062599a350597a4ee45f3aa6e.webp?v=1765419319"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e9049553c35abc062599a350597a4ee45f3aa6e.webp?v=1765419319","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43883382341731,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-CJY08","requires_shipping":true,"taxable":true,"featured_image":{"id":34931395690595,"product_id":7937663729763,"position":2,"created_at":"2025-12-11T10:15:11+08:00","updated_at":"2025-12-11T10:15:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22c26e8a2125ffc28fad00793013c84a5c17a16e.webp?v=1765419313","variant_ids":[43883382341731]},"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-CJY08","featured_media":{"alt":null,"id":26493769842787,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22c26e8a2125ffc28fad00793013c84a5c17a16e.webp?v=1765419313"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43883382341731,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-CJY08","requires_shipping":true,"taxable":true,"featured_image":{"id":34931395690595,"product_id":7937663729763,"position":2,"created_at":"2025-12-11T10:15:11+08:00","updated_at":"2025-12-11T10:15:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22c26e8a2125ffc28fad00793013c84a5c17a16e.webp?v=1765419313","variant_ids":[43883382341731]},"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-CJY08","featured_media":{"alt":null,"id":26493769842787,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22c26e8a2125ffc28fad00793013c84a5c17a16e.webp?v=1765419313"}},"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: "停產"
}