$product = {"id":7830880026723,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 不只是情人節:愛的方程式 愛的方程式:心跳(白)","handle":"iphone-13-pro-max-mod-nx-magsafe-bumper-original-design-dk04","description":null,"published_at":"2025-07-04T10:16:58+08:00","created_at":"2025-07-03T16:09:50+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer-valentines-day-collection","device-iPhone 13 Pro Max","discountable-item","merge","original-design","reseller-valentines-day-collection"],"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":43507359318115,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-DK04","requires_shipping":true,"taxable":true,"featured_image":{"id":34116482007139,"product_id":7830880026723,"position":7,"created_at":"2025-07-03T16:09:54+08:00","updated_at":"2025-07-03T16:09:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cb4ed83464e017670ffa9914fdfdf5056c62f2b.webp?v=1751530196","variant_ids":[43507359318115]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 不只是情人節:愛的方程式 愛的方程式:心跳(白) - 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-DK04","featured_media":{"alt":null,"id":25769477242979,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cb4ed83464e017670ffa9914fdfdf5056c62f2b.webp?v=1751530196"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43507359481955,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-DK04","requires_shipping":true,"taxable":true,"featured_image":{"id":34116483547235,"product_id":7830880026723,"position":10,"created_at":"2025-07-03T16:09:55+08:00","updated_at":"2025-07-03T16:09:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fbaf7506a6e86dd9236f161c293bcae45a50f8b.webp?v=1751530197","variant_ids":[43507359481955]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 不只是情人節:愛的方程式 愛的方程式:心跳(白) - 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-DK04","featured_media":{"alt":null,"id":25769478455395,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fbaf7506a6e86dd9236f161c293bcae45a50f8b.webp?v=1751530197"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ef5897ed12e62901964126922bc1acab0b0c4e.webp?v=1751530192","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feee232e103711f1ec1c38730196d9103b3b9e08.webp?v=1751530193","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd4fc47c04ca95b00890c26debfd4443d302984c.webp?v=1751530193","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/138188090f9cf70f25e16adb0301dde729b21425.webp?v=1751530194","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d40dbda9538b28ad8826d9ed83f0bc66bbbd9cfa.webp?v=1751530195","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/752c09d97cf245f85a66df5a44868d3ecb9f5f2b.webp?v=1751530195","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cb4ed83464e017670ffa9914fdfdf5056c62f2b.webp?v=1751530196","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9932376cf5fe1d112c884ee8013136f0aeca7c1b.webp?v=1751530196","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b3fef2385ba3dfaed2e3fce8ff410ce4d2f3833.webp?v=1751530197","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fbaf7506a6e86dd9236f161c293bcae45a50f8b.webp?v=1751530197","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5178e5edd5ca39b7bf2423771e772555da2e1f5.webp?v=1751530198"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ef5897ed12e62901964126922bc1acab0b0c4e.webp?v=1751530192","options":["color"],"media":[{"alt":null,"id":25769475309667,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ef5897ed12e62901964126922bc1acab0b0c4e.webp?v=1751530192"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ef5897ed12e62901964126922bc1acab0b0c4e.webp?v=1751530192","width":2000},{"alt":null,"id":25769475637347,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feee232e103711f1ec1c38730196d9103b3b9e08.webp?v=1751530193"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/feee232e103711f1ec1c38730196d9103b3b9e08.webp?v=1751530193","width":2000},{"alt":null,"id":25769475932259,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd4fc47c04ca95b00890c26debfd4443d302984c.webp?v=1751530193"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd4fc47c04ca95b00890c26debfd4443d302984c.webp?v=1751530193","width":2000},{"alt":null,"id":25769476259939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/138188090f9cf70f25e16adb0301dde729b21425.webp?v=1751530194"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/138188090f9cf70f25e16adb0301dde729b21425.webp?v=1751530194","width":2000},{"alt":null,"id":25769476685923,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d40dbda9538b28ad8826d9ed83f0bc66bbbd9cfa.webp?v=1751530195"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d40dbda9538b28ad8826d9ed83f0bc66bbbd9cfa.webp?v=1751530195","width":2000},{"alt":null,"id":25769476980835,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/752c09d97cf245f85a66df5a44868d3ecb9f5f2b.webp?v=1751530195"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/752c09d97cf245f85a66df5a44868d3ecb9f5f2b.webp?v=1751530195","width":2000},{"alt":null,"id":25769477242979,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cb4ed83464e017670ffa9914fdfdf5056c62f2b.webp?v=1751530196"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cb4ed83464e017670ffa9914fdfdf5056c62f2b.webp?v=1751530196","width":2000},{"alt":null,"id":25769477701731,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9932376cf5fe1d112c884ee8013136f0aeca7c1b.webp?v=1751530196"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9932376cf5fe1d112c884ee8013136f0aeca7c1b.webp?v=1751530196","width":2000},{"alt":null,"id":25769478094947,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b3fef2385ba3dfaed2e3fce8ff410ce4d2f3833.webp?v=1751530197"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b3fef2385ba3dfaed2e3fce8ff410ce4d2f3833.webp?v=1751530197","width":2000},{"alt":null,"id":25769478455395,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fbaf7506a6e86dd9236f161c293bcae45a50f8b.webp?v=1751530197"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fbaf7506a6e86dd9236f161c293bcae45a50f8b.webp?v=1751530197","width":2000},{"alt":null,"id":25769478684771,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5178e5edd5ca39b7bf2423771e772555da2e1f5.webp?v=1751530198"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5178e5edd5ca39b7bf2423771e772555da2e1f5.webp?v=1751530198","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43507359318115,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-DK04","requires_shipping":true,"taxable":true,"featured_image":{"id":34116482007139,"product_id":7830880026723,"position":7,"created_at":"2025-07-03T16:09:54+08:00","updated_at":"2025-07-03T16:09:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cb4ed83464e017670ffa9914fdfdf5056c62f2b.webp?v=1751530196","variant_ids":[43507359318115]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 不只是情人節:愛的方程式 愛的方程式:心跳(白) - 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-DK04","featured_media":{"alt":null,"id":25769477242979,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cb4ed83464e017670ffa9914fdfdf5056c62f2b.webp?v=1751530196"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43507359481955,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-DK04","requires_shipping":true,"taxable":true,"featured_image":{"id":34116483547235,"product_id":7830880026723,"position":10,"created_at":"2025-07-03T16:09:55+08:00","updated_at":"2025-07-03T16:09:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fbaf7506a6e86dd9236f161c293bcae45a50f8b.webp?v=1751530197","variant_ids":[43507359481955]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 不只是情人節:愛的方程式 愛的方程式:心跳(白) - 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-DK04","featured_media":{"alt":null,"id":25769478455395,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fbaf7506a6e86dd9236f161c293bcae45a50f8b.webp?v=1751530197"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43507359318115,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-DK04","requires_shipping":true,"taxable":true,"featured_image":{"id":34116482007139,"product_id":7830880026723,"position":7,"created_at":"2025-07-03T16:09:54+08:00","updated_at":"2025-07-03T16:09:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cb4ed83464e017670ffa9914fdfdf5056c62f2b.webp?v=1751530196","variant_ids":[43507359318115]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 不只是情人節:愛的方程式 愛的方程式:心跳(白) - 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-DK04","featured_media":{"alt":null,"id":25769477242979,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0cb4ed83464e017670ffa9914fdfdf5056c62f2b.webp?v=1751530196"}},"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: "停產"
}