Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Weiweiboy - 可愛大王10週年
$product = {"id":7414944923747,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Weiweiboy - 可愛大王10週年","handle":"iphone-12-mini-mod-nx-magsafe-printable-eo05","description":null,"published_at":"2024-06-11T17:53:46+08:00","created_at":"2024-05-05T19:53:35+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 12 mini","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":41910211018851,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-EO05","requires_shipping":true,"taxable":true,"featured_image":{"id":31487750635619,"product_id":7414944923747,"position":11,"created_at":"2024-05-05T19:54:03+08:00","updated_at":"2024-05-05T19:54:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df9add34d3e66876acb5d07741d90c04de85aa6e_5a3ae1ce-7c22-4492-ae68-624eedf68d5a.webp?v=1714910043","variant_ids":[41910211018851]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 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":"MPB0118424-EO05","featured_media":{"alt":null,"id":23893094498403,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df9add34d3e66876acb5d07741d90c04de85aa6e_5a3ae1ce-7c22-4492-ae68-624eedf68d5a.webp?v=1714910043"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e7ba48005e62d0000b127554dd6f6a4de39d33e_7e68fb73-9a04-4121-b338-fb9bb2694817.webp?v=1714910018","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6b5920b314b5346d5872f30e91f07669978616e_a6e2bfb3-46e3-4120-a04d-31bedb36b913.webp?v=1714910020","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdabb3909deb8e7ce234b08278f22be50d0957c2_2360ebf1-9aa5-4e3a-9e7f-5747134514ec.webp?v=1714910023","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6893a1304424a96e2181d1b173a6bd70335ee8c4_85ea6183-a491-4f02-ac78-221846013647.webp?v=1714910025","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8392a684d7636af1372e5a7f12d2a737dca91b1_9ad51fb1-63cb-4733-b7d2-44f7c773d807.webp?v=1714910028","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d2d36541d718828ce3e1310ca624a8f0817757a_b54c8455-511b-4f40-88a1-6ec5b6172547.webp?v=1714910030","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2bea8038cd7911af897e94983be5d7097f1bfe2_48037b15-d4f1-456c-a0d7-f01d087fd186.webp?v=1714910033","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a250b52c3d34848f8e36e74dbd1c7a2b7a8d5e3f_5d81bf2d-7870-4495-a241-37e7d5b67919.webp?v=1714910035","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b973f9081f9bc155216a46552b2a509e5fbca93_43079cd1-6e33-426c-b912-bbc6c6480361.webp?v=1714910038","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7985c95fa498b796becaca683235884441ed97e_e151c182-2e81-4f37-a486-10688905542e.webp?v=1714910040","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df9add34d3e66876acb5d07741d90c04de85aa6e_5a3ae1ce-7c22-4492-ae68-624eedf68d5a.webp?v=1714910043"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e7ba48005e62d0000b127554dd6f6a4de39d33e_7e68fb73-9a04-4121-b338-fb9bb2694817.webp?v=1714910018","options":["color"],"media":[{"alt":null,"id":23893088764003,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e7ba48005e62d0000b127554dd6f6a4de39d33e_7e68fb73-9a04-4121-b338-fb9bb2694817.webp?v=1714910018"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e7ba48005e62d0000b127554dd6f6a4de39d33e_7e68fb73-9a04-4121-b338-fb9bb2694817.webp?v=1714910018","width":2000},{"alt":null,"id":23893089321059,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6b5920b314b5346d5872f30e91f07669978616e_a6e2bfb3-46e3-4120-a04d-31bedb36b913.webp?v=1714910020"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6b5920b314b5346d5872f30e91f07669978616e_a6e2bfb3-46e3-4120-a04d-31bedb36b913.webp?v=1714910020","width":2000},{"alt":null,"id":23893089779811,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdabb3909deb8e7ce234b08278f22be50d0957c2_2360ebf1-9aa5-4e3a-9e7f-5747134514ec.webp?v=1714910023"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdabb3909deb8e7ce234b08278f22be50d0957c2_2360ebf1-9aa5-4e3a-9e7f-5747134514ec.webp?v=1714910023","width":2000},{"alt":null,"id":23893090271331,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6893a1304424a96e2181d1b173a6bd70335ee8c4_85ea6183-a491-4f02-ac78-221846013647.webp?v=1714910025"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6893a1304424a96e2181d1b173a6bd70335ee8c4_85ea6183-a491-4f02-ac78-221846013647.webp?v=1714910025","width":2000},{"alt":null,"id":23893090795619,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8392a684d7636af1372e5a7f12d2a737dca91b1_9ad51fb1-63cb-4733-b7d2-44f7c773d807.webp?v=1714910028"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8392a684d7636af1372e5a7f12d2a737dca91b1_9ad51fb1-63cb-4733-b7d2-44f7c773d807.webp?v=1714910028","width":2000},{"alt":null,"id":23893091778659,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d2d36541d718828ce3e1310ca624a8f0817757a_b54c8455-511b-4f40-88a1-6ec5b6172547.webp?v=1714910030"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d2d36541d718828ce3e1310ca624a8f0817757a_b54c8455-511b-4f40-88a1-6ec5b6172547.webp?v=1714910030","width":2000},{"alt":null,"id":23893092204643,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2bea8038cd7911af897e94983be5d7097f1bfe2_48037b15-d4f1-456c-a0d7-f01d087fd186.webp?v=1714910033"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2bea8038cd7911af897e94983be5d7097f1bfe2_48037b15-d4f1-456c-a0d7-f01d087fd186.webp?v=1714910033","width":2000},{"alt":null,"id":23893092794467,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a250b52c3d34848f8e36e74dbd1c7a2b7a8d5e3f_5d81bf2d-7870-4495-a241-37e7d5b67919.webp?v=1714910035"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a250b52c3d34848f8e36e74dbd1c7a2b7a8d5e3f_5d81bf2d-7870-4495-a241-37e7d5b67919.webp?v=1714910035","width":2000},{"alt":null,"id":23893093515363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b973f9081f9bc155216a46552b2a509e5fbca93_43079cd1-6e33-426c-b912-bbc6c6480361.webp?v=1714910038"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b973f9081f9bc155216a46552b2a509e5fbca93_43079cd1-6e33-426c-b912-bbc6c6480361.webp?v=1714910038","width":2000},{"alt":null,"id":23893094039651,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7985c95fa498b796becaca683235884441ed97e_e151c182-2e81-4f37-a486-10688905542e.webp?v=1714910040"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7985c95fa498b796becaca683235884441ed97e_e151c182-2e81-4f37-a486-10688905542e.webp?v=1714910040","width":2000},{"alt":null,"id":23893094498403,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df9add34d3e66876acb5d07741d90c04de85aa6e_5a3ae1ce-7c22-4492-ae68-624eedf68d5a.webp?v=1714910043"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df9add34d3e66876acb5d07741d90c04de85aa6e_5a3ae1ce-7c22-4492-ae68-624eedf68d5a.webp?v=1714910043","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41910211018851,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-EO05","requires_shipping":true,"taxable":true,"featured_image":{"id":31487750635619,"product_id":7414944923747,"position":11,"created_at":"2024-05-05T19:54:03+08:00","updated_at":"2024-05-05T19:54:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df9add34d3e66876acb5d07741d90c04de85aa6e_5a3ae1ce-7c22-4492-ae68-624eedf68d5a.webp?v=1714910043","variant_ids":[41910211018851]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 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":"MPB0118424-EO05","featured_media":{"alt":null,"id":23893094498403,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df9add34d3e66876acb5d07741d90c04de85aa6e_5a3ae1ce-7c22-4492-ae68-624eedf68d5a.webp?v=1714910043"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41910211018851,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-EO05","requires_shipping":true,"taxable":true,"featured_image":{"id":31487750635619,"product_id":7414944923747,"position":11,"created_at":"2024-05-05T19:54:03+08:00","updated_at":"2024-05-05T19:54:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df9add34d3e66876acb5d07741d90c04de85aa6e_5a3ae1ce-7c22-4492-ae68-624eedf68d5a.webp?v=1714910043","variant_ids":[41910211018851]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 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":"MPB0118424-EO05","featured_media":{"alt":null,"id":23893094498403,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df9add34d3e66876acb5d07741d90c04de85aa6e_5a3ae1ce-7c22-4492-ae68-624eedf68d5a.webp?v=1714910043"}},"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: "停產"
}