$product = {"id":7876059005027,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 好運發生","handle":"iphone-14-pro-mod-nx-magsafe-printable-ea109","description":null,"published_at":"2025-09-04T10:09:06+08:00","created_at":"2025-09-03T11:49:43+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-songsongmeow","device-iPhone 14 Pro","merge","reseller-songsongmeow"],"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":43675207467107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-EA109","requires_shipping":true,"taxable":true,"featured_image":{"id":34416207626339,"product_id":7876059005027,"position":12,"created_at":"2025-09-03T11:49:56+08:00","updated_at":"2025-09-03T11:49:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b58ed8d16646602e111084bfb5ae89385c4feba6.webp?v=1756871398","variant_ids":[43675207467107]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 好運發生 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-EA109","featured_media":{"alt":null,"id":25988482400355,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b58ed8d16646602e111084bfb5ae89385c4feba6.webp?v=1756871398"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675207630947,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-EA109","requires_shipping":true,"taxable":true,"featured_image":{"id":34416206119011,"product_id":7876059005027,"position":4,"created_at":"2025-09-03T11:49:49+08:00","updated_at":"2025-09-03T11:49:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a059548c50ef1d926e734da89c9ad8c16de1ca6b.webp?v=1756871391","variant_ids":[43675207630947]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 好運發生 - 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":"MPB01262J5-EA109","featured_media":{"alt":null,"id":25988480893027,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a059548c50ef1d926e734da89c9ad8c16de1ca6b.webp?v=1756871391"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675207729251,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-EA109","requires_shipping":true,"taxable":true,"featured_image":{"id":34416207429731,"product_id":7876059005027,"position":11,"created_at":"2025-09-03T11:49:55+08:00","updated_at":"2025-09-03T11:49:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c079ff1dafeb6771834ee4d912f83b7248f4ca08.webp?v=1756871397","variant_ids":[43675207729251]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 好運發生 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-EA109","featured_media":{"alt":null,"id":25988482236515,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c079ff1dafeb6771834ee4d912f83b7248f4ca08.webp?v=1756871397"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/535f8ddbec46ebe2a81213c76e06135cb7903fca.webp?v=1756871389","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bb842ca3a68dc12436d5d07e5fd00f4f98f6346.webp?v=1756871390","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5756e8aa17c58a65c2fb821112bf3f7aa2a2baea.webp?v=1756871390","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a059548c50ef1d926e734da89c9ad8c16de1ca6b.webp?v=1756871391","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d6fffb79ddf8271b71333cd158f9fd3255e8bde.webp?v=1756871392","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fc86eb738b05927e1fde7ef8384cbef7581e663.webp?v=1756871393","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac463108cb54d56e506c89721e4acb99385542b8.webp?v=1756871394","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef2dffaa7474e7f10f5e499ef35fa8ff2265a497.webp?v=1756871395","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6ba1a5ef849a7a2c9f3de5d6bb15fc80cb9095f.webp?v=1756871395","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93cf6b75c0801b5953821202675d9b4551cd147a.webp?v=1756871396","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c079ff1dafeb6771834ee4d912f83b7248f4ca08.webp?v=1756871397","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b58ed8d16646602e111084bfb5ae89385c4feba6.webp?v=1756871398"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/535f8ddbec46ebe2a81213c76e06135cb7903fca.webp?v=1756871389","options":["color"],"media":[{"alt":null,"id":25988480368739,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/535f8ddbec46ebe2a81213c76e06135cb7903fca.webp?v=1756871389"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/535f8ddbec46ebe2a81213c76e06135cb7903fca.webp?v=1756871389","width":2000},{"alt":null,"id":25988480467043,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bb842ca3a68dc12436d5d07e5fd00f4f98f6346.webp?v=1756871390"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6bb842ca3a68dc12436d5d07e5fd00f4f98f6346.webp?v=1756871390","width":2000},{"alt":null,"id":25988480630883,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5756e8aa17c58a65c2fb821112bf3f7aa2a2baea.webp?v=1756871390"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5756e8aa17c58a65c2fb821112bf3f7aa2a2baea.webp?v=1756871390","width":2000},{"alt":null,"id":25988480893027,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a059548c50ef1d926e734da89c9ad8c16de1ca6b.webp?v=1756871391"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a059548c50ef1d926e734da89c9ad8c16de1ca6b.webp?v=1756871391","width":2000},{"alt":null,"id":25988481056867,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d6fffb79ddf8271b71333cd158f9fd3255e8bde.webp?v=1756871392"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d6fffb79ddf8271b71333cd158f9fd3255e8bde.webp?v=1756871392","width":2000},{"alt":null,"id":25988481220707,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fc86eb738b05927e1fde7ef8384cbef7581e663.webp?v=1756871393"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fc86eb738b05927e1fde7ef8384cbef7581e663.webp?v=1756871393","width":2000},{"alt":null,"id":25988481417315,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac463108cb54d56e506c89721e4acb99385542b8.webp?v=1756871394"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac463108cb54d56e506c89721e4acb99385542b8.webp?v=1756871394","width":2000},{"alt":null,"id":25988481712227,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef2dffaa7474e7f10f5e499ef35fa8ff2265a497.webp?v=1756871395"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef2dffaa7474e7f10f5e499ef35fa8ff2265a497.webp?v=1756871395","width":2000},{"alt":null,"id":25988481908835,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6ba1a5ef849a7a2c9f3de5d6bb15fc80cb9095f.webp?v=1756871395"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6ba1a5ef849a7a2c9f3de5d6bb15fc80cb9095f.webp?v=1756871395","width":2000},{"alt":null,"id":25988482072675,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93cf6b75c0801b5953821202675d9b4551cd147a.webp?v=1756871396"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93cf6b75c0801b5953821202675d9b4551cd147a.webp?v=1756871396","width":2000},{"alt":null,"id":25988482236515,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c079ff1dafeb6771834ee4d912f83b7248f4ca08.webp?v=1756871397"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c079ff1dafeb6771834ee4d912f83b7248f4ca08.webp?v=1756871397","width":2000},{"alt":null,"id":25988482400355,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b58ed8d16646602e111084bfb5ae89385c4feba6.webp?v=1756871398"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b58ed8d16646602e111084bfb5ae89385c4feba6.webp?v=1756871398","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43675207467107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-EA109","requires_shipping":true,"taxable":true,"featured_image":{"id":34416207626339,"product_id":7876059005027,"position":12,"created_at":"2025-09-03T11:49:56+08:00","updated_at":"2025-09-03T11:49:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b58ed8d16646602e111084bfb5ae89385c4feba6.webp?v=1756871398","variant_ids":[43675207467107]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 好運發生 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-EA109","featured_media":{"alt":null,"id":25988482400355,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b58ed8d16646602e111084bfb5ae89385c4feba6.webp?v=1756871398"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675207630947,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-EA109","requires_shipping":true,"taxable":true,"featured_image":{"id":34416206119011,"product_id":7876059005027,"position":4,"created_at":"2025-09-03T11:49:49+08:00","updated_at":"2025-09-03T11:49:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a059548c50ef1d926e734da89c9ad8c16de1ca6b.webp?v=1756871391","variant_ids":[43675207630947]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 好運發生 - 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":"MPB01262J5-EA109","featured_media":{"alt":null,"id":25988480893027,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a059548c50ef1d926e734da89c9ad8c16de1ca6b.webp?v=1756871391"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675207729251,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-EA109","requires_shipping":true,"taxable":true,"featured_image":{"id":34416207429731,"product_id":7876059005027,"position":11,"created_at":"2025-09-03T11:49:55+08:00","updated_at":"2025-09-03T11:49:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c079ff1dafeb6771834ee4d912f83b7248f4ca08.webp?v=1756871397","variant_ids":[43675207729251]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 好運發生 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-EA109","featured_media":{"alt":null,"id":25988482236515,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c079ff1dafeb6771834ee4d912f83b7248f4ca08.webp?v=1756871397"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43675207467107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-EA109","requires_shipping":true,"taxable":true,"featured_image":{"id":34416207626339,"product_id":7876059005027,"position":12,"created_at":"2025-09-03T11:49:56+08:00","updated_at":"2025-09-03T11:49:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b58ed8d16646602e111084bfb5ae89385c4feba6.webp?v=1756871398","variant_ids":[43675207467107]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 好運發生 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-EA109","featured_media":{"alt":null,"id":25988482400355,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b58ed8d16646602e111084bfb5ae89385c4feba6.webp?v=1756871398"}},"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: "停產"
}