$product = {"id":7366377046115,"title":"犀牛盾Mod NX手機殼 - iPhone 11 Pro Max - 【聯名設計款】 - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險","handle":"iphone-11-pro-max-mod-nx-printable-sz05","description":"","published_at":"2024-06-11T16:12:48+08:00","created_at":"2024-04-23T10:47:18+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-華納兄弟百年慶典 Warner Bros 100th Anniversary","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-warnerbros100","device-iPhone 11 Pro Max","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-warnerbros100","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":41789054025827,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114924-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31383058940003,"product_id":7366377046115,"position":7,"created_at":"2024-04-23T10:47:42+08:00","updated_at":"2025-01-22T15:01:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15e8058cef2289bc7f99c628cefd0dce8103f6cc_26f6037d-85a5-4abe-8acb-60064d42b9c6.webp?v=1737529312","variant_ids":[41789054025827]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 Pro Max - 【聯名設計款】 - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - 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":"NPB0114924-SZ05","featured_media":{"alt":null,"id":23785272213603,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15e8058cef2289bc7f99c628cefd0dce8103f6cc_26f6037d-85a5-4abe-8acb-60064d42b9c6.webp?v=1737529312"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0f66ed6e94ee97a1732a10bb60f4c4cf5ea5efb_74f3ba4a-8f90-4598-9fe4-57670de5f953.webp?v=1737529312","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a29f8a4f0f2714019f52dcf283aaaea996d448d_31de5ac4-de94-4d11-806a-51094be83e95.webp?v=1737529312","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf0df942782d91851d72a64b51e542021e3236f_13183394-cd0e-49ee-8f2f-cdadf2fd08b2.webp?v=1737529312","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45792a36ea26b9ca7822db3580d9d74a6ef87080_ff819539-bacb-4d67-8bcf-592dcb950b80.webp?v=1737529312","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b41ab93dbc84a2478a04bcdcb6e6fa10d2b01a5_859b8fab-a9f8-4c5d-9acc-dcdd406bc936.webp?v=1737529312","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3709c2dd4ac6c84630ed97bfdff6b49a58b56e76_6da5865e-d5ac-4f50-981e-1081605093e0.webp?v=1737529312","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15e8058cef2289bc7f99c628cefd0dce8103f6cc_26f6037d-85a5-4abe-8acb-60064d42b9c6.webp?v=1737529312","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88f604db7ac950722d41b364cb2f8776f7503c70_1f934c1b-080d-43ea-9667-5c79a13d773e.webp?v=1737529312"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0f66ed6e94ee97a1732a10bb60f4c4cf5ea5efb_74f3ba4a-8f90-4598-9fe4-57670de5f953.webp?v=1737529312","options":["color"],"media":[{"alt":null,"id":23785266872419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0f66ed6e94ee97a1732a10bb60f4c4cf5ea5efb_74f3ba4a-8f90-4598-9fe4-57670de5f953.webp?v=1737529312"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0f66ed6e94ee97a1732a10bb60f4c4cf5ea5efb_74f3ba4a-8f90-4598-9fe4-57670de5f953.webp?v=1737529312","width":2000},{"alt":null,"id":23785267527779,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a29f8a4f0f2714019f52dcf283aaaea996d448d_31de5ac4-de94-4d11-806a-51094be83e95.webp?v=1737529312"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a29f8a4f0f2714019f52dcf283aaaea996d448d_31de5ac4-de94-4d11-806a-51094be83e95.webp?v=1737529312","width":2000},{"alt":null,"id":23785268183139,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf0df942782d91851d72a64b51e542021e3236f_13183394-cd0e-49ee-8f2f-cdadf2fd08b2.webp?v=1737529312"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf0df942782d91851d72a64b51e542021e3236f_13183394-cd0e-49ee-8f2f-cdadf2fd08b2.webp?v=1737529312","width":2000},{"alt":null,"id":23785268838499,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45792a36ea26b9ca7822db3580d9d74a6ef87080_ff819539-bacb-4d67-8bcf-592dcb950b80.webp?v=1737529312"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45792a36ea26b9ca7822db3580d9d74a6ef87080_ff819539-bacb-4d67-8bcf-592dcb950b80.webp?v=1737529312","width":2000},{"alt":null,"id":23785269919843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b41ab93dbc84a2478a04bcdcb6e6fa10d2b01a5_859b8fab-a9f8-4c5d-9acc-dcdd406bc936.webp?v=1737529312"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b41ab93dbc84a2478a04bcdcb6e6fa10d2b01a5_859b8fab-a9f8-4c5d-9acc-dcdd406bc936.webp?v=1737529312","width":2000},{"alt":null,"id":23785271623779,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3709c2dd4ac6c84630ed97bfdff6b49a58b56e76_6da5865e-d5ac-4f50-981e-1081605093e0.webp?v=1737529312"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3709c2dd4ac6c84630ed97bfdff6b49a58b56e76_6da5865e-d5ac-4f50-981e-1081605093e0.webp?v=1737529312","width":2000},{"alt":null,"id":23785272213603,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15e8058cef2289bc7f99c628cefd0dce8103f6cc_26f6037d-85a5-4abe-8acb-60064d42b9c6.webp?v=1737529312"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15e8058cef2289bc7f99c628cefd0dce8103f6cc_26f6037d-85a5-4abe-8acb-60064d42b9c6.webp?v=1737529312","width":2000},{"alt":null,"id":23785272803427,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88f604db7ac950722d41b364cb2f8776f7503c70_1f934c1b-080d-43ea-9667-5c79a13d773e.webp?v=1737529312"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88f604db7ac950722d41b364cb2f8776f7503c70_1f934c1b-080d-43ea-9667-5c79a13d773e.webp?v=1737529312","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":""};
$isMerge = null;
$variants = [{"id":41789054025827,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114924-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31383058940003,"product_id":7366377046115,"position":7,"created_at":"2024-04-23T10:47:42+08:00","updated_at":"2025-01-22T15:01:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15e8058cef2289bc7f99c628cefd0dce8103f6cc_26f6037d-85a5-4abe-8acb-60064d42b9c6.webp?v=1737529312","variant_ids":[41789054025827]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 Pro Max - 【聯名設計款】 - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - 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":"NPB0114924-SZ05","featured_media":{"alt":null,"id":23785272213603,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15e8058cef2289bc7f99c628cefd0dce8103f6cc_26f6037d-85a5-4abe-8acb-60064d42b9c6.webp?v=1737529312"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41789054025827,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0114924-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31383058940003,"product_id":7366377046115,"position":7,"created_at":"2024-04-23T10:47:42+08:00","updated_at":"2025-01-22T15:01:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15e8058cef2289bc7f99c628cefd0dce8103f6cc_26f6037d-85a5-4abe-8acb-60064d42b9c6.webp?v=1737529312","variant_ids":[41789054025827]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 11 Pro Max - 【聯名設計款】 - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - 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":"NPB0114924-SZ05","featured_media":{"alt":null,"id":23785272213603,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15e8058cef2289bc7f99c628cefd0dce8103f6cc_26f6037d-85a5-4abe-8acb-60064d42b9c6.webp?v=1737529312"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(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: "停產"
}