$product = {"id":7823846211683,"title":"iPhone 15 Pro Max SolidX Zzifan_z 早安女孩","handle":"iphone-15-pro-max-solidx-gi07","description":null,"published_at":"2025-07-01T19:08:13+08:00","created_at":"2025-06-20T10:31:55+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-zzifanz","device-iPhone 15 Pro Max","merge","reseller-zzifanz"],"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":43473616339043,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-GI07","requires_shipping":true,"taxable":true,"featured_image":{"id":36323022372963,"product_id":7823846211683,"position":11,"created_at":"2026-07-20T18:32:07+08:00","updated_at":"2026-07-20T18:32:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/558c6574f519c9ebbf5f3f5fa9c4a5693ef735df_9d3940b6-b897-431a-add8-49fd406e70d9.webp?v=1784543529","variant_ids":[43473616339043]},"available":true,"name":"iPhone 15 Pro Max SolidX Zzifan_z 早安女孩 - 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-GI07","featured_media":{"alt":null,"id":27826930122851,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/558c6574f519c9ebbf5f3f5fa9c4a5693ef735df_9d3940b6-b897-431a-add8-49fd406e70d9.webp?v=1784543529"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43473618927715,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-GI07","requires_shipping":true,"taxable":true,"featured_image":{"id":36323023618147,"product_id":7823846211683,"position":14,"created_at":"2026-07-20T18:32:11+08:00","updated_at":"2026-07-20T18:32:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5ef0409fd8d10fb8cc6411bff28123dce38adcd_4504822d-e2b7-44bc-b529-086a66b05ec1.webp?v=1784543533","variant_ids":[43473618927715]},"available":true,"name":"iPhone 15 Pro Max SolidX Zzifan_z 早安女孩 - 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-GI07","featured_media":{"alt":null,"id":27826931368035,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5ef0409fd8d10fb8cc6411bff28123dce38adcd_4504822d-e2b7-44bc-b529-086a66b05ec1.webp?v=1784543533"}},"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-GI07.png?v=1750386718","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-GI07_167447e2-8176-47e4-a861-2f3bf30833e7.png?v=1750831501","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9431a6bd7c052278bb45db5d0ce5a8812868e2e.webp?v=1782883246","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bd1d99c5c6ddbb9ccbb90f26dc483589ff7bd0e.webp?v=1782883247","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5ef0409fd8d10fb8cc6411bff28123dce38adcd.webp?v=1782883248","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d8ed66100eee447850d4d0d70b7c1f68dd761d8.webp?v=1782883248","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e46b1192e6863f95a5fda953061f2c945cb2dd4b.webp?v=1782883249","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99ac84c2a35b7f161ec45e77c08e93e3d3b76f75.webp?v=1782883249","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/558c6574f519c9ebbf5f3f5fa9c4a5693ef735df.webp?v=1782883250","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e46b1192e6863f95a5fda953061f2c945cb2dd4b_be9b5c52-7a38-47c6-b4e9-4c8a719577c3.webp?v=1784543527","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/558c6574f519c9ebbf5f3f5fa9c4a5693ef735df_9d3940b6-b897-431a-add8-49fd406e70d9.webp?v=1784543529","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99ac84c2a35b7f161ec45e77c08e93e3d3b76f75_23530d24-8dd6-4e35-a36a-1489bcc53937.webp?v=1784543531","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d8ed66100eee447850d4d0d70b7c1f68dd761d8_9353ea43-9c13-4f95-a52a-080806a50ba8.webp?v=1784543532","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5ef0409fd8d10fb8cc6411bff28123dce38adcd_4504822d-e2b7-44bc-b529-086a66b05ec1.webp?v=1784543533"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-GI07.png?v=1750386718","options":["color"],"media":[{"alt":null,"id":25720417615971,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-GI07.png?v=1750386718"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-GI07.png?v=1750386718","width":2000},{"alt":null,"id":25736200388707,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-GI07_167447e2-8176-47e4-a861-2f3bf30833e7.png?v=1750831501"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-GI07_167447e2-8176-47e4-a861-2f3bf30833e7.png?v=1750831501","width":2000},{"alt":null,"id":27647802179683,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9431a6bd7c052278bb45db5d0ce5a8812868e2e.webp?v=1782883246"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9431a6bd7c052278bb45db5d0ce5a8812868e2e.webp?v=1782883246","width":2000},{"alt":null,"id":27647802867811,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bd1d99c5c6ddbb9ccbb90f26dc483589ff7bd0e.webp?v=1782883247"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1bd1d99c5c6ddbb9ccbb90f26dc483589ff7bd0e.webp?v=1782883247","width":2000},{"alt":null,"id":27647803457635,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5ef0409fd8d10fb8cc6411bff28123dce38adcd.webp?v=1782883248"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5ef0409fd8d10fb8cc6411bff28123dce38adcd.webp?v=1782883248","width":2000},{"alt":null,"id":27647804112995,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d8ed66100eee447850d4d0d70b7c1f68dd761d8.webp?v=1782883248"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d8ed66100eee447850d4d0d70b7c1f68dd761d8.webp?v=1782883248","width":2000},{"alt":null,"id":27647804833891,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e46b1192e6863f95a5fda953061f2c945cb2dd4b.webp?v=1782883249"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e46b1192e6863f95a5fda953061f2c945cb2dd4b.webp?v=1782883249","width":2000},{"alt":null,"id":27647805587555,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99ac84c2a35b7f161ec45e77c08e93e3d3b76f75.webp?v=1782883249"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99ac84c2a35b7f161ec45e77c08e93e3d3b76f75.webp?v=1782883249","width":2000},{"alt":null,"id":27647806275683,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/558c6574f519c9ebbf5f3f5fa9c4a5693ef735df.webp?v=1782883250"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/558c6574f519c9ebbf5f3f5fa9c4a5693ef735df.webp?v=1782883250","width":2000},{"alt":null,"id":27826929270883,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e46b1192e6863f95a5fda953061f2c945cb2dd4b_be9b5c52-7a38-47c6-b4e9-4c8a719577c3.webp?v=1784543527"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e46b1192e6863f95a5fda953061f2c945cb2dd4b_be9b5c52-7a38-47c6-b4e9-4c8a719577c3.webp?v=1784543527","width":2000},{"alt":null,"id":27826930122851,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/558c6574f519c9ebbf5f3f5fa9c4a5693ef735df_9d3940b6-b897-431a-add8-49fd406e70d9.webp?v=1784543529"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/558c6574f519c9ebbf5f3f5fa9c4a5693ef735df_9d3940b6-b897-431a-add8-49fd406e70d9.webp?v=1784543529","width":2000},{"alt":null,"id":27826930548835,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99ac84c2a35b7f161ec45e77c08e93e3d3b76f75_23530d24-8dd6-4e35-a36a-1489bcc53937.webp?v=1784543531"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99ac84c2a35b7f161ec45e77c08e93e3d3b76f75_23530d24-8dd6-4e35-a36a-1489bcc53937.webp?v=1784543531","width":2000},{"alt":null,"id":27826930942051,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d8ed66100eee447850d4d0d70b7c1f68dd761d8_9353ea43-9c13-4f95-a52a-080806a50ba8.webp?v=1784543532"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d8ed66100eee447850d4d0d70b7c1f68dd761d8_9353ea43-9c13-4f95-a52a-080806a50ba8.webp?v=1784543532","width":2000},{"alt":null,"id":27826931368035,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5ef0409fd8d10fb8cc6411bff28123dce38adcd_4504822d-e2b7-44bc-b529-086a66b05ec1.webp?v=1784543533"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5ef0409fd8d10fb8cc6411bff28123dce38adcd_4504822d-e2b7-44bc-b529-086a66b05ec1.webp?v=1784543533","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43473616339043,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-GI07","requires_shipping":true,"taxable":true,"featured_image":{"id":36323022372963,"product_id":7823846211683,"position":11,"created_at":"2026-07-20T18:32:07+08:00","updated_at":"2026-07-20T18:32:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/558c6574f519c9ebbf5f3f5fa9c4a5693ef735df_9d3940b6-b897-431a-add8-49fd406e70d9.webp?v=1784543529","variant_ids":[43473616339043]},"available":true,"name":"iPhone 15 Pro Max SolidX Zzifan_z 早安女孩 - 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-GI07","featured_media":{"alt":null,"id":27826930122851,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/558c6574f519c9ebbf5f3f5fa9c4a5693ef735df_9d3940b6-b897-431a-add8-49fd406e70d9.webp?v=1784543529"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43473618927715,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-GI07","requires_shipping":true,"taxable":true,"featured_image":{"id":36323023618147,"product_id":7823846211683,"position":14,"created_at":"2026-07-20T18:32:11+08:00","updated_at":"2026-07-20T18:32:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5ef0409fd8d10fb8cc6411bff28123dce38adcd_4504822d-e2b7-44bc-b529-086a66b05ec1.webp?v=1784543533","variant_ids":[43473618927715]},"available":true,"name":"iPhone 15 Pro Max SolidX Zzifan_z 早安女孩 - 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-GI07","featured_media":{"alt":null,"id":27826931368035,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5ef0409fd8d10fb8cc6411bff28123dce38adcd_4504822d-e2b7-44bc-b529-086a66b05ec1.webp?v=1784543533"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43473616339043,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-GI07","requires_shipping":true,"taxable":true,"featured_image":{"id":36323022372963,"product_id":7823846211683,"position":11,"created_at":"2026-07-20T18:32:07+08:00","updated_at":"2026-07-20T18:32:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/558c6574f519c9ebbf5f3f5fa9c4a5693ef735df_9d3940b6-b897-431a-add8-49fd406e70d9.webp?v=1784543529","variant_ids":[43473616339043]},"available":true,"name":"iPhone 15 Pro Max SolidX Zzifan_z 早安女孩 - 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-GI07","featured_media":{"alt":null,"id":27826930122851,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/558c6574f519c9ebbf5f3f5fa9c4a5693ef735df_9d3940b6-b897-431a-add8-49fd406e70d9.webp?v=1784543529"}},"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: "停產"
}