$product = {"id":7921927487587,"title":"iPhone 14 Plus Mod NX Incrediville 怪奇事物所 阿媽家的吻","handle":"iphone-14-plus-mod-nx-hd74","description":null,"published_at":"2025-11-13T09:46:18+08:00","created_at":"2025-11-13T09:25:20+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-incrediville","device-iPhone 14 Plus","merge","reseller-incrediville"],"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":43834562838627,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-HD74","requires_shipping":true,"taxable":true,"featured_image":{"id":34793876521059,"product_id":7921927487587,"position":1,"created_at":"2025-11-13T09:25:25+08:00","updated_at":"2025-11-13T09:25:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b0ac660f25cb043c63b9d092887523915a76df4.webp?v=1762997127","variant_ids":[43834562838627]},"available":true,"name":"iPhone 14 Plus Mod NX Incrediville 怪奇事物所 阿媽家的吻 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-HD74","featured_media":{"alt":null,"id":26359296819299,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b0ac660f25cb043c63b9d092887523915a76df4.webp?v=1762997127"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b0ac660f25cb043c63b9d092887523915a76df4.webp?v=1762997127","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/289aba89b6aa7f8c21ec7b8e6cec4515417f00a7.webp?v=1762997127","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5cc177009d11ca54fe7c256eafd42dd4759122c.webp?v=1762997128","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/963d863cbaffd9b14cd2b6ad11af23f76f6935ef.webp?v=1762997129","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/110baa0375b2461d87331802f6fb2e1aebff2a2e.webp?v=1762997129","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11d039d4903bc63ec965260cb09c75271e230452.webp?v=1762997130","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a7adb18b7864603c54ef4358ea6b4de6f470566.webp?v=1762997131","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b66c78aa81b695690288107cece58e3feca98bc3.webp?v=1762997132","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9f5ff283ea6cf1c9513a8584a9a411ebe4c5e74.webp?v=1762997132","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58626d05c4b0c82cd39a42f376d4738f392c35b4.webp?v=1762997133","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a084f52151dadc3eeb90324f203fa4981f4cb2e5.webp?v=1762997133","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d529c2b8f4bb1009e5c544dea490315d11a06c04.webp?v=1762997134","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08820384ae9b6d2b2a2f755fa8488f510df5c521.webp?v=1762997135"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b0ac660f25cb043c63b9d092887523915a76df4.webp?v=1762997127","options":["color"],"media":[{"alt":null,"id":26359296819299,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b0ac660f25cb043c63b9d092887523915a76df4.webp?v=1762997127"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b0ac660f25cb043c63b9d092887523915a76df4.webp?v=1762997127","width":2000},{"alt":null,"id":26359296950371,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/289aba89b6aa7f8c21ec7b8e6cec4515417f00a7.webp?v=1762997127"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/289aba89b6aa7f8c21ec7b8e6cec4515417f00a7.webp?v=1762997127","width":2000},{"alt":null,"id":26359297376355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5cc177009d11ca54fe7c256eafd42dd4759122c.webp?v=1762997128"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5cc177009d11ca54fe7c256eafd42dd4759122c.webp?v=1762997128","width":2000},{"alt":null,"id":26359297671267,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/963d863cbaffd9b14cd2b6ad11af23f76f6935ef.webp?v=1762997129"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/963d863cbaffd9b14cd2b6ad11af23f76f6935ef.webp?v=1762997129","width":2000},{"alt":null,"id":26359297933411,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/110baa0375b2461d87331802f6fb2e1aebff2a2e.webp?v=1762997129"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/110baa0375b2461d87331802f6fb2e1aebff2a2e.webp?v=1762997129","width":2000},{"alt":null,"id":26359298097251,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11d039d4903bc63ec965260cb09c75271e230452.webp?v=1762997130"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11d039d4903bc63ec965260cb09c75271e230452.webp?v=1762997130","width":2000},{"alt":null,"id":26359298424931,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a7adb18b7864603c54ef4358ea6b4de6f470566.webp?v=1762997131"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a7adb18b7864603c54ef4358ea6b4de6f470566.webp?v=1762997131","width":2000},{"alt":null,"id":26359298818147,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b66c78aa81b695690288107cece58e3feca98bc3.webp?v=1762997132"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b66c78aa81b695690288107cece58e3feca98bc3.webp?v=1762997132","width":2000},{"alt":null,"id":26359299276899,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9f5ff283ea6cf1c9513a8584a9a411ebe4c5e74.webp?v=1762997132"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9f5ff283ea6cf1c9513a8584a9a411ebe4c5e74.webp?v=1762997132","width":2000},{"alt":null,"id":26359299506275,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58626d05c4b0c82cd39a42f376d4738f392c35b4.webp?v=1762997133"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58626d05c4b0c82cd39a42f376d4738f392c35b4.webp?v=1762997133","width":2000},{"alt":null,"id":26359299735651,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a084f52151dadc3eeb90324f203fa4981f4cb2e5.webp?v=1762997133"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a084f52151dadc3eeb90324f203fa4981f4cb2e5.webp?v=1762997133","width":2000},{"alt":null,"id":26359299899491,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d529c2b8f4bb1009e5c544dea490315d11a06c04.webp?v=1762997134"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d529c2b8f4bb1009e5c544dea490315d11a06c04.webp?v=1762997134","width":2000},{"alt":null,"id":26359300096099,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08820384ae9b6d2b2a2f755fa8488f510df5c521.webp?v=1762997135"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08820384ae9b6d2b2a2f755fa8488f510df5c521.webp?v=1762997135","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43834562838627,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-HD74","requires_shipping":true,"taxable":true,"featured_image":{"id":34793876521059,"product_id":7921927487587,"position":1,"created_at":"2025-11-13T09:25:25+08:00","updated_at":"2025-11-13T09:25:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b0ac660f25cb043c63b9d092887523915a76df4.webp?v=1762997127","variant_ids":[43834562838627]},"available":true,"name":"iPhone 14 Plus Mod NX Incrediville 怪奇事物所 阿媽家的吻 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-HD74","featured_media":{"alt":null,"id":26359296819299,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b0ac660f25cb043c63b9d092887523915a76df4.webp?v=1762997127"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43834562838627,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-HD74","requires_shipping":true,"taxable":true,"featured_image":{"id":34793876521059,"product_id":7921927487587,"position":1,"created_at":"2025-11-13T09:25:25+08:00","updated_at":"2025-11-13T09:25:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b0ac660f25cb043c63b9d092887523915a76df4.webp?v=1762997127","variant_ids":[43834562838627]},"available":true,"name":"iPhone 14 Plus Mod NX Incrediville 怪奇事物所 阿媽家的吻 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126124-HD74","featured_media":{"alt":null,"id":26359296819299,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b0ac660f25cb043c63b9d092887523915a76df4.webp?v=1762997127"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(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: "停產"
}