Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Batman - 哥譚市
$product = {"id":7415918133347,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Batman - 哥譚市","handle":"iphone-xs-max-mod-nx-printable-sb19","description":null,"published_at":"2024-06-11T16:47:54+08:00","created_at":"2024-05-06T12:24:37+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Batman","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-batman","device-iPhone XS Max","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-batman","Top50","type-Mod NX Printable"],"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":41915517763683,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-SB19","requires_shipping":true,"taxable":true,"featured_image":{"id":31490731311203,"product_id":7415918133347,"position":5,"created_at":"2024-05-06T12:24:50+08:00","updated_at":"2024-05-06T12:24:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a36fb9d4118ec9166e6b27dc89d39f0f6505a2e_57d487e8-c653-4ac5-929a-8e640922b19d.webp?v=1714969490","variant_ids":[41915517763683]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Batman - 哥譚市 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108624-SB19","featured_media":{"alt":null,"id":23896138055779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a36fb9d4118ec9166e6b27dc89d39f0f6505a2e_57d487e8-c653-4ac5-929a-8e640922b19d.webp?v=1714969490"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d5aa40794622a46695f7aa4772872b58f9bbdb_95fc640d-c52a-4076-8106-51533725bd89.webp?v=1714969480","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/601b3a07687aa5879014c952318409390548dee3_c3a7ad69-330c-4334-9976-3f66be1a3799.webp?v=1714969483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/776665cef28e01cdc5518ec0bcece9ef21a21ccf_7c1554a2-c415-44a5-b278-21e90a9ccc8f.webp?v=1714969485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ef7b391580297765442da71a73312c2dcc2ea92_628adfb9-9cab-4383-bb7c-61d33a445477.webp?v=1714969488","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a36fb9d4118ec9166e6b27dc89d39f0f6505a2e_57d487e8-c653-4ac5-929a-8e640922b19d.webp?v=1714969490","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/936c0f60f9777137df39979438fa27356ba911df_991bbfdb-0e04-47fe-977a-ab51c73026d5.webp?v=1714969493","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f09329852f931036c81b42904c1cf2f261e8e700_e22f2d68-a378-41c3-bca3-01feb5305344.webp?v=1714969495","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8b38eb80db0ba3d8d3db971fc6817170a02bfb5_67918364-4056-42d8-8eef-633b2bc4e97b.webp?v=1714969498","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2d389b4f277c6a7817812b6158907b6ac879dec_62a8a330-6dcc-44dd-a408-c31d41aea028.webp?v=1714969504"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d5aa40794622a46695f7aa4772872b58f9bbdb_95fc640d-c52a-4076-8106-51533725bd89.webp?v=1714969480","options":["color"],"media":[{"alt":null,"id":23896135860323,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d5aa40794622a46695f7aa4772872b58f9bbdb_95fc640d-c52a-4076-8106-51533725bd89.webp?v=1714969480"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d5aa40794622a46695f7aa4772872b58f9bbdb_95fc640d-c52a-4076-8106-51533725bd89.webp?v=1714969480","width":2000},{"alt":null,"id":23896136450147,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/601b3a07687aa5879014c952318409390548dee3_c3a7ad69-330c-4334-9976-3f66be1a3799.webp?v=1714969483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/601b3a07687aa5879014c952318409390548dee3_c3a7ad69-330c-4334-9976-3f66be1a3799.webp?v=1714969483","width":2000},{"alt":null,"id":23896137007203,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/776665cef28e01cdc5518ec0bcece9ef21a21ccf_7c1554a2-c415-44a5-b278-21e90a9ccc8f.webp?v=1714969485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/776665cef28e01cdc5518ec0bcece9ef21a21ccf_7c1554a2-c415-44a5-b278-21e90a9ccc8f.webp?v=1714969485","width":2000},{"alt":null,"id":23896137564259,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ef7b391580297765442da71a73312c2dcc2ea92_628adfb9-9cab-4383-bb7c-61d33a445477.webp?v=1714969488"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ef7b391580297765442da71a73312c2dcc2ea92_628adfb9-9cab-4383-bb7c-61d33a445477.webp?v=1714969488","width":2000},{"alt":null,"id":23896138055779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a36fb9d4118ec9166e6b27dc89d39f0f6505a2e_57d487e8-c653-4ac5-929a-8e640922b19d.webp?v=1714969490"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a36fb9d4118ec9166e6b27dc89d39f0f6505a2e_57d487e8-c653-4ac5-929a-8e640922b19d.webp?v=1714969490","width":2000},{"alt":null,"id":23896138645603,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/936c0f60f9777137df39979438fa27356ba911df_991bbfdb-0e04-47fe-977a-ab51c73026d5.webp?v=1714969493"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/936c0f60f9777137df39979438fa27356ba911df_991bbfdb-0e04-47fe-977a-ab51c73026d5.webp?v=1714969493","width":2000},{"alt":null,"id":23896139104355,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f09329852f931036c81b42904c1cf2f261e8e700_e22f2d68-a378-41c3-bca3-01feb5305344.webp?v=1714969495"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f09329852f931036c81b42904c1cf2f261e8e700_e22f2d68-a378-41c3-bca3-01feb5305344.webp?v=1714969495","width":2000},{"alt":null,"id":23896140152931,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8b38eb80db0ba3d8d3db971fc6817170a02bfb5_67918364-4056-42d8-8eef-633b2bc4e97b.webp?v=1714969498"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8b38eb80db0ba3d8d3db971fc6817170a02bfb5_67918364-4056-42d8-8eef-633b2bc4e97b.webp?v=1714969498","width":2000},{"alt":null,"id":23896141922403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2d389b4f277c6a7817812b6158907b6ac879dec_62a8a330-6dcc-44dd-a408-c31d41aea028.webp?v=1714969504"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2d389b4f277c6a7817812b6158907b6ac879dec_62a8a330-6dcc-44dd-a408-c31d41aea028.webp?v=1714969504","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41915517763683,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-SB19","requires_shipping":true,"taxable":true,"featured_image":{"id":31490731311203,"product_id":7415918133347,"position":5,"created_at":"2024-05-06T12:24:50+08:00","updated_at":"2024-05-06T12:24:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a36fb9d4118ec9166e6b27dc89d39f0f6505a2e_57d487e8-c653-4ac5-929a-8e640922b19d.webp?v=1714969490","variant_ids":[41915517763683]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Batman - 哥譚市 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108624-SB19","featured_media":{"alt":null,"id":23896138055779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a36fb9d4118ec9166e6b27dc89d39f0f6505a2e_57d487e8-c653-4ac5-929a-8e640922b19d.webp?v=1714969490"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41915517763683,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-SB19","requires_shipping":true,"taxable":true,"featured_image":{"id":31490731311203,"product_id":7415918133347,"position":5,"created_at":"2024-05-06T12:24:50+08:00","updated_at":"2024-05-06T12:24:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a36fb9d4118ec9166e6b27dc89d39f0f6505a2e_57d487e8-c653-4ac5-929a-8e640922b19d.webp?v=1714969490","variant_ids":[41915517763683]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Batman - 哥譚市 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108624-SB19","featured_media":{"alt":null,"id":23896138055779,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a36fb9d4118ec9166e6b27dc89d39f0f6505a2e_57d487e8-c653-4ac5-929a-8e640922b19d.webp?v=1714969490"}},"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: "停產"
}