$product = {"id":7823860138083,"title":"iPhone 15 Pro Max SolidX 太空 Meatball (Black)","handle":"iphone-15-pro-max-solidx-xk04","description":null,"published_at":"2025-07-01T19:06:06+08:00","created_at":"2025-06-20T10:33:27+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nasa","device-iPhone 15 Pro Max","merge","reseller-nasa"],"price":125000,"price_min":125000,"price_max":125000,"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":43473756061795,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-XK04","requires_shipping":true,"taxable":true,"featured_image":{"id":36478162829411,"product_id":7823860138083,"position":9,"created_at":"2026-08-04T12:10:32+08:00","updated_at":"2026-08-04T12:10:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e640977a9386effeaa61e2dcbc57951dd951be9_ac54439f-1feb-4262-a5e3-43d1023fc8e4.webp?v=1785816634","variant_ids":[43473756061795]},"available":true,"name":"iPhone 15 Pro Max SolidX 太空 Meatball (Black) - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-XK04","featured_media":{"alt":null,"id":27981498253411,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e640977a9386effeaa61e2dcbc57951dd951be9_ac54439f-1feb-4262-a5e3-43d1023fc8e4.webp?v=1785816634"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43473759174755,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-XK04","requires_shipping":true,"taxable":true,"featured_image":{"id":36478163386467,"product_id":7823860138083,"position":11,"created_at":"2026-08-04T12:10:33+08:00","updated_at":"2026-08-04T12:10:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f877087823404093fbb5954c1a14d7a49112b6f_253d772e-e77c-4d12-9179-89ff75e92b1d.webp?v=1785816635","variant_ids":[43473759174755]},"available":true,"name":"iPhone 15 Pro Max SolidX 太空 Meatball (Black) - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-XK04","featured_media":{"alt":null,"id":27981498810467,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f877087823404093fbb5954c1a14d7a49112b6f_253d772e-e77c-4d12-9179-89ff75e92b1d.webp?v=1785816635"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-XK04.png?v=1750386810","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-XK04_2afb7d8e-8ab9-4782-b820-3705c7b7ff50.png?v=1750831875","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f877087823404093fbb5954c1a14d7a49112b6f.webp?v=1783997428","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e640977a9386effeaa61e2dcbc57951dd951be9.webp?v=1783997429","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f70952c0310f53f8785e909d144e3648a29d1da.webp?v=1783997429","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd39736c213ea307ed3cb86d3285924b1dbcaf5.webp?v=1783997431","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/610ed917055adc2e5cbaebca593b44735fa6eeae.webp?v=1783997431","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f70952c0310f53f8785e909d144e3648a29d1da_25852284-4252-45dd-96d9-4b3383c262c9.webp?v=1785816633","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e640977a9386effeaa61e2dcbc57951dd951be9_ac54439f-1feb-4262-a5e3-43d1023fc8e4.webp?v=1785816634","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/610ed917055adc2e5cbaebca593b44735fa6eeae_a461d5d3-0082-4961-bcc2-1a1f877a78b2.webp?v=1785816635","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f877087823404093fbb5954c1a14d7a49112b6f_253d772e-e77c-4d12-9179-89ff75e92b1d.webp?v=1785816635","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd39736c213ea307ed3cb86d3285924b1dbcaf5_b6fc216c-dea1-438c-80e1-824cbd66949f.webp?v=1785816636"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-XK04.png?v=1750386810","options":["color"],"media":[{"alt":null,"id":25720434032739,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-XK04.png?v=1750386810"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-XK04.png?v=1750386810","width":2000},{"alt":null,"id":25736281063523,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-XK04_2afb7d8e-8ab9-4782-b820-3705c7b7ff50.png?v=1750831875"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-XK04_2afb7d8e-8ab9-4782-b820-3705c7b7ff50.png?v=1750831875","width":2000},{"alt":null,"id":27759547646051,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f877087823404093fbb5954c1a14d7a49112b6f.webp?v=1783997428"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f877087823404093fbb5954c1a14d7a49112b6f.webp?v=1783997428","width":2000},{"alt":null,"id":27759547973731,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e640977a9386effeaa61e2dcbc57951dd951be9.webp?v=1783997429"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e640977a9386effeaa61e2dcbc57951dd951be9.webp?v=1783997429","width":2000},{"alt":null,"id":27759548334179,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f70952c0310f53f8785e909d144e3648a29d1da.webp?v=1783997429"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f70952c0310f53f8785e909d144e3648a29d1da.webp?v=1783997429","width":2000},{"alt":null,"id":27759548792931,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd39736c213ea307ed3cb86d3285924b1dbcaf5.webp?v=1783997431"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd39736c213ea307ed3cb86d3285924b1dbcaf5.webp?v=1783997431","width":2000},{"alt":null,"id":27759549153379,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/610ed917055adc2e5cbaebca593b44735fa6eeae.webp?v=1783997431"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/610ed917055adc2e5cbaebca593b44735fa6eeae.webp?v=1783997431","width":2000},{"alt":null,"id":27981497794659,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f70952c0310f53f8785e909d144e3648a29d1da_25852284-4252-45dd-96d9-4b3383c262c9.webp?v=1785816633"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4f70952c0310f53f8785e909d144e3648a29d1da_25852284-4252-45dd-96d9-4b3383c262c9.webp?v=1785816633","width":2000},{"alt":null,"id":27981498253411,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e640977a9386effeaa61e2dcbc57951dd951be9_ac54439f-1feb-4262-a5e3-43d1023fc8e4.webp?v=1785816634"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e640977a9386effeaa61e2dcbc57951dd951be9_ac54439f-1feb-4262-a5e3-43d1023fc8e4.webp?v=1785816634","width":2000},{"alt":null,"id":27981498548323,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/610ed917055adc2e5cbaebca593b44735fa6eeae_a461d5d3-0082-4961-bcc2-1a1f877a78b2.webp?v=1785816635"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/610ed917055adc2e5cbaebca593b44735fa6eeae_a461d5d3-0082-4961-bcc2-1a1f877a78b2.webp?v=1785816635","width":2000},{"alt":null,"id":27981498810467,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f877087823404093fbb5954c1a14d7a49112b6f_253d772e-e77c-4d12-9179-89ff75e92b1d.webp?v=1785816635"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f877087823404093fbb5954c1a14d7a49112b6f_253d772e-e77c-4d12-9179-89ff75e92b1d.webp?v=1785816635","width":2000},{"alt":null,"id":27981499072611,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd39736c213ea307ed3cb86d3285924b1dbcaf5_b6fc216c-dea1-438c-80e1-824cbd66949f.webp?v=1785816636"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd39736c213ea307ed3cb86d3285924b1dbcaf5_b6fc216c-dea1-438c-80e1-824cbd66949f.webp?v=1785816636","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43473756061795,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-XK04","requires_shipping":true,"taxable":true,"featured_image":{"id":36478162829411,"product_id":7823860138083,"position":9,"created_at":"2026-08-04T12:10:32+08:00","updated_at":"2026-08-04T12:10:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e640977a9386effeaa61e2dcbc57951dd951be9_ac54439f-1feb-4262-a5e3-43d1023fc8e4.webp?v=1785816634","variant_ids":[43473756061795]},"available":true,"name":"iPhone 15 Pro Max SolidX 太空 Meatball (Black) - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-XK04","featured_media":{"alt":null,"id":27981498253411,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e640977a9386effeaa61e2dcbc57951dd951be9_ac54439f-1feb-4262-a5e3-43d1023fc8e4.webp?v=1785816634"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43473759174755,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-XK04","requires_shipping":true,"taxable":true,"featured_image":{"id":36478163386467,"product_id":7823860138083,"position":11,"created_at":"2026-08-04T12:10:33+08:00","updated_at":"2026-08-04T12:10:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f877087823404093fbb5954c1a14d7a49112b6f_253d772e-e77c-4d12-9179-89ff75e92b1d.webp?v=1785816635","variant_ids":[43473759174755]},"available":true,"name":"iPhone 15 Pro Max SolidX 太空 Meatball (Black) - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-XK04","featured_media":{"alt":null,"id":27981498810467,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f877087823404093fbb5954c1a14d7a49112b6f_253d772e-e77c-4d12-9179-89ff75e92b1d.webp?v=1785816635"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43473756061795,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-XK04","requires_shipping":true,"taxable":true,"featured_image":{"id":36478162829411,"product_id":7823860138083,"position":9,"created_at":"2026-08-04T12:10:32+08:00","updated_at":"2026-08-04T12:10:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e640977a9386effeaa61e2dcbc57951dd951be9_ac54439f-1feb-4262-a5e3-43d1023fc8e4.webp?v=1785816634","variant_ids":[43473756061795]},"available":true,"name":"iPhone 15 Pro Max SolidX 太空 Meatball (Black) - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-XK04","featured_media":{"alt":null,"id":27981498253411,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e640977a9386effeaa61e2dcbc57951dd951be9_ac54439f-1feb-4262-a5e3-43d1023fc8e4.webp?v=1785816634"}},"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: "停產"
}