$product = {"id":7413999272035,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - 迪士尼-星際大戰 Star Wars - 風暴兵-線稿風格","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-pb53","description":null,"published_at":"2024-06-11T17:47:18+08:00","created_at":"2024-05-05T13:58:20+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 13 Pro Max","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","Top50","type-Mod NX Printable MagSafe Printable"],"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":41903166652515,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-PB53","requires_shipping":true,"taxable":true,"featured_image":{"id":31484428320867,"product_id":7413999272035,"position":8,"created_at":"2024-05-05T13:58:38+08:00","updated_at":"2024-05-05T13:58:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94907a714d8f4495922ffde9594144701e549d58_3248f929-7430-4d94-81b5-35b3b347081a.webp?v=1714888718","variant_ids":[41903166652515]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - 迪士尼-星際大戰 Star Wars - 風暴兵-線稿風格 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-PB53","featured_media":{"alt":null,"id":23889722343523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94907a714d8f4495922ffde9594144701e549d58_3248f929-7430-4d94-81b5-35b3b347081a.webp?v=1714888718"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903167012963,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01232J5-PB53","requires_shipping":true,"taxable":true,"featured_image":{"id":31484429729891,"product_id":7413999272035,"position":11,"created_at":"2024-05-05T13:58:45+08:00","updated_at":"2024-05-05T13:58:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1222c9a95372b1f2e2d7a1ba6f7529c8d27f340c_3a16b710-d467-4603-87b1-17a8ddf3c549.webp?v=1714888725","variant_ids":[41903167012963]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - 迪士尼-星際大戰 Star Wars - 風暴兵-線稿風格 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-PB53","featured_media":{"alt":null,"id":23889723752547,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1222c9a95372b1f2e2d7a1ba6f7529c8d27f340c_3a16b710-d467-4603-87b1-17a8ddf3c549.webp?v=1714888725"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc58bd870331fc5fcb61a993cdb206871ac23842_d033210c-6af5-4d58-8e90-a2c75fac870e.webp?v=1714888703","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87f5a62339f671123af027eea7994135059925e0_1765dc86-57d4-4b9e-a7a5-173778fbe0e2.webp?v=1714888705","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75426ab847d0c796e08576b0fc6d073f3a0b661a_b794bc73-74d4-46dc-88f2-7eecf593df33.webp?v=1714888707","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86591891e4ddc336c7978f246144fb0f86532edd_c76f1ce1-4a30-4966-8ff2-ac132abf1a88.webp?v=1714888709","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a0dfaa7cb5c6f6c16af93bd42ec027b48a62b56_73bd6953-cada-4d3d-a370-7de8cfbe49c8.webp?v=1714888712","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b90aeddbf7c00b89e13dd20cbeaddfb147520d3_528d8836-5db1-4348-b454-0ec5d8e8fee7.webp?v=1714888714","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80a04b36affd6a2c386348450e419406270e5934_e396c9f4-9d8f-4ad3-8125-96f2a2d52c4c.webp?v=1714888716","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94907a714d8f4495922ffde9594144701e549d58_3248f929-7430-4d94-81b5-35b3b347081a.webp?v=1714888718","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/339a3e22ab35016179d724f7fdd566b96ec8f9b2_ef117336-4a60-441f-8bbc-021fbe76053a.webp?v=1714888721","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecbdc722e2fd6808dfba8622ba7920e7bec42fed_6b672538-39e7-4ddb-b0c1-4498448beb1d.webp?v=1714888723","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1222c9a95372b1f2e2d7a1ba6f7529c8d27f340c_3a16b710-d467-4603-87b1-17a8ddf3c549.webp?v=1714888725"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc58bd870331fc5fcb61a993cdb206871ac23842_d033210c-6af5-4d58-8e90-a2c75fac870e.webp?v=1714888703","options":["color"],"media":[{"alt":null,"id":23889718837347,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc58bd870331fc5fcb61a993cdb206871ac23842_d033210c-6af5-4d58-8e90-a2c75fac870e.webp?v=1714888703"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc58bd870331fc5fcb61a993cdb206871ac23842_d033210c-6af5-4d58-8e90-a2c75fac870e.webp?v=1714888703","width":2000},{"alt":null,"id":23889719394403,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87f5a62339f671123af027eea7994135059925e0_1765dc86-57d4-4b9e-a7a5-173778fbe0e2.webp?v=1714888705"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87f5a62339f671123af027eea7994135059925e0_1765dc86-57d4-4b9e-a7a5-173778fbe0e2.webp?v=1714888705","width":2000},{"alt":null,"id":23889719951459,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75426ab847d0c796e08576b0fc6d073f3a0b661a_b794bc73-74d4-46dc-88f2-7eecf593df33.webp?v=1714888707"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75426ab847d0c796e08576b0fc6d073f3a0b661a_b794bc73-74d4-46dc-88f2-7eecf593df33.webp?v=1714888707","width":2000},{"alt":null,"id":23889720246371,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86591891e4ddc336c7978f246144fb0f86532edd_c76f1ce1-4a30-4966-8ff2-ac132abf1a88.webp?v=1714888709"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86591891e4ddc336c7978f246144fb0f86532edd_c76f1ce1-4a30-4966-8ff2-ac132abf1a88.webp?v=1714888709","width":2000},{"alt":null,"id":23889720836195,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a0dfaa7cb5c6f6c16af93bd42ec027b48a62b56_73bd6953-cada-4d3d-a370-7de8cfbe49c8.webp?v=1714888712"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a0dfaa7cb5c6f6c16af93bd42ec027b48a62b56_73bd6953-cada-4d3d-a370-7de8cfbe49c8.webp?v=1714888712","width":2000},{"alt":null,"id":23889721196643,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b90aeddbf7c00b89e13dd20cbeaddfb147520d3_528d8836-5db1-4348-b454-0ec5d8e8fee7.webp?v=1714888714"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b90aeddbf7c00b89e13dd20cbeaddfb147520d3_528d8836-5db1-4348-b454-0ec5d8e8fee7.webp?v=1714888714","width":2000},{"alt":null,"id":23889721884771,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80a04b36affd6a2c386348450e419406270e5934_e396c9f4-9d8f-4ad3-8125-96f2a2d52c4c.webp?v=1714888716"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80a04b36affd6a2c386348450e419406270e5934_e396c9f4-9d8f-4ad3-8125-96f2a2d52c4c.webp?v=1714888716","width":2000},{"alt":null,"id":23889722343523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94907a714d8f4495922ffde9594144701e549d58_3248f929-7430-4d94-81b5-35b3b347081a.webp?v=1714888718"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94907a714d8f4495922ffde9594144701e549d58_3248f929-7430-4d94-81b5-35b3b347081a.webp?v=1714888718","width":2000},{"alt":null,"id":23889722802275,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/339a3e22ab35016179d724f7fdd566b96ec8f9b2_ef117336-4a60-441f-8bbc-021fbe76053a.webp?v=1714888721"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/339a3e22ab35016179d724f7fdd566b96ec8f9b2_ef117336-4a60-441f-8bbc-021fbe76053a.webp?v=1714888721","width":2000},{"alt":null,"id":23889723326563,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecbdc722e2fd6808dfba8622ba7920e7bec42fed_6b672538-39e7-4ddb-b0c1-4498448beb1d.webp?v=1714888723"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecbdc722e2fd6808dfba8622ba7920e7bec42fed_6b672538-39e7-4ddb-b0c1-4498448beb1d.webp?v=1714888723","width":2000},{"alt":null,"id":23889723752547,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1222c9a95372b1f2e2d7a1ba6f7529c8d27f340c_3a16b710-d467-4603-87b1-17a8ddf3c549.webp?v=1714888725"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1222c9a95372b1f2e2d7a1ba6f7529c8d27f340c_3a16b710-d467-4603-87b1-17a8ddf3c549.webp?v=1714888725","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41903166652515,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-PB53","requires_shipping":true,"taxable":true,"featured_image":{"id":31484428320867,"product_id":7413999272035,"position":8,"created_at":"2024-05-05T13:58:38+08:00","updated_at":"2024-05-05T13:58:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94907a714d8f4495922ffde9594144701e549d58_3248f929-7430-4d94-81b5-35b3b347081a.webp?v=1714888718","variant_ids":[41903166652515]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - 迪士尼-星際大戰 Star Wars - 風暴兵-線稿風格 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-PB53","featured_media":{"alt":null,"id":23889722343523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94907a714d8f4495922ffde9594144701e549d58_3248f929-7430-4d94-81b5-35b3b347081a.webp?v=1714888718"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41903167012963,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01232J5-PB53","requires_shipping":true,"taxable":true,"featured_image":{"id":31484429729891,"product_id":7413999272035,"position":11,"created_at":"2024-05-05T13:58:45+08:00","updated_at":"2024-05-05T13:58:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1222c9a95372b1f2e2d7a1ba6f7529c8d27f340c_3a16b710-d467-4603-87b1-17a8ddf3c549.webp?v=1714888725","variant_ids":[41903167012963]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - 迪士尼-星際大戰 Star Wars - 風暴兵-線稿風格 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-PB53","featured_media":{"alt":null,"id":23889723752547,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1222c9a95372b1f2e2d7a1ba6f7529c8d27f340c_3a16b710-d467-4603-87b1-17a8ddf3c549.webp?v=1714888725"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41903166652515,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-PB53","requires_shipping":true,"taxable":true,"featured_image":{"id":31484428320867,"product_id":7413999272035,"position":8,"created_at":"2024-05-05T13:58:38+08:00","updated_at":"2024-05-05T13:58:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94907a714d8f4495922ffde9594144701e549d58_3248f929-7430-4d94-81b5-35b3b347081a.webp?v=1714888718","variant_ids":[41903166652515]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - 迪士尼-星際大戰 Star Wars - 風暴兵-線稿風格 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-PB53","featured_media":{"alt":null,"id":23889722343523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94907a714d8f4495922ffde9594144701e549d58_3248f929-7430-4d94-81b5-35b3b347081a.webp?v=1714888718"}},"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: "停產"
}