Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 迪士尼-星際大戰 Star Wars - 黑武士-經典
$product = {"id":7415000170595,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 迪士尼-星際大戰 Star Wars - 黑武士-經典","handle":"iphone-12-mini-mod-nx-magsafe-printable-pb23","description":null,"published_at":"2024-06-11T17:55:17+08:00","created_at":"2024-05-05T20:03:48+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 12 mini","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":41910799761507,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-PB23","requires_shipping":true,"taxable":true,"featured_image":{"id":31487888392291,"product_id":7415000170595,"position":1,"created_at":"2024-05-05T20:03:51+08:00","updated_at":"2024-05-05T20:03:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c6859542840fce6e005a8f53d4bc4f75ecb23f9_d4ced89f-bfc8-4791-a244-2ecc5aeb479c.webp?v=1714910631","variant_ids":[41910799761507]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 迪士尼-星際大戰 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":"MPB0118424-PB23","featured_media":{"alt":null,"id":23893232418915,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c6859542840fce6e005a8f53d4bc4f75ecb23f9_d4ced89f-bfc8-4791-a244-2ecc5aeb479c.webp?v=1714910631"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c6859542840fce6e005a8f53d4bc4f75ecb23f9_d4ced89f-bfc8-4791-a244-2ecc5aeb479c.webp?v=1714910631","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1106f6572e712894c18d3087db2273694143d33_65fae93f-9306-4479-a8a2-fe49c181468b.webp?v=1714910633","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/753522baa35e88d0c45aad8116413679fcbd6d57_8ed9a145-d643-4ee8-ad7b-f31119d480be.webp?v=1714910635","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfa357cd14bbdb699049b7df24388b26bf93d9db_5dafd3be-6d29-41ff-9489-2f66e7ac8152.webp?v=1714910638","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6fc755a61113d648f540412c369063dd85322db_e9918e0b-d0c9-47f4-8d58-cb5a767b1e42.webp?v=1714910640","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d0cd531a00f177e1c1499d0c9f3b2a89c40292_df04ab09-d0ca-496b-9370-d2d69a7407bd.webp?v=1714910642","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8115083de0024fb0f825a89e3c49e06de535c206_a9e74ad2-ae56-401b-9938-070680920e4c.webp?v=1714910645","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b23f65520e31f1cde2b7e83d2d3eb3ddd5b4d4e0_86963add-e6ab-485e-b699-1ac1c86816a3.webp?v=1714910647","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f147d90806653417cc61d8be797e7f4c4771c1c_5808c3d0-6b2e-4bfa-b7cc-66ed6d2ea56e.webp?v=1714910649","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb318a65e6a5d0cbdcd1f16d59dca067d921485b_48796cf0-369d-4028-969b-d5f17dc0c201.webp?v=1714910652","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68d40bb143a3001b8c0504242c3714f31bd154bc_2e3ad8f6-1f91-4e77-830e-65a385a89b3f.webp?v=1714910654"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c6859542840fce6e005a8f53d4bc4f75ecb23f9_d4ced89f-bfc8-4791-a244-2ecc5aeb479c.webp?v=1714910631","options":["color"],"media":[{"alt":null,"id":23893232418915,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c6859542840fce6e005a8f53d4bc4f75ecb23f9_d4ced89f-bfc8-4791-a244-2ecc5aeb479c.webp?v=1714910631"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c6859542840fce6e005a8f53d4bc4f75ecb23f9_d4ced89f-bfc8-4791-a244-2ecc5aeb479c.webp?v=1714910631","width":2000},{"alt":null,"id":23893232877667,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1106f6572e712894c18d3087db2273694143d33_65fae93f-9306-4479-a8a2-fe49c181468b.webp?v=1714910633"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a1106f6572e712894c18d3087db2273694143d33_65fae93f-9306-4479-a8a2-fe49c181468b.webp?v=1714910633","width":2000},{"alt":null,"id":23893233303651,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/753522baa35e88d0c45aad8116413679fcbd6d57_8ed9a145-d643-4ee8-ad7b-f31119d480be.webp?v=1714910635"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/753522baa35e88d0c45aad8116413679fcbd6d57_8ed9a145-d643-4ee8-ad7b-f31119d480be.webp?v=1714910635","width":2000},{"alt":null,"id":23893233795171,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfa357cd14bbdb699049b7df24388b26bf93d9db_5dafd3be-6d29-41ff-9489-2f66e7ac8152.webp?v=1714910638"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cfa357cd14bbdb699049b7df24388b26bf93d9db_5dafd3be-6d29-41ff-9489-2f66e7ac8152.webp?v=1714910638","width":2000},{"alt":null,"id":23893234221155,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6fc755a61113d648f540412c369063dd85322db_e9918e0b-d0c9-47f4-8d58-cb5a767b1e42.webp?v=1714910640"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6fc755a61113d648f540412c369063dd85322db_e9918e0b-d0c9-47f4-8d58-cb5a767b1e42.webp?v=1714910640","width":2000},{"alt":null,"id":23893234679907,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d0cd531a00f177e1c1499d0c9f3b2a89c40292_df04ab09-d0ca-496b-9370-d2d69a7407bd.webp?v=1714910642"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d0cd531a00f177e1c1499d0c9f3b2a89c40292_df04ab09-d0ca-496b-9370-d2d69a7407bd.webp?v=1714910642","width":2000},{"alt":null,"id":23893235204195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8115083de0024fb0f825a89e3c49e06de535c206_a9e74ad2-ae56-401b-9938-070680920e4c.webp?v=1714910645"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8115083de0024fb0f825a89e3c49e06de535c206_a9e74ad2-ae56-401b-9938-070680920e4c.webp?v=1714910645","width":2000},{"alt":null,"id":23893235531875,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b23f65520e31f1cde2b7e83d2d3eb3ddd5b4d4e0_86963add-e6ab-485e-b699-1ac1c86816a3.webp?v=1714910647"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b23f65520e31f1cde2b7e83d2d3eb3ddd5b4d4e0_86963add-e6ab-485e-b699-1ac1c86816a3.webp?v=1714910647","width":2000},{"alt":null,"id":23893235761251,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f147d90806653417cc61d8be797e7f4c4771c1c_5808c3d0-6b2e-4bfa-b7cc-66ed6d2ea56e.webp?v=1714910649"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f147d90806653417cc61d8be797e7f4c4771c1c_5808c3d0-6b2e-4bfa-b7cc-66ed6d2ea56e.webp?v=1714910649","width":2000},{"alt":null,"id":23893236154467,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb318a65e6a5d0cbdcd1f16d59dca067d921485b_48796cf0-369d-4028-969b-d5f17dc0c201.webp?v=1714910652"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb318a65e6a5d0cbdcd1f16d59dca067d921485b_48796cf0-369d-4028-969b-d5f17dc0c201.webp?v=1714910652","width":2000},{"alt":null,"id":23893236613219,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68d40bb143a3001b8c0504242c3714f31bd154bc_2e3ad8f6-1f91-4e77-830e-65a385a89b3f.webp?v=1714910654"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68d40bb143a3001b8c0504242c3714f31bd154bc_2e3ad8f6-1f91-4e77-830e-65a385a89b3f.webp?v=1714910654","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41910799761507,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-PB23","requires_shipping":true,"taxable":true,"featured_image":{"id":31487888392291,"product_id":7415000170595,"position":1,"created_at":"2024-05-05T20:03:51+08:00","updated_at":"2024-05-05T20:03:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c6859542840fce6e005a8f53d4bc4f75ecb23f9_d4ced89f-bfc8-4791-a244-2ecc5aeb479c.webp?v=1714910631","variant_ids":[41910799761507]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 迪士尼-星際大戰 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":"MPB0118424-PB23","featured_media":{"alt":null,"id":23893232418915,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c6859542840fce6e005a8f53d4bc4f75ecb23f9_d4ced89f-bfc8-4791-a244-2ecc5aeb479c.webp?v=1714910631"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41910799761507,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-PB23","requires_shipping":true,"taxable":true,"featured_image":{"id":31487888392291,"product_id":7415000170595,"position":1,"created_at":"2024-05-05T20:03:51+08:00","updated_at":"2024-05-05T20:03:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c6859542840fce6e005a8f53d4bc4f75ecb23f9_d4ced89f-bfc8-4791-a244-2ecc5aeb479c.webp?v=1714910631","variant_ids":[41910799761507]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 迪士尼-星際大戰 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":"MPB0118424-PB23","featured_media":{"alt":null,"id":23893232418915,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c6859542840fce6e005a8f53d4bc4f75ecb23f9_d4ced89f-bfc8-4791-a244-2ecc5aeb479c.webp?v=1714910631"}},"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: "停產"
}