$product = {"id":7876054155363,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) 爽爽貓 by SECOND 愛了愛了","handle":"iphone-14-pro-mod-nx-magsafe-printable-ea107","description":null,"published_at":"2025-09-04T10:11:13+08:00","created_at":"2025-09-03T11:48:26+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":43675167096931,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-EA107","requires_shipping":true,"taxable":true,"featured_image":{"id":34416185802851,"product_id":7876054155363,"position":10,"created_at":"2025-09-03T11:48:37+08:00","updated_at":"2025-09-03T11:48:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f42797222db8ebabef000e49868be1b07a469e.webp?v=1756871319","variant_ids":[43675167096931]},"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-EA107","featured_media":{"alt":null,"id":25988460380259,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f42797222db8ebabef000e49868be1b07a469e.webp?v=1756871319"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675167260771,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-EA107","requires_shipping":true,"taxable":true,"featured_image":{"id":34416184557667,"product_id":7876054155363,"position":6,"created_at":"2025-09-03T11:48:34+08:00","updated_at":"2025-09-03T11:48:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b777520267431ab1fd137348960c10414dd01f.webp?v=1756871316","variant_ids":[43675167260771]},"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-EA107","featured_media":{"alt":null,"id":25988459102307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b777520267431ab1fd137348960c10414dd01f.webp?v=1756871316"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675167359075,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-EA107","requires_shipping":true,"taxable":true,"featured_image":{"id":34416184098915,"product_id":7876054155363,"position":5,"created_at":"2025-09-03T11:48:33+08:00","updated_at":"2025-09-03T11:48:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35168c19680737f8394d04cdf192c1520a262f49.webp?v=1756871315","variant_ids":[43675167359075]},"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-EA107","featured_media":{"alt":null,"id":25988458774627,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35168c19680737f8394d04cdf192c1520a262f49.webp?v=1756871315"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67c2634a35c669f5d01f8a60c4b45ba00f5f5e62.webp?v=1756871313","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02ef4a136e51c7a9226442da7f60fdf5a72afe07.webp?v=1756871313","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bda7691672469c8231b83b0a65442a73962fd9d2.webp?v=1756871314","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f63da69208df936cf7791262d2df225a481e08f8.webp?v=1756871315","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35168c19680737f8394d04cdf192c1520a262f49.webp?v=1756871315","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b777520267431ab1fd137348960c10414dd01f.webp?v=1756871316","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3758289c17dd1d87f6db9a3161c9895415ebb82.webp?v=1756871317","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8fbb04de4db16baf32b7531eb59790be5b51035.webp?v=1756871318","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b999a8126d19c87ec1e7bdb68c9d3e8acfef82d2.webp?v=1756871319","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f42797222db8ebabef000e49868be1b07a469e.webp?v=1756871319","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deaff0be259bf699ac6bf5270e86bdf9360c190a.webp?v=1756871320","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8308bfba2f48b1d612c758ae94f95f9a1384530.webp?v=1756871321"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67c2634a35c669f5d01f8a60c4b45ba00f5f5e62.webp?v=1756871313","options":["color"],"media":[{"alt":null,"id":25988457693283,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67c2634a35c669f5d01f8a60c4b45ba00f5f5e62.webp?v=1756871313"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67c2634a35c669f5d01f8a60c4b45ba00f5f5e62.webp?v=1756871313","width":2000},{"alt":null,"id":25988457955427,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02ef4a136e51c7a9226442da7f60fdf5a72afe07.webp?v=1756871313"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02ef4a136e51c7a9226442da7f60fdf5a72afe07.webp?v=1756871313","width":2000},{"alt":null,"id":25988458315875,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bda7691672469c8231b83b0a65442a73962fd9d2.webp?v=1756871314"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bda7691672469c8231b83b0a65442a73962fd9d2.webp?v=1756871314","width":2000},{"alt":null,"id":25988458479715,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f63da69208df936cf7791262d2df225a481e08f8.webp?v=1756871315"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f63da69208df936cf7791262d2df225a481e08f8.webp?v=1756871315","width":2000},{"alt":null,"id":25988458774627,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35168c19680737f8394d04cdf192c1520a262f49.webp?v=1756871315"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35168c19680737f8394d04cdf192c1520a262f49.webp?v=1756871315","width":2000},{"alt":null,"id":25988459102307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b777520267431ab1fd137348960c10414dd01f.webp?v=1756871316"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b777520267431ab1fd137348960c10414dd01f.webp?v=1756871316","width":2000},{"alt":null,"id":25988459528291,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3758289c17dd1d87f6db9a3161c9895415ebb82.webp?v=1756871317"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3758289c17dd1d87f6db9a3161c9895415ebb82.webp?v=1756871317","width":2000},{"alt":null,"id":25988459823203,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8fbb04de4db16baf32b7531eb59790be5b51035.webp?v=1756871318"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8fbb04de4db16baf32b7531eb59790be5b51035.webp?v=1756871318","width":2000},{"alt":null,"id":25988460150883,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b999a8126d19c87ec1e7bdb68c9d3e8acfef82d2.webp?v=1756871319"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b999a8126d19c87ec1e7bdb68c9d3e8acfef82d2.webp?v=1756871319","width":2000},{"alt":null,"id":25988460380259,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f42797222db8ebabef000e49868be1b07a469e.webp?v=1756871319"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f42797222db8ebabef000e49868be1b07a469e.webp?v=1756871319","width":2000},{"alt":null,"id":25988460806243,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deaff0be259bf699ac6bf5270e86bdf9360c190a.webp?v=1756871320"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deaff0be259bf699ac6bf5270e86bdf9360c190a.webp?v=1756871320","width":2000},{"alt":null,"id":25988461068387,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8308bfba2f48b1d612c758ae94f95f9a1384530.webp?v=1756871321"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8308bfba2f48b1d612c758ae94f95f9a1384530.webp?v=1756871321","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43675167096931,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-EA107","requires_shipping":true,"taxable":true,"featured_image":{"id":34416185802851,"product_id":7876054155363,"position":10,"created_at":"2025-09-03T11:48:37+08:00","updated_at":"2025-09-03T11:48:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f42797222db8ebabef000e49868be1b07a469e.webp?v=1756871319","variant_ids":[43675167096931]},"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-EA107","featured_media":{"alt":null,"id":25988460380259,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f42797222db8ebabef000e49868be1b07a469e.webp?v=1756871319"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675167260771,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-EA107","requires_shipping":true,"taxable":true,"featured_image":{"id":34416184557667,"product_id":7876054155363,"position":6,"created_at":"2025-09-03T11:48:34+08:00","updated_at":"2025-09-03T11:48:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b777520267431ab1fd137348960c10414dd01f.webp?v=1756871316","variant_ids":[43675167260771]},"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-EA107","featured_media":{"alt":null,"id":25988459102307,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8b777520267431ab1fd137348960c10414dd01f.webp?v=1756871316"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675167359075,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-EA107","requires_shipping":true,"taxable":true,"featured_image":{"id":34416184098915,"product_id":7876054155363,"position":5,"created_at":"2025-09-03T11:48:33+08:00","updated_at":"2025-09-03T11:48:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35168c19680737f8394d04cdf192c1520a262f49.webp?v=1756871315","variant_ids":[43675167359075]},"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-EA107","featured_media":{"alt":null,"id":25988458774627,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35168c19680737f8394d04cdf192c1520a262f49.webp?v=1756871315"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43675167096931,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-EA107","requires_shipping":true,"taxable":true,"featured_image":{"id":34416185802851,"product_id":7876054155363,"position":10,"created_at":"2025-09-03T11:48:37+08:00","updated_at":"2025-09-03T11:48:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f42797222db8ebabef000e49868be1b07a469e.webp?v=1756871319","variant_ids":[43675167096931]},"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-EA107","featured_media":{"alt":null,"id":25988460380259,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3f42797222db8ebabef000e49868be1b07a469e.webp?v=1756871319"}},"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: "停產"
}