$product = {"id":7946668769379,"title":"iPhone 13 Pro Max Mod NX 變種吉娃娃 Godgwawa 五星吉海底餐廳","handle":"iphone-13-pro-max-mod-nx-it37","description":null,"published_at":"2025-12-29T15:14:22+08:00","created_at":"2025-12-29T15:08:42+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":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":43923607879779,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":35037372219491,"product_id":7946668769379,"position":5,"created_at":"2025-12-29T15:09:25+08:00","updated_at":"2025-12-29T15:09:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42556ebd086a8105b717f13e6dd08db15c2e34a2_af739a1a-62de-4a6f-8b49-4fb74a0604f6.webp?v=1766992167","variant_ids":[43923607879779]},"available":true,"name":"iPhone 13 Pro Max 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":"NPB0123224-IT37","featured_media":{"alt":null,"id":26595959308387,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42556ebd086a8105b717f13e6dd08db15c2e34a2_af739a1a-62de-4a6f-8b49-4fb74a0604f6.webp?v=1766992167"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43923610435683,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":35037371138147,"product_id":7946668769379,"position":2,"created_at":"2025-12-29T15:09:23+08:00","updated_at":"2025-12-29T15:09:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc8bb21463fdc9d378a48e73d0c2e51c10522e7_aeb6ed6d-2d8e-41d7-bbce-132424024921.webp?v=1766992165","variant_ids":[43923610435683]},"available":true,"name":"iPhone 13 Pro Max Mod NX 變種吉娃娃 Godgwawa 五星吉海底餐廳 - 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":"NPB01232J5-IT37","featured_media":{"alt":null,"id":26595958325347,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc8bb21463fdc9d378a48e73d0c2e51c10522e7_aeb6ed6d-2d8e-41d7-bbce-132424024921.webp?v=1766992165"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dd6328fc25cd0a23af9b10a4c3fc7e23e0eadc9_cc1c9269-aeec-48cf-a7af-48a5c6ab6c5c.webp?v=1766992165","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc8bb21463fdc9d378a48e73d0c2e51c10522e7_aeb6ed6d-2d8e-41d7-bbce-132424024921.webp?v=1766992165","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff13708463d95baf5410e310c0ae671470b35a0f_f14da385-909f-4355-86d8-bab938675f07.webp?v=1766992166","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5cf62d8be846cbaf4f71fc1f623072a5a3d2bcf_2eb0615a-0a1d-40fa-b722-9a19f2c4e495.webp?v=1766992167","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42556ebd086a8105b717f13e6dd08db15c2e34a2_af739a1a-62de-4a6f-8b49-4fb74a0604f6.webp?v=1766992167","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/296222ef3450f6a72b8f7ff017b34bdb5527f22b_a024222e-2a70-4583-9f11-33237a956953.webp?v=1766992167","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bb4e79bebd385d95eee8b2ce57083c06c70d9a8_b3cbe09c-b3ba-4f21-8091-71de59d5ffde.webp?v=1766992168","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9029409080724e817072acdf73eccd8623c16215_3aae883d-c4fc-4fd0-8dba-b14d490c8bc2.webp?v=1766992168","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97e14a80753558df5b628d3137def6d2598ccdb1_136a6663-79eb-4cce-8b00-b246f29113ed.webp?v=1766992169"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dd6328fc25cd0a23af9b10a4c3fc7e23e0eadc9_cc1c9269-aeec-48cf-a7af-48a5c6ab6c5c.webp?v=1766992165","options":["color"],"media":[{"alt":null,"id":26595958128739,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dd6328fc25cd0a23af9b10a4c3fc7e23e0eadc9_cc1c9269-aeec-48cf-a7af-48a5c6ab6c5c.webp?v=1766992165"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dd6328fc25cd0a23af9b10a4c3fc7e23e0eadc9_cc1c9269-aeec-48cf-a7af-48a5c6ab6c5c.webp?v=1766992165","width":2000},{"alt":null,"id":26595958325347,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc8bb21463fdc9d378a48e73d0c2e51c10522e7_aeb6ed6d-2d8e-41d7-bbce-132424024921.webp?v=1766992165"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc8bb21463fdc9d378a48e73d0c2e51c10522e7_aeb6ed6d-2d8e-41d7-bbce-132424024921.webp?v=1766992165","width":2000},{"alt":null,"id":26595958685795,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff13708463d95baf5410e310c0ae671470b35a0f_f14da385-909f-4355-86d8-bab938675f07.webp?v=1766992166"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff13708463d95baf5410e310c0ae671470b35a0f_f14da385-909f-4355-86d8-bab938675f07.webp?v=1766992166","width":2000},{"alt":null,"id":26595958947939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5cf62d8be846cbaf4f71fc1f623072a5a3d2bcf_2eb0615a-0a1d-40fa-b722-9a19f2c4e495.webp?v=1766992167"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5cf62d8be846cbaf4f71fc1f623072a5a3d2bcf_2eb0615a-0a1d-40fa-b722-9a19f2c4e495.webp?v=1766992167","width":2000},{"alt":null,"id":26595959308387,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42556ebd086a8105b717f13e6dd08db15c2e34a2_af739a1a-62de-4a6f-8b49-4fb74a0604f6.webp?v=1766992167"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42556ebd086a8105b717f13e6dd08db15c2e34a2_af739a1a-62de-4a6f-8b49-4fb74a0604f6.webp?v=1766992167","width":2000},{"alt":null,"id":26595959537763,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/296222ef3450f6a72b8f7ff017b34bdb5527f22b_a024222e-2a70-4583-9f11-33237a956953.webp?v=1766992167"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/296222ef3450f6a72b8f7ff017b34bdb5527f22b_a024222e-2a70-4583-9f11-33237a956953.webp?v=1766992167","width":2000},{"alt":null,"id":26595959963747,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bb4e79bebd385d95eee8b2ce57083c06c70d9a8_b3cbe09c-b3ba-4f21-8091-71de59d5ffde.webp?v=1766992168"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bb4e79bebd385d95eee8b2ce57083c06c70d9a8_b3cbe09c-b3ba-4f21-8091-71de59d5ffde.webp?v=1766992168","width":2000},{"alt":null,"id":26595960160355,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9029409080724e817072acdf73eccd8623c16215_3aae883d-c4fc-4fd0-8dba-b14d490c8bc2.webp?v=1766992168"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9029409080724e817072acdf73eccd8623c16215_3aae883d-c4fc-4fd0-8dba-b14d490c8bc2.webp?v=1766992168","width":2000},{"alt":null,"id":26595960324195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97e14a80753558df5b628d3137def6d2598ccdb1_136a6663-79eb-4cce-8b00-b246f29113ed.webp?v=1766992169"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97e14a80753558df5b628d3137def6d2598ccdb1_136a6663-79eb-4cce-8b00-b246f29113ed.webp?v=1766992169","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43923607879779,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":35037372219491,"product_id":7946668769379,"position":5,"created_at":"2025-12-29T15:09:25+08:00","updated_at":"2025-12-29T15:09:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42556ebd086a8105b717f13e6dd08db15c2e34a2_af739a1a-62de-4a6f-8b49-4fb74a0604f6.webp?v=1766992167","variant_ids":[43923607879779]},"available":true,"name":"iPhone 13 Pro Max 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":"NPB0123224-IT37","featured_media":{"alt":null,"id":26595959308387,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42556ebd086a8105b717f13e6dd08db15c2e34a2_af739a1a-62de-4a6f-8b49-4fb74a0604f6.webp?v=1766992167"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43923610435683,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01232J5-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":35037371138147,"product_id":7946668769379,"position":2,"created_at":"2025-12-29T15:09:23+08:00","updated_at":"2025-12-29T15:09:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc8bb21463fdc9d378a48e73d0c2e51c10522e7_aeb6ed6d-2d8e-41d7-bbce-132424024921.webp?v=1766992165","variant_ids":[43923610435683]},"available":true,"name":"iPhone 13 Pro Max Mod NX 變種吉娃娃 Godgwawa 五星吉海底餐廳 - 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":"NPB01232J5-IT37","featured_media":{"alt":null,"id":26595958325347,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc8bb21463fdc9d378a48e73d0c2e51c10522e7_aeb6ed6d-2d8e-41d7-bbce-132424024921.webp?v=1766992165"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43923607879779,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0123224-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":35037372219491,"product_id":7946668769379,"position":5,"created_at":"2025-12-29T15:09:25+08:00","updated_at":"2025-12-29T15:09:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42556ebd086a8105b717f13e6dd08db15c2e34a2_af739a1a-62de-4a6f-8b49-4fb74a0604f6.webp?v=1766992167","variant_ids":[43923607879779]},"available":true,"name":"iPhone 13 Pro Max 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":"NPB0123224-IT37","featured_media":{"alt":null,"id":26595959308387,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42556ebd086a8105b717f13e6dd08db15c2e34a2_af739a1a-62de-4a6f-8b49-4fb74a0604f6.webp?v=1766992167"}},"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: "停產"
}