$product = {"id":7848031420515,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 嗨小強 Bread Buds","handle":"iphone-13-pro-max-mod-nx-magsafe-bumper-crossover-design-fv63","description":null,"published_at":"2025-08-07T09:20:39+08:00","created_at":"2025-08-05T09:37:39+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-hijohnnn","device-iPhone 13 Pro Max","merge","reseller-hijohnnn"],"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":43562819911779,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-FV63","requires_shipping":true,"taxable":true,"featured_image":{"id":34287695298659,"product_id":7848031420515,"position":1,"created_at":"2025-08-05T09:37:42+08:00","updated_at":"2025-08-05T09:37:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4224b76cc9a0dcfc98a3fd6dfaa7cdccf620ccc2.webp?v=1754357865","variant_ids":[43562819911779]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 嗨小強 Bread Buds - 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-FV63","featured_media":{"alt":null,"id":25888796573795,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4224b76cc9a0dcfc98a3fd6dfaa7cdccf620ccc2.webp?v=1754357865"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43562820010083,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-FV63","requires_shipping":true,"taxable":true,"featured_image":{"id":34287696150627,"product_id":7848031420515,"position":4,"created_at":"2025-08-05T09:37:44+08:00","updated_at":"2025-08-05T09:37:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69dec5c6d5635de3f5b2abfecdbdf2bef53de893.webp?v=1754357866","variant_ids":[43562820010083]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 嗨小強 Bread Buds - 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-FV63","featured_media":{"alt":null,"id":25888796999779,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69dec5c6d5635de3f5b2abfecdbdf2bef53de893.webp?v=1754357866"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4224b76cc9a0dcfc98a3fd6dfaa7cdccf620ccc2.webp?v=1754357865","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4727675d29853b1f22e612225707d87779dba29.webp?v=1754357865","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/227f8df7443cba2a3a56801910f53c833ce0bdd6.webp?v=1754357866","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69dec5c6d5635de3f5b2abfecdbdf2bef53de893.webp?v=1754357866","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26a8e4ebaf7c4843a75e3b6c12bfd6268c92a3fc.webp?v=1754357867","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c93ff688b91d8a65e13b70651a2220fc2bf7a98.webp?v=1754357868","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9172a08949f7a85191eba6a5beec0d5bc8418a0.webp?v=1754357868","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d7596977d3d20ebecf4040ca4b310575dadb0f.webp?v=1754357869","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e03860103e10b9b9dff92b427b91165a12f6a81f.webp?v=1754357869","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ee3a32e5818da5ce6aea3d95568bff32c18a418.webp?v=1754357870","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccbd8320e78bfe8e1ff1ed862400315cd844b69e.webp?v=1754357872"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4224b76cc9a0dcfc98a3fd6dfaa7cdccf620ccc2.webp?v=1754357865","options":["color"],"media":[{"alt":null,"id":25888796573795,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4224b76cc9a0dcfc98a3fd6dfaa7cdccf620ccc2.webp?v=1754357865"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4224b76cc9a0dcfc98a3fd6dfaa7cdccf620ccc2.webp?v=1754357865","width":2000},{"alt":null,"id":25888796704867,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4727675d29853b1f22e612225707d87779dba29.webp?v=1754357865"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4727675d29853b1f22e612225707d87779dba29.webp?v=1754357865","width":2000},{"alt":null,"id":25888796803171,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/227f8df7443cba2a3a56801910f53c833ce0bdd6.webp?v=1754357866"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/227f8df7443cba2a3a56801910f53c833ce0bdd6.webp?v=1754357866","width":2000},{"alt":null,"id":25888796999779,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69dec5c6d5635de3f5b2abfecdbdf2bef53de893.webp?v=1754357866"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69dec5c6d5635de3f5b2abfecdbdf2bef53de893.webp?v=1754357866","width":2000},{"alt":null,"id":25888797294691,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26a8e4ebaf7c4843a75e3b6c12bfd6268c92a3fc.webp?v=1754357867"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/26a8e4ebaf7c4843a75e3b6c12bfd6268c92a3fc.webp?v=1754357867","width":2000},{"alt":null,"id":25888797491299,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c93ff688b91d8a65e13b70651a2220fc2bf7a98.webp?v=1754357868"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c93ff688b91d8a65e13b70651a2220fc2bf7a98.webp?v=1754357868","width":2000},{"alt":null,"id":25888797687907,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9172a08949f7a85191eba6a5beec0d5bc8418a0.webp?v=1754357868"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9172a08949f7a85191eba6a5beec0d5bc8418a0.webp?v=1754357868","width":2000},{"alt":null,"id":25888797917283,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d7596977d3d20ebecf4040ca4b310575dadb0f.webp?v=1754357869"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66d7596977d3d20ebecf4040ca4b310575dadb0f.webp?v=1754357869","width":2000},{"alt":null,"id":25888798212195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e03860103e10b9b9dff92b427b91165a12f6a81f.webp?v=1754357869"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e03860103e10b9b9dff92b427b91165a12f6a81f.webp?v=1754357869","width":2000},{"alt":null,"id":25888798376035,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ee3a32e5818da5ce6aea3d95568bff32c18a418.webp?v=1754357870"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ee3a32e5818da5ce6aea3d95568bff32c18a418.webp?v=1754357870","width":2000},{"alt":null,"id":25888798638179,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccbd8320e78bfe8e1ff1ed862400315cd844b69e.webp?v=1754357872"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccbd8320e78bfe8e1ff1ed862400315cd844b69e.webp?v=1754357872","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43562819911779,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-FV63","requires_shipping":true,"taxable":true,"featured_image":{"id":34287695298659,"product_id":7848031420515,"position":1,"created_at":"2025-08-05T09:37:42+08:00","updated_at":"2025-08-05T09:37:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4224b76cc9a0dcfc98a3fd6dfaa7cdccf620ccc2.webp?v=1754357865","variant_ids":[43562819911779]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 嗨小強 Bread Buds - 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-FV63","featured_media":{"alt":null,"id":25888796573795,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4224b76cc9a0dcfc98a3fd6dfaa7cdccf620ccc2.webp?v=1754357865"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43562820010083,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-FV63","requires_shipping":true,"taxable":true,"featured_image":{"id":34287696150627,"product_id":7848031420515,"position":4,"created_at":"2025-08-05T09:37:44+08:00","updated_at":"2025-08-05T09:37:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69dec5c6d5635de3f5b2abfecdbdf2bef53de893.webp?v=1754357866","variant_ids":[43562820010083]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 嗨小強 Bread Buds - 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-FV63","featured_media":{"alt":null,"id":25888796999779,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69dec5c6d5635de3f5b2abfecdbdf2bef53de893.webp?v=1754357866"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43562819911779,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-FV63","requires_shipping":true,"taxable":true,"featured_image":{"id":34287695298659,"product_id":7848031420515,"position":1,"created_at":"2025-08-05T09:37:42+08:00","updated_at":"2025-08-05T09:37:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4224b76cc9a0dcfc98a3fd6dfaa7cdccf620ccc2.webp?v=1754357865","variant_ids":[43562819911779]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) 嗨小強 Bread Buds - 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-FV63","featured_media":{"alt":null,"id":25888796573795,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4224b76cc9a0dcfc98a3fd6dfaa7cdccf620ccc2.webp?v=1754357865"}},"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: "停產"
}