$product = {"id":7942337462371,"title":"iPhone 7 \/ 8 \/ SE \/ SE2 Mod NX Seungyoun Kim 綠衣小狗","handle":"iphone-8-mod-nx-seu09","description":null,"published_at":"2025-12-23T09:21:04+08:00","created_at":"2025-12-22T18:10:44+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-seungyounkim","device-iPhone 8","merge","reseller-seungyounkim"],"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":43904762773603,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0105424-SEU09","requires_shipping":true,"taxable":true,"featured_image":{"id":36339297452131,"product_id":7942337462371,"position":9,"created_at":"2026-07-22T00:25:11+08:00","updated_at":"2026-07-22T00:25:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f96bd712d3035d5c79e9ae53c2f7e8d9c97465ab_ebeda7d4-63e2-4a71-9699-f10c70dddba4.webp?v=1784651113","variant_ids":[43904762773603]},"available":true,"name":"iPhone 7 \/ 8 \/ SE \/ SE2 Mod NX Seungyoun Kim 綠衣小狗 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0105424-SEU09","featured_media":{"alt":null,"id":27843172696163,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f96bd712d3035d5c79e9ae53c2f7e8d9c97465ab_ebeda7d4-63e2-4a71-9699-f10c70dddba4.webp?v=1784651113"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eccce37f04eda21a4b9a6f6cd287897f5adbaa29.webp?v=1766398274","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f4b4cdd70bc12eed8a4fec30af4cc82d9d14fb4.webp?v=1766398274","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8ac412a4e820bef5deba6b72c939013b7030800.webp?v=1766398274","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/267f0338b42dd27f96109a92337b2e31c2375b34.webp?v=1766398275","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/713f4480ab3542bae180ea99fcb46c211073c013.webp?v=1766398275","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e96c8bc34b8b3fba1cb8da23f0f5fbf9311125be.webp?v=1766398276","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9dfa21a613cb8ffc44b2fec8a83cb6ecb80a1ef3.webp?v=1766398276","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f96bd712d3035d5c79e9ae53c2f7e8d9c97465ab.webp?v=1766398277","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f96bd712d3035d5c79e9ae53c2f7e8d9c97465ab_ebeda7d4-63e2-4a71-9699-f10c70dddba4.webp?v=1784651113"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eccce37f04eda21a4b9a6f6cd287897f5adbaa29.webp?v=1766398274","options":["color"],"media":[{"alt":null,"id":26549095694435,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eccce37f04eda21a4b9a6f6cd287897f5adbaa29.webp?v=1766398274"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eccce37f04eda21a4b9a6f6cd287897f5adbaa29.webp?v=1766398274","width":2000},{"alt":null,"id":26549096087651,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f4b4cdd70bc12eed8a4fec30af4cc82d9d14fb4.webp?v=1766398274"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f4b4cdd70bc12eed8a4fec30af4cc82d9d14fb4.webp?v=1766398274","width":2000},{"alt":null,"id":26549096611939,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8ac412a4e820bef5deba6b72c939013b7030800.webp?v=1766398274"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8ac412a4e820bef5deba6b72c939013b7030800.webp?v=1766398274","width":2000},{"alt":null,"id":26549097136227,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/267f0338b42dd27f96109a92337b2e31c2375b34.webp?v=1766398275"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/267f0338b42dd27f96109a92337b2e31c2375b34.webp?v=1766398275","width":2000},{"alt":null,"id":26549097726051,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/713f4480ab3542bae180ea99fcb46c211073c013.webp?v=1766398275"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/713f4480ab3542bae180ea99fcb46c211073c013.webp?v=1766398275","width":2000},{"alt":null,"id":26549098217571,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e96c8bc34b8b3fba1cb8da23f0f5fbf9311125be.webp?v=1766398276"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e96c8bc34b8b3fba1cb8da23f0f5fbf9311125be.webp?v=1766398276","width":2000},{"alt":null,"id":26549098676323,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9dfa21a613cb8ffc44b2fec8a83cb6ecb80a1ef3.webp?v=1766398276"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9dfa21a613cb8ffc44b2fec8a83cb6ecb80a1ef3.webp?v=1766398276","width":2000},{"alt":null,"id":26549099298915,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f96bd712d3035d5c79e9ae53c2f7e8d9c97465ab.webp?v=1766398277"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f96bd712d3035d5c79e9ae53c2f7e8d9c97465ab.webp?v=1766398277","width":2000},{"alt":null,"id":27843172696163,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f96bd712d3035d5c79e9ae53c2f7e8d9c97465ab_ebeda7d4-63e2-4a71-9699-f10c70dddba4.webp?v=1784651113"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f96bd712d3035d5c79e9ae53c2f7e8d9c97465ab_ebeda7d4-63e2-4a71-9699-f10c70dddba4.webp?v=1784651113","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43904762773603,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0105424-SEU09","requires_shipping":true,"taxable":true,"featured_image":{"id":36339297452131,"product_id":7942337462371,"position":9,"created_at":"2026-07-22T00:25:11+08:00","updated_at":"2026-07-22T00:25:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f96bd712d3035d5c79e9ae53c2f7e8d9c97465ab_ebeda7d4-63e2-4a71-9699-f10c70dddba4.webp?v=1784651113","variant_ids":[43904762773603]},"available":true,"name":"iPhone 7 \/ 8 \/ SE \/ SE2 Mod NX Seungyoun Kim 綠衣小狗 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0105424-SEU09","featured_media":{"alt":null,"id":27843172696163,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f96bd712d3035d5c79e9ae53c2f7e8d9c97465ab_ebeda7d4-63e2-4a71-9699-f10c70dddba4.webp?v=1784651113"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43904762773603,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0105424-SEU09","requires_shipping":true,"taxable":true,"featured_image":{"id":36339297452131,"product_id":7942337462371,"position":9,"created_at":"2026-07-22T00:25:11+08:00","updated_at":"2026-07-22T00:25:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f96bd712d3035d5c79e9ae53c2f7e8d9c97465ab_ebeda7d4-63e2-4a71-9699-f10c70dddba4.webp?v=1784651113","variant_ids":[43904762773603]},"available":true,"name":"iPhone 7 \/ 8 \/ SE \/ SE2 Mod NX Seungyoun Kim 綠衣小狗 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0105424-SEU09","featured_media":{"alt":null,"id":27843172696163,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f96bd712d3035d5c79e9ae53c2f7e8d9c97465ab_ebeda7d4-63e2-4a71-9699-f10c70dddba4.webp?v=1784651113"}},"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: "停產"
}