$product = {"id":7903377260643,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 炸吉排","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-it35","description":null,"published_at":"2025-10-20T09:52:12+08:00","created_at":"2025-10-20T09:15:07+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-godgwawa","device-iPhone 13 Pro Max","merge","reseller-godgwawa"],"price":110000,"price_min":110000,"price_max":110000,"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":43786438180963,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-IT35","requires_shipping":true,"taxable":true,"featured_image":{"id":34672605102179,"product_id":7903377260643,"position":1,"created_at":"2025-10-20T09:15:12+08:00","updated_at":"2025-10-20T09:15:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea8916568ead3b2cdb26c94bd7448ae06714b6a7.webp?v=1760922913","variant_ids":[43786438180963]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 炸吉排 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-IT35","featured_media":{"alt":null,"id":26241864007779,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea8916568ead3b2cdb26c94bd7448ae06714b6a7.webp?v=1760922913"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786438213731,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-IT35","requires_shipping":true,"taxable":true,"featured_image":{"id":34672605593699,"product_id":7903377260643,"position":5,"created_at":"2025-10-20T09:15:14+08:00","updated_at":"2025-10-20T09:15:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/893254ace2161c4c07e75c526f5e02607c9afb54.webp?v=1760922916","variant_ids":[43786438213731]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 炸吉排 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-IT35","featured_media":{"alt":null,"id":26241864532067,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/893254ace2161c4c07e75c526f5e02607c9afb54.webp?v=1760922916"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea8916568ead3b2cdb26c94bd7448ae06714b6a7.webp?v=1760922913","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/764cee91d97c4581c1424271fd0a9ac34a81cd9c.webp?v=1760922914","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4efe31704cf108f7e064d69bf3c8d95c9f4b3630.webp?v=1760922915","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/030bb2479cc6c004869383c0a69892b7d0a7b05f.webp?v=1760922916","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/893254ace2161c4c07e75c526f5e02607c9afb54.webp?v=1760922916","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b92488e036921439d383df296107a22bfce64c80.webp?v=1760922917","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/959c85e58bac39e0a61a2f95a4cc5aaeb0d4abcd.webp?v=1760922918","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e5e73ccc905502ff33af2eddd55bae3efb8f3e2.webp?v=1760922918","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c331010467a28321f6499cdce6609ad5ba467f2.webp?v=1760922919","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5a67feb0a0b22877d974619bdae2ec7b7d2b1c2.webp?v=1760922921"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea8916568ead3b2cdb26c94bd7448ae06714b6a7.webp?v=1760922913","options":["color"],"media":[{"alt":null,"id":26241864007779,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea8916568ead3b2cdb26c94bd7448ae06714b6a7.webp?v=1760922913"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea8916568ead3b2cdb26c94bd7448ae06714b6a7.webp?v=1760922913","width":2000},{"alt":null,"id":26241864204387,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/764cee91d97c4581c1424271fd0a9ac34a81cd9c.webp?v=1760922914"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/764cee91d97c4581c1424271fd0a9ac34a81cd9c.webp?v=1760922914","width":2000},{"alt":null,"id":26241864269923,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4efe31704cf108f7e064d69bf3c8d95c9f4b3630.webp?v=1760922915"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4efe31704cf108f7e064d69bf3c8d95c9f4b3630.webp?v=1760922915","width":2000},{"alt":null,"id":26241864400995,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/030bb2479cc6c004869383c0a69892b7d0a7b05f.webp?v=1760922916"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/030bb2479cc6c004869383c0a69892b7d0a7b05f.webp?v=1760922916","width":2000},{"alt":null,"id":26241864532067,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/893254ace2161c4c07e75c526f5e02607c9afb54.webp?v=1760922916"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/893254ace2161c4c07e75c526f5e02607c9afb54.webp?v=1760922916","width":2000},{"alt":null,"id":26241864761443,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b92488e036921439d383df296107a22bfce64c80.webp?v=1760922917"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b92488e036921439d383df296107a22bfce64c80.webp?v=1760922917","width":2000},{"alt":null,"id":26241864958051,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/959c85e58bac39e0a61a2f95a4cc5aaeb0d4abcd.webp?v=1760922918"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/959c85e58bac39e0a61a2f95a4cc5aaeb0d4abcd.webp?v=1760922918","width":2000},{"alt":null,"id":26241865154659,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e5e73ccc905502ff33af2eddd55bae3efb8f3e2.webp?v=1760922918"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e5e73ccc905502ff33af2eddd55bae3efb8f3e2.webp?v=1760922918","width":2000},{"alt":null,"id":26241865318499,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c331010467a28321f6499cdce6609ad5ba467f2.webp?v=1760922919"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c331010467a28321f6499cdce6609ad5ba467f2.webp?v=1760922919","width":2000},{"alt":null,"id":26241865646179,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5a67feb0a0b22877d974619bdae2ec7b7d2b1c2.webp?v=1760922921"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5a67feb0a0b22877d974619bdae2ec7b7d2b1c2.webp?v=1760922921","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43786438180963,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-IT35","requires_shipping":true,"taxable":true,"featured_image":{"id":34672605102179,"product_id":7903377260643,"position":1,"created_at":"2025-10-20T09:15:12+08:00","updated_at":"2025-10-20T09:15:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea8916568ead3b2cdb26c94bd7448ae06714b6a7.webp?v=1760922913","variant_ids":[43786438180963]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 炸吉排 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-IT35","featured_media":{"alt":null,"id":26241864007779,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea8916568ead3b2cdb26c94bd7448ae06714b6a7.webp?v=1760922913"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786438213731,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-IT35","requires_shipping":true,"taxable":true,"featured_image":{"id":34672605593699,"product_id":7903377260643,"position":5,"created_at":"2025-10-20T09:15:14+08:00","updated_at":"2025-10-20T09:15:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/893254ace2161c4c07e75c526f5e02607c9afb54.webp?v=1760922916","variant_ids":[43786438213731]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 炸吉排 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-IT35","featured_media":{"alt":null,"id":26241864532067,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/893254ace2161c4c07e75c526f5e02607c9afb54.webp?v=1760922916"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43786438180963,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-IT35","requires_shipping":true,"taxable":true,"featured_image":{"id":34672605102179,"product_id":7903377260643,"position":1,"created_at":"2025-10-20T09:15:12+08:00","updated_at":"2025-10-20T09:15:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea8916568ead3b2cdb26c94bd7448ae06714b6a7.webp?v=1760922913","variant_ids":[43786438180963]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 炸吉排 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-IT35","featured_media":{"alt":null,"id":26241864007779,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea8916568ead3b2cdb26c94bd7448ae06714b6a7.webp?v=1760922913"}},"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: "停產"
}