$product = {"id":7413978857571,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - Weiweiboy - 可愛大王10週年","handle":"iphone-13-pro-max-mod-nx-magsafe-printable-eo05","description":null,"published_at":"2024-06-11T17:46:44+08:00","created_at":"2024-05-05T13:54:26+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Weiweiboy","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-weiweiboy","device-iPhone 13 Pro Max","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-weiweiboy","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":41902944583779,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-EO05","requires_shipping":true,"taxable":true,"featured_image":{"id":31484381069411,"product_id":7413978857571,"position":9,"created_at":"2024-05-05T13:54:56+08:00","updated_at":"2024-05-05T13:54:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10e93a2739ec47f5f016be7217696a63abeef345_9dec6ef7-f736-4a15-a3b9-6117bcad6c1d.webp?v=1714888496","variant_ids":[41902944583779]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - Weiweiboy - 可愛大王10週年 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-EO05","featured_media":{"alt":null,"id":23889674960995,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10e93a2739ec47f5f016be7217696a63abeef345_9dec6ef7-f736-4a15-a3b9-6117bcad6c1d.webp?v=1714888496"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902945140835,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01232J5-EO05","requires_shipping":true,"taxable":true,"featured_image":{"id":31484379234403,"product_id":7413978857571,"position":8,"created_at":"2024-05-05T13:54:46+08:00","updated_at":"2024-05-05T13:54:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd037347ca29fa885e94c8cca10400becfae1f6_8e6520e0-27a2-4832-92d0-f534f26de607.webp?v=1714888486","variant_ids":[41902945140835]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - Weiweiboy - 可愛大王10週年 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-EO05","featured_media":{"alt":null,"id":23889673191523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd037347ca29fa885e94c8cca10400becfae1f6_8e6520e0-27a2-4832-92d0-f534f26de607.webp?v=1714888486"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73a4e06225205d998104630b9fffa9ed97a48313_2a31f594-9e3d-41ff-b18b-81ddef0689cf.webp?v=1714888468","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86dbc578d9f3942255bf086a32b7955c0ac1fd60_773e3dd2-7fa8-46f8-b278-f2a7dde22f39.webp?v=1714888471","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97cdbbae1bd7a1c2507fabfd6c25bc2b82141e3f_dc840f02-33e6-4c9c-b3ce-8c2922fe1c85.webp?v=1714888473","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97904700ba7d02b3b6874a237bd8ebb1a6f7d23c_c68669bb-ec11-46dc-bea7-dabd95b8b813.webp?v=1714888476","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dec4877b2acedb7efc5f9aa99b5d808f7f31eb7_9a9c5c28-caaa-43cb-81f2-924c34d56d19.webp?v=1714888479","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8551b3a01e6dfd4b1f312f83d2e152e2715bb4d1_04e4d9db-5658-4428-88ea-29075bbb0940.webp?v=1714888481","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3af12ed9ecf68dc7f9718a9bd84eb2de67b20c6b_1b316512-004a-4716-9e4b-2883e8521f16.webp?v=1714888483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd037347ca29fa885e94c8cca10400becfae1f6_8e6520e0-27a2-4832-92d0-f534f26de607.webp?v=1714888486","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10e93a2739ec47f5f016be7217696a63abeef345_9dec6ef7-f736-4a15-a3b9-6117bcad6c1d.webp?v=1714888496","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/671f2c355da081f1ad5e4c1e920478718027980f_2533ee75-91cb-4ded-8a8f-3ef45ba1759b.webp?v=1714888499","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d42306a85274be6ad83a34bd329ab1ac916530f0_a74f976b-6fc5-483a-999e-192939b27851.webp?v=1714888501","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57b1d117b6402faadb4efdcabc7d63e8c1cd815d_1496068b-7f3f-490d-a5e4-4f9fd85798cb.webp?v=1714888503"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73a4e06225205d998104630b9fffa9ed97a48313_2a31f594-9e3d-41ff-b18b-81ddef0689cf.webp?v=1714888468","options":["color"],"media":[{"alt":null,"id":23889669587043,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73a4e06225205d998104630b9fffa9ed97a48313_2a31f594-9e3d-41ff-b18b-81ddef0689cf.webp?v=1714888468"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73a4e06225205d998104630b9fffa9ed97a48313_2a31f594-9e3d-41ff-b18b-81ddef0689cf.webp?v=1714888468","width":2000},{"alt":null,"id":23889669947491,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86dbc578d9f3942255bf086a32b7955c0ac1fd60_773e3dd2-7fa8-46f8-b278-f2a7dde22f39.webp?v=1714888471"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86dbc578d9f3942255bf086a32b7955c0ac1fd60_773e3dd2-7fa8-46f8-b278-f2a7dde22f39.webp?v=1714888471","width":2000},{"alt":null,"id":23889670635619,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97cdbbae1bd7a1c2507fabfd6c25bc2b82141e3f_dc840f02-33e6-4c9c-b3ce-8c2922fe1c85.webp?v=1714888473"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97cdbbae1bd7a1c2507fabfd6c25bc2b82141e3f_dc840f02-33e6-4c9c-b3ce-8c2922fe1c85.webp?v=1714888473","width":2000},{"alt":null,"id":23889671094371,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97904700ba7d02b3b6874a237bd8ebb1a6f7d23c_c68669bb-ec11-46dc-bea7-dabd95b8b813.webp?v=1714888476"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97904700ba7d02b3b6874a237bd8ebb1a6f7d23c_c68669bb-ec11-46dc-bea7-dabd95b8b813.webp?v=1714888476","width":2000},{"alt":null,"id":23889671651427,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dec4877b2acedb7efc5f9aa99b5d808f7f31eb7_9a9c5c28-caaa-43cb-81f2-924c34d56d19.webp?v=1714888479"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dec4877b2acedb7efc5f9aa99b5d808f7f31eb7_9a9c5c28-caaa-43cb-81f2-924c34d56d19.webp?v=1714888479","width":2000},{"alt":null,"id":23889672077411,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8551b3a01e6dfd4b1f312f83d2e152e2715bb4d1_04e4d9db-5658-4428-88ea-29075bbb0940.webp?v=1714888481"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8551b3a01e6dfd4b1f312f83d2e152e2715bb4d1_04e4d9db-5658-4428-88ea-29075bbb0940.webp?v=1714888481","width":2000},{"alt":null,"id":23889672536163,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3af12ed9ecf68dc7f9718a9bd84eb2de67b20c6b_1b316512-004a-4716-9e4b-2883e8521f16.webp?v=1714888483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3af12ed9ecf68dc7f9718a9bd84eb2de67b20c6b_1b316512-004a-4716-9e4b-2883e8521f16.webp?v=1714888483","width":2000},{"alt":null,"id":23889673191523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd037347ca29fa885e94c8cca10400becfae1f6_8e6520e0-27a2-4832-92d0-f534f26de607.webp?v=1714888486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd037347ca29fa885e94c8cca10400becfae1f6_8e6520e0-27a2-4832-92d0-f534f26de607.webp?v=1714888486","width":2000},{"alt":null,"id":23889674960995,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10e93a2739ec47f5f016be7217696a63abeef345_9dec6ef7-f736-4a15-a3b9-6117bcad6c1d.webp?v=1714888496"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10e93a2739ec47f5f016be7217696a63abeef345_9dec6ef7-f736-4a15-a3b9-6117bcad6c1d.webp?v=1714888496","width":2000},{"alt":null,"id":23889675649123,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/671f2c355da081f1ad5e4c1e920478718027980f_2533ee75-91cb-4ded-8a8f-3ef45ba1759b.webp?v=1714888499"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/671f2c355da081f1ad5e4c1e920478718027980f_2533ee75-91cb-4ded-8a8f-3ef45ba1759b.webp?v=1714888499","width":2000},{"alt":null,"id":23889676173411,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d42306a85274be6ad83a34bd329ab1ac916530f0_a74f976b-6fc5-483a-999e-192939b27851.webp?v=1714888501"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d42306a85274be6ad83a34bd329ab1ac916530f0_a74f976b-6fc5-483a-999e-192939b27851.webp?v=1714888501","width":2000},{"alt":null,"id":23889676599395,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57b1d117b6402faadb4efdcabc7d63e8c1cd815d_1496068b-7f3f-490d-a5e4-4f9fd85798cb.webp?v=1714888503"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57b1d117b6402faadb4efdcabc7d63e8c1cd815d_1496068b-7f3f-490d-a5e4-4f9fd85798cb.webp?v=1714888503","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41902944583779,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-EO05","requires_shipping":true,"taxable":true,"featured_image":{"id":31484381069411,"product_id":7413978857571,"position":9,"created_at":"2024-05-05T13:54:56+08:00","updated_at":"2024-05-05T13:54:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10e93a2739ec47f5f016be7217696a63abeef345_9dec6ef7-f736-4a15-a3b9-6117bcad6c1d.webp?v=1714888496","variant_ids":[41902944583779]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - Weiweiboy - 可愛大王10週年 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-EO05","featured_media":{"alt":null,"id":23889674960995,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10e93a2739ec47f5f016be7217696a63abeef345_9dec6ef7-f736-4a15-a3b9-6117bcad6c1d.webp?v=1714888496"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41902945140835,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01232J5-EO05","requires_shipping":true,"taxable":true,"featured_image":{"id":31484379234403,"product_id":7413978857571,"position":8,"created_at":"2024-05-05T13:54:46+08:00","updated_at":"2024-05-05T13:54:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd037347ca29fa885e94c8cca10400becfae1f6_8e6520e0-27a2-4832-92d0-f534f26de607.webp?v=1714888486","variant_ids":[41902945140835]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - Weiweiboy - 可愛大王10週年 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01232J5-EO05","featured_media":{"alt":null,"id":23889673191523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cdd037347ca29fa885e94c8cca10400becfae1f6_8e6520e0-27a2-4832-92d0-f534f26de607.webp?v=1714888486"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41902944583779,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0123224-EO05","requires_shipping":true,"taxable":true,"featured_image":{"id":31484381069411,"product_id":7413978857571,"position":9,"created_at":"2024-05-05T13:54:56+08:00","updated_at":"2024-05-05T13:54:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10e93a2739ec47f5f016be7217696a63abeef345_9dec6ef7-f736-4a15-a3b9-6117bcad6c1d.webp?v=1714888496","variant_ids":[41902944583779]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 Pro Max - Weiweiboy - 可愛大王10週年 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-EO05","featured_media":{"alt":null,"id":23889674960995,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/10e93a2739ec47f5f016be7217696a63abeef345_9dec6ef7-f736-4a15-a3b9-6117bcad6c1d.webp?v=1714888496"}},"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: "停產"
}