$product = {"id":7873253900387,"title":"iPhone 14 Pro Mod NX Keigo Cotton Swab","handle":"iphone-14-pro-mod-nx-printable-kei07","description":null,"published_at":"2025-09-01T11:00:25+08:00","created_at":"2025-09-01T09:35:54+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-keigo","device-iPhone 14 Pro","merge","reseller-keigo"],"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":43658490576995,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409844375651,"product_id":7873253900387,"position":6,"created_at":"2025-09-01T09:36:01+08:00","updated_at":"2025-09-01T09:36:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01507be44d66b89c49602d6bfff42210f85cc0d7.webp?v=1756690563","variant_ids":[43658490576995]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Cotton Swab - 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-KEI07","featured_media":{"alt":null,"id":25982159356003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01507be44d66b89c49602d6bfff42210f85cc0d7.webp?v=1756690563"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658490708067,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409843785827,"product_id":7873253900387,"position":3,"created_at":"2025-09-01T09:35:59+08:00","updated_at":"2025-09-01T09:36:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5df99f05dcb648e2da5ef52841f2f3b88e7ffeb0.webp?v=1756690561","variant_ids":[43658490708067]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Cotton Swab - 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-KEI07","featured_media":{"alt":null,"id":25982158766179,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5df99f05dcb648e2da5ef52841f2f3b88e7ffeb0.webp?v=1756690561"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658490773603,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409844179043,"product_id":7873253900387,"position":5,"created_at":"2025-09-01T09:36:00+08:00","updated_at":"2025-09-01T09:36:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85241bfbfb5ef86ca59fcb12e5cfb2fb846925cd.webp?v=1756690562","variant_ids":[43658490773603]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Cotton Swab - 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-KEI07","featured_media":{"alt":null,"id":25982159192163,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85241bfbfb5ef86ca59fcb12e5cfb2fb846925cd.webp?v=1756690562"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2f49f917d1ad0a22ce0b0e0241fc29eb21c7c8e.webp?v=1756690560","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/129c8e1908117470f099824107f792cb01f8f4a9.webp?v=1756690560","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5df99f05dcb648e2da5ef52841f2f3b88e7ffeb0.webp?v=1756690561","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7aeeb69d75b24fca0c260bf1c9f21cefea2c58fc.webp?v=1756690562","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85241bfbfb5ef86ca59fcb12e5cfb2fb846925cd.webp?v=1756690562","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01507be44d66b89c49602d6bfff42210f85cc0d7.webp?v=1756690563","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c329645fe564acf595e2de8c50f6e3f4aba8aa2.webp?v=1756690564","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09e6990d4072bfc94db4f7cd74e485bb41ee61bb.webp?v=1756690564","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d7697a69962b93b1d4e0faacafce1f6c81eabcd.webp?v=1756690565","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b00b978ffbfaf53ff695e0b40cf2d2ea98aa3744.webp?v=1756690566","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73c63c8a1940639300978ce6a71f1591e4058cbb.webp?v=1756690567","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91d6cf2732a0cd64ca11ec1cc6313979bff3d72e.webp?v=1756690568"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2f49f917d1ad0a22ce0b0e0241fc29eb21c7c8e.webp?v=1756690560","options":["color"],"media":[{"alt":null,"id":25982158405731,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2f49f917d1ad0a22ce0b0e0241fc29eb21c7c8e.webp?v=1756690560"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2f49f917d1ad0a22ce0b0e0241fc29eb21c7c8e.webp?v=1756690560","width":2000},{"alt":null,"id":25982158536803,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/129c8e1908117470f099824107f792cb01f8f4a9.webp?v=1756690560"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/129c8e1908117470f099824107f792cb01f8f4a9.webp?v=1756690560","width":2000},{"alt":null,"id":25982158766179,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5df99f05dcb648e2da5ef52841f2f3b88e7ffeb0.webp?v=1756690561"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5df99f05dcb648e2da5ef52841f2f3b88e7ffeb0.webp?v=1756690561","width":2000},{"alt":null,"id":25982158962787,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7aeeb69d75b24fca0c260bf1c9f21cefea2c58fc.webp?v=1756690562"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7aeeb69d75b24fca0c260bf1c9f21cefea2c58fc.webp?v=1756690562","width":2000},{"alt":null,"id":25982159192163,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85241bfbfb5ef86ca59fcb12e5cfb2fb846925cd.webp?v=1756690562"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85241bfbfb5ef86ca59fcb12e5cfb2fb846925cd.webp?v=1756690562","width":2000},{"alt":null,"id":25982159356003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01507be44d66b89c49602d6bfff42210f85cc0d7.webp?v=1756690563"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01507be44d66b89c49602d6bfff42210f85cc0d7.webp?v=1756690563","width":2000},{"alt":null,"id":25982159487075,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c329645fe564acf595e2de8c50f6e3f4aba8aa2.webp?v=1756690564"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c329645fe564acf595e2de8c50f6e3f4aba8aa2.webp?v=1756690564","width":2000},{"alt":null,"id":25982159585379,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09e6990d4072bfc94db4f7cd74e485bb41ee61bb.webp?v=1756690564"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09e6990d4072bfc94db4f7cd74e485bb41ee61bb.webp?v=1756690564","width":2000},{"alt":null,"id":25982159716451,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d7697a69962b93b1d4e0faacafce1f6c81eabcd.webp?v=1756690565"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d7697a69962b93b1d4e0faacafce1f6c81eabcd.webp?v=1756690565","width":2000},{"alt":null,"id":25982159781987,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b00b978ffbfaf53ff695e0b40cf2d2ea98aa3744.webp?v=1756690566"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b00b978ffbfaf53ff695e0b40cf2d2ea98aa3744.webp?v=1756690566","width":2000},{"alt":null,"id":25982159880291,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73c63c8a1940639300978ce6a71f1591e4058cbb.webp?v=1756690567"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73c63c8a1940639300978ce6a71f1591e4058cbb.webp?v=1756690567","width":2000},{"alt":null,"id":25982159978595,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91d6cf2732a0cd64ca11ec1cc6313979bff3d72e.webp?v=1756690568"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91d6cf2732a0cd64ca11ec1cc6313979bff3d72e.webp?v=1756690568","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43658490576995,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409844375651,"product_id":7873253900387,"position":6,"created_at":"2025-09-01T09:36:01+08:00","updated_at":"2025-09-01T09:36:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01507be44d66b89c49602d6bfff42210f85cc0d7.webp?v=1756690563","variant_ids":[43658490576995]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Cotton Swab - 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-KEI07","featured_media":{"alt":null,"id":25982159356003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01507be44d66b89c49602d6bfff42210f85cc0d7.webp?v=1756690563"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658490708067,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126224-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409843785827,"product_id":7873253900387,"position":3,"created_at":"2025-09-01T09:35:59+08:00","updated_at":"2025-09-01T09:36:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5df99f05dcb648e2da5ef52841f2f3b88e7ffeb0.webp?v=1756690561","variant_ids":[43658490708067]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Cotton Swab - 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-KEI07","featured_media":{"alt":null,"id":25982158766179,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5df99f05dcb648e2da5ef52841f2f3b88e7ffeb0.webp?v=1756690561"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43658490773603,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01262J5-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409844179043,"product_id":7873253900387,"position":5,"created_at":"2025-09-01T09:36:00+08:00","updated_at":"2025-09-01T09:36:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85241bfbfb5ef86ca59fcb12e5cfb2fb846925cd.webp?v=1756690562","variant_ids":[43658490773603]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Cotton Swab - 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-KEI07","featured_media":{"alt":null,"id":25982159192163,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85241bfbfb5ef86ca59fcb12e5cfb2fb846925cd.webp?v=1756690562"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43658490576995,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126204-KEI07","requires_shipping":true,"taxable":true,"featured_image":{"id":34409844375651,"product_id":7873253900387,"position":6,"created_at":"2025-09-01T09:36:01+08:00","updated_at":"2025-09-01T09:36:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01507be44d66b89c49602d6bfff42210f85cc0d7.webp?v=1756690563","variant_ids":[43658490576995]},"available":true,"name":"iPhone 14 Pro Mod NX Keigo Cotton Swab - 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-KEI07","featured_media":{"alt":null,"id":25982159356003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01507be44d66b89c49602d6bfff42210f85cc0d7.webp?v=1756690563"}},"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: "停產"
}