$product = {"id":7903455772771,"title":"iPhone 14 Plus Mod NX 變種吉娃娃 Godgwawa 吉速駕照","handle":"iphone-14-plus-mod-nx-printable-it36","description":null,"published_at":"2025-10-20T09:39:09+08:00","created_at":"2025-10-20T09:31:59+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-godgwawa","device-iPhone 14 Plus","merge","reseller-godgwawa"],"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":43786711105635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34673041834083,"product_id":7903455772771,"position":8,"created_at":"2025-10-20T09:32:06+08:00","updated_at":"2025-10-20T09:32:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15e0a7ea6d8821f0a1c8b844656bef48e108af7c.webp?v=1760923928","variant_ids":[43786711105635]},"available":true,"name":"iPhone 14 Plus Mod NX 變種吉娃娃 Godgwawa 吉速駕照 - 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-IT36","featured_media":{"alt":null,"id":26242300772451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15e0a7ea6d8821f0a1c8b844656bef48e108af7c.webp?v=1760923928"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0e82fa75d0ae1d68a03ca469b1f65b53f13900b.webp?v=1760923923","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a74692b7458b15578afaf7e698a715cc373f941.webp?v=1760923924","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02f7e9f07b192dfd53324d97b5cdcf1271e11ceb.webp?v=1760923924","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b965d23e136d7e5e04d1fc9e2c3f647ac7b803d.webp?v=1760923925","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85aac5da60c0034a66db7ea0f509c2bcfb03031c.webp?v=1760923926","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef17f8cbf1ac1baaa1539f84373616fe809a2a91.webp?v=1760923927","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1324fa3f5394f44a405ebdd94b49c97900dfe101.webp?v=1760923927","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15e0a7ea6d8821f0a1c8b844656bef48e108af7c.webp?v=1760923928","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8d5b411925e25e9222d34e992fb86afc6339508.webp?v=1760923929","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b7b77fdb79aa1020f5264c08afc8280618123d.webp?v=1760923929","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a62ae21ee2ae1ffb3a2bf4afaefb0ca949e799e3.webp?v=1760923930","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5689ff5338c49ce6a4a1a7ca28bf44f0069efff7.webp?v=1760923931","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abf46d524b7cf4c57edff4562eea31dfd8e0a3a4.webp?v=1760923931"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0e82fa75d0ae1d68a03ca469b1f65b53f13900b.webp?v=1760923923","options":["color"],"media":[{"alt":null,"id":26242297102435,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0e82fa75d0ae1d68a03ca469b1f65b53f13900b.webp?v=1760923923"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0e82fa75d0ae1d68a03ca469b1f65b53f13900b.webp?v=1760923923","width":2000},{"alt":null,"id":26242297987171,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a74692b7458b15578afaf7e698a715cc373f941.webp?v=1760923924"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a74692b7458b15578afaf7e698a715cc373f941.webp?v=1760923924","width":2000},{"alt":null,"id":26242298904675,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02f7e9f07b192dfd53324d97b5cdcf1271e11ceb.webp?v=1760923924"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/02f7e9f07b192dfd53324d97b5cdcf1271e11ceb.webp?v=1760923924","width":2000},{"alt":null,"id":26242299265123,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b965d23e136d7e5e04d1fc9e2c3f647ac7b803d.webp?v=1760923925"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b965d23e136d7e5e04d1fc9e2c3f647ac7b803d.webp?v=1760923925","width":2000},{"alt":null,"id":26242300182627,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85aac5da60c0034a66db7ea0f509c2bcfb03031c.webp?v=1760923926"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/85aac5da60c0034a66db7ea0f509c2bcfb03031c.webp?v=1760923926","width":2000},{"alt":null,"id":26242300379235,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef17f8cbf1ac1baaa1539f84373616fe809a2a91.webp?v=1760923927"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef17f8cbf1ac1baaa1539f84373616fe809a2a91.webp?v=1760923927","width":2000},{"alt":null,"id":26242300608611,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1324fa3f5394f44a405ebdd94b49c97900dfe101.webp?v=1760923927"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1324fa3f5394f44a405ebdd94b49c97900dfe101.webp?v=1760923927","width":2000},{"alt":null,"id":26242300772451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15e0a7ea6d8821f0a1c8b844656bef48e108af7c.webp?v=1760923928"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15e0a7ea6d8821f0a1c8b844656bef48e108af7c.webp?v=1760923928","width":2000},{"alt":null,"id":26242300969059,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8d5b411925e25e9222d34e992fb86afc6339508.webp?v=1760923929"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8d5b411925e25e9222d34e992fb86afc6339508.webp?v=1760923929","width":2000},{"alt":null,"id":26242301231203,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b7b77fdb79aa1020f5264c08afc8280618123d.webp?v=1760923929"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b7b77fdb79aa1020f5264c08afc8280618123d.webp?v=1760923929","width":2000},{"alt":null,"id":26242301427811,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a62ae21ee2ae1ffb3a2bf4afaefb0ca949e799e3.webp?v=1760923930"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a62ae21ee2ae1ffb3a2bf4afaefb0ca949e799e3.webp?v=1760923930","width":2000},{"alt":null,"id":26242301624419,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5689ff5338c49ce6a4a1a7ca28bf44f0069efff7.webp?v=1760923931"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5689ff5338c49ce6a4a1a7ca28bf44f0069efff7.webp?v=1760923931","width":2000},{"alt":null,"id":26242301984867,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abf46d524b7cf4c57edff4562eea31dfd8e0a3a4.webp?v=1760923931"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/abf46d524b7cf4c57edff4562eea31dfd8e0a3a4.webp?v=1760923931","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43786711105635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34673041834083,"product_id":7903455772771,"position":8,"created_at":"2025-10-20T09:32:06+08:00","updated_at":"2025-10-20T09:32:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15e0a7ea6d8821f0a1c8b844656bef48e108af7c.webp?v=1760923928","variant_ids":[43786711105635]},"available":true,"name":"iPhone 14 Plus Mod NX 變種吉娃娃 Godgwawa 吉速駕照 - 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-IT36","featured_media":{"alt":null,"id":26242300772451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15e0a7ea6d8821f0a1c8b844656bef48e108af7c.webp?v=1760923928"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43786711105635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-IT36","requires_shipping":true,"taxable":true,"featured_image":{"id":34673041834083,"product_id":7903455772771,"position":8,"created_at":"2025-10-20T09:32:06+08:00","updated_at":"2025-10-20T09:32:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15e0a7ea6d8821f0a1c8b844656bef48e108af7c.webp?v=1760923928","variant_ids":[43786711105635]},"available":true,"name":"iPhone 14 Plus Mod NX 變種吉娃娃 Godgwawa 吉速駕照 - 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-IT36","featured_media":{"alt":null,"id":26242300772451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15e0a7ea6d8821f0a1c8b844656bef48e108af7c.webp?v=1760923928"}},"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: "停產"
}