$product = {"id":7876122640483,"title":"iPhone 14 Pro Mod NX 爽爽貓 by SECOND 好運集合","handle":"iphone-14-pro-mod-nx-printable-ea110","description":null,"published_at":"2025-09-04T09:38:45+08:00","created_at":"2025-09-03T12:06:58+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":90000,"price_min":90000,"price_max":90000,"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":43675502641251,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416465608803,"product_id":7876122640483,"position":4,"created_at":"2025-09-03T12:07:05+08:00","updated_at":"2025-09-03T12:07:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e94be12bffba2d50b13d72875f3ca344fbe3146a.webp?v=1756872427","variant_ids":[43675502641251]},"available":true,"name":"iPhone 14 Pro Mod NX 爽爽貓 by SECOND 好運集合 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-EA110","featured_media":{"alt":null,"id":25988739891299,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e94be12bffba2d50b13d72875f3ca344fbe3146a.webp?v=1756872427"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675502805091,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416466624611,"product_id":7876122640483,"position":9,"created_at":"2025-09-03T12:07:08+08:00","updated_at":"2025-09-03T12:07:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f226e6d96f40c60da8d72cc0502aecfad51cece.webp?v=1756872431","variant_ids":[43675502805091]},"available":true,"name":"iPhone 14 Pro Mod NX 爽爽貓 by SECOND 好運集合 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-EA110","featured_media":{"alt":null,"id":25988740972643,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f226e6d96f40c60da8d72cc0502aecfad51cece.webp?v=1756872431"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675502903395,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416466853987,"product_id":7876122640483,"position":11,"created_at":"2025-09-03T12:07:10+08:00","updated_at":"2025-09-03T12:07:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b411c5af70ea25190ac206193fabf98addc3c7c4.webp?v=1756872432","variant_ids":[43675502903395]},"available":true,"name":"iPhone 14 Pro Mod NX 爽爽貓 by SECOND 好運集合 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-EA110","featured_media":{"alt":null,"id":25988741169251,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b411c5af70ea25190ac206193fabf98addc3c7c4.webp?v=1756872432"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f035b0ace25c8a7ff05b93b3cd9bb724430600e.webp?v=1756872425","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afcd2d86f0ba38c8ebbe5f6014f22ad1355b769f.webp?v=1756872425","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f367152ea598eb0ced81d89e25f000b313088d14.webp?v=1756872426","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e94be12bffba2d50b13d72875f3ca344fbe3146a.webp?v=1756872427","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6421d7b9b62b4f2454a5f78ae2019a0f739f7c17.webp?v=1756872427","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f93c9e6fd00d846602518fe15504b8d574c4d80d.webp?v=1756872428","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31101cb3e2e85d398326cbd0ce1ae4979cb48c48.webp?v=1756872429","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64a408084e2ddc06a711b6670f449b9703ffadfb.webp?v=1756872429","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f226e6d96f40c60da8d72cc0502aecfad51cece.webp?v=1756872431","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb5b2606110a54bd9d0cc5c9aa33158247046ef7.webp?v=1756872431","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b411c5af70ea25190ac206193fabf98addc3c7c4.webp?v=1756872432","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea936ddec585e9d957ab804e9334bc4761e99b09.webp?v=1756872433"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f035b0ace25c8a7ff05b93b3cd9bb724430600e.webp?v=1756872425","options":["color"],"media":[{"alt":null,"id":25988738875491,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f035b0ace25c8a7ff05b93b3cd9bb724430600e.webp?v=1756872425"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f035b0ace25c8a7ff05b93b3cd9bb724430600e.webp?v=1756872425","width":2000},{"alt":null,"id":25988739367011,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afcd2d86f0ba38c8ebbe5f6014f22ad1355b769f.webp?v=1756872425"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/afcd2d86f0ba38c8ebbe5f6014f22ad1355b769f.webp?v=1756872425","width":2000},{"alt":null,"id":25988739629155,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f367152ea598eb0ced81d89e25f000b313088d14.webp?v=1756872426"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f367152ea598eb0ced81d89e25f000b313088d14.webp?v=1756872426","width":2000},{"alt":null,"id":25988739891299,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e94be12bffba2d50b13d72875f3ca344fbe3146a.webp?v=1756872427"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e94be12bffba2d50b13d72875f3ca344fbe3146a.webp?v=1756872427","width":2000},{"alt":null,"id":25988740120675,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6421d7b9b62b4f2454a5f78ae2019a0f739f7c17.webp?v=1756872427"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6421d7b9b62b4f2454a5f78ae2019a0f739f7c17.webp?v=1756872427","width":2000},{"alt":null,"id":25988740415587,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f93c9e6fd00d846602518fe15504b8d574c4d80d.webp?v=1756872428"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f93c9e6fd00d846602518fe15504b8d574c4d80d.webp?v=1756872428","width":2000},{"alt":null,"id":25988740612195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31101cb3e2e85d398326cbd0ce1ae4979cb48c48.webp?v=1756872429"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31101cb3e2e85d398326cbd0ce1ae4979cb48c48.webp?v=1756872429","width":2000},{"alt":null,"id":25988740808803,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64a408084e2ddc06a711b6670f449b9703ffadfb.webp?v=1756872429"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64a408084e2ddc06a711b6670f449b9703ffadfb.webp?v=1756872429","width":2000},{"alt":null,"id":25988740972643,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f226e6d96f40c60da8d72cc0502aecfad51cece.webp?v=1756872431"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f226e6d96f40c60da8d72cc0502aecfad51cece.webp?v=1756872431","width":2000},{"alt":null,"id":25988741070947,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb5b2606110a54bd9d0cc5c9aa33158247046ef7.webp?v=1756872431"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb5b2606110a54bd9d0cc5c9aa33158247046ef7.webp?v=1756872431","width":2000},{"alt":null,"id":25988741169251,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b411c5af70ea25190ac206193fabf98addc3c7c4.webp?v=1756872432"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b411c5af70ea25190ac206193fabf98addc3c7c4.webp?v=1756872432","width":2000},{"alt":null,"id":25988741333091,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea936ddec585e9d957ab804e9334bc4761e99b09.webp?v=1756872433"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea936ddec585e9d957ab804e9334bc4761e99b09.webp?v=1756872433","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43675502641251,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416465608803,"product_id":7876122640483,"position":4,"created_at":"2025-09-03T12:07:05+08:00","updated_at":"2025-09-03T12:07:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e94be12bffba2d50b13d72875f3ca344fbe3146a.webp?v=1756872427","variant_ids":[43675502641251]},"available":true,"name":"iPhone 14 Pro Mod NX 爽爽貓 by SECOND 好運集合 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-EA110","featured_media":{"alt":null,"id":25988739891299,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e94be12bffba2d50b13d72875f3ca344fbe3146a.webp?v=1756872427"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675502805091,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416466624611,"product_id":7876122640483,"position":9,"created_at":"2025-09-03T12:07:08+08:00","updated_at":"2025-09-03T12:07:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f226e6d96f40c60da8d72cc0502aecfad51cece.webp?v=1756872431","variant_ids":[43675502805091]},"available":true,"name":"iPhone 14 Pro Mod NX 爽爽貓 by SECOND 好運集合 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01262J5-EA110","featured_media":{"alt":null,"id":25988740972643,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f226e6d96f40c60da8d72cc0502aecfad51cece.webp?v=1756872431"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675502903395,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416466853987,"product_id":7876122640483,"position":11,"created_at":"2025-09-03T12:07:10+08:00","updated_at":"2025-09-03T12:07:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b411c5af70ea25190ac206193fabf98addc3c7c4.webp?v=1756872432","variant_ids":[43675502903395]},"available":true,"name":"iPhone 14 Pro Mod NX 爽爽貓 by SECOND 好運集合 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126204-EA110","featured_media":{"alt":null,"id":25988741169251,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b411c5af70ea25190ac206193fabf98addc3c7c4.webp?v=1756872432"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43675502641251,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416465608803,"product_id":7876122640483,"position":4,"created_at":"2025-09-03T12:07:05+08:00","updated_at":"2025-09-03T12:07:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e94be12bffba2d50b13d72875f3ca344fbe3146a.webp?v=1756872427","variant_ids":[43675502641251]},"available":true,"name":"iPhone 14 Pro Mod NX 爽爽貓 by SECOND 好運集合 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126224-EA110","featured_media":{"alt":null,"id":25988739891299,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e94be12bffba2d50b13d72875f3ca344fbe3146a.webp?v=1756872427"}},"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: "停產"
}