Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【獨家設計款】 - 願傷疤開花(恆春)
$product = {"id":7408477995107,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【獨家設計款】 - 願傷疤開花(恆春)","handle":"iphone-12-mini-mod-nx-printable-ae01","description":null,"published_at":"2024-06-11T16:38:21+08:00","created_at":"2024-05-03T15:34:25+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"MOD NX 客製化","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","device-iPhone 12 mini","discountable-item","member","merge","mod-nx-printable","new-modnx-sku","reseller","reseller-modnx-chi-po-lin-series","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":41885929767011,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31472378904675,"product_id":7408477995107,"position":6,"created_at":"2024-05-03T15:34:39+08:00","updated_at":"2024-05-03T15:34:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c875ba1cd48321329b37b2d4e27acd0113635a07_2a377df3-3b0c-40a9-b287-8296951534f8.webp?v=1714721679","variant_ids":[41885929767011]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【獨家設計款】 - 願傷疤開花(恆春) - 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":"NPB0118424-AE01","featured_media":{"alt":null,"id":23877295800419,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c875ba1cd48321329b37b2d4e27acd0113635a07_2a377df3-3b0c-40a9-b287-8296951534f8.webp?v=1714721679"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e3a951a4e9ec7486898f5ad0f0949b9d35bff25_d1c286a8-1e01-40b0-9a16-c275afd22f0f.webp?v=1714721668","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3a75515682c69775f5969b7527724564c8d7377_1f2ddafc-eeb5-4253-b15f-e7de7f8a7915.webp?v=1714721670","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05e1fec2be559afbf3defbb59ccf114da8793986_d4ce3bd4-9c64-4deb-a980-06ebc08dd3c8.webp?v=1714721672","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01a33cac6a315d0c7f8d1352950c31404731436b_5dde7f15-725b-46e7-b102-0353282cfc8e.webp?v=1714721675","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a27382bcfc1b9452037cb86402bb69c0d7c939a1_651c927d-b33b-4825-a256-a8901bea7641.webp?v=1714721677","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c875ba1cd48321329b37b2d4e27acd0113635a07_2a377df3-3b0c-40a9-b287-8296951534f8.webp?v=1714721679","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a588b63bef930185d41d776f3d70217cc9fdf82_e8a360ca-99cd-4a31-920b-caab0900022d.webp?v=1714721682","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aec65c0f5e2b392cac1a239a8beff608e84ec12c_f19540d8-cde9-4b37-9251-a05fdc6fcc3d.webp?v=1714721684","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8329077700a395493722983190ba4882252ee891_3ff8cc01-47d7-464a-b7d1-45d208383020.webp?v=1714721687","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9563c2d4786179894d3c10f600e822c80731743_058d49c1-8309-46fb-83ec-ba40cbbeb458.webp?v=1714721689","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba7170db8a830078d9742b79fdc1b67e4965352a_7be81d4e-3cf9-486e-a9a0-3a93dfa6643d.webp?v=1714721692"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e3a951a4e9ec7486898f5ad0f0949b9d35bff25_d1c286a8-1e01-40b0-9a16-c275afd22f0f.webp?v=1714721668","options":["color"],"media":[{"alt":null,"id":23877293342819,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e3a951a4e9ec7486898f5ad0f0949b9d35bff25_d1c286a8-1e01-40b0-9a16-c275afd22f0f.webp?v=1714721668"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e3a951a4e9ec7486898f5ad0f0949b9d35bff25_d1c286a8-1e01-40b0-9a16-c275afd22f0f.webp?v=1714721668","width":2000},{"alt":null,"id":23877293670499,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3a75515682c69775f5969b7527724564c8d7377_1f2ddafc-eeb5-4253-b15f-e7de7f8a7915.webp?v=1714721670"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3a75515682c69775f5969b7527724564c8d7377_1f2ddafc-eeb5-4253-b15f-e7de7f8a7915.webp?v=1714721670","width":2000},{"alt":null,"id":23877294194787,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05e1fec2be559afbf3defbb59ccf114da8793986_d4ce3bd4-9c64-4deb-a980-06ebc08dd3c8.webp?v=1714721672"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05e1fec2be559afbf3defbb59ccf114da8793986_d4ce3bd4-9c64-4deb-a980-06ebc08dd3c8.webp?v=1714721672","width":2000},{"alt":null,"id":23877294653539,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01a33cac6a315d0c7f8d1352950c31404731436b_5dde7f15-725b-46e7-b102-0353282cfc8e.webp?v=1714721675"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01a33cac6a315d0c7f8d1352950c31404731436b_5dde7f15-725b-46e7-b102-0353282cfc8e.webp?v=1714721675","width":2000},{"alt":null,"id":23877295177827,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a27382bcfc1b9452037cb86402bb69c0d7c939a1_651c927d-b33b-4825-a256-a8901bea7641.webp?v=1714721677"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a27382bcfc1b9452037cb86402bb69c0d7c939a1_651c927d-b33b-4825-a256-a8901bea7641.webp?v=1714721677","width":2000},{"alt":null,"id":23877295800419,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c875ba1cd48321329b37b2d4e27acd0113635a07_2a377df3-3b0c-40a9-b287-8296951534f8.webp?v=1714721679"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c875ba1cd48321329b37b2d4e27acd0113635a07_2a377df3-3b0c-40a9-b287-8296951534f8.webp?v=1714721679","width":2000},{"alt":null,"id":23877296357475,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a588b63bef930185d41d776f3d70217cc9fdf82_e8a360ca-99cd-4a31-920b-caab0900022d.webp?v=1714721682"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a588b63bef930185d41d776f3d70217cc9fdf82_e8a360ca-99cd-4a31-920b-caab0900022d.webp?v=1714721682","width":2000},{"alt":null,"id":23877296783459,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aec65c0f5e2b392cac1a239a8beff608e84ec12c_f19540d8-cde9-4b37-9251-a05fdc6fcc3d.webp?v=1714721684"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aec65c0f5e2b392cac1a239a8beff608e84ec12c_f19540d8-cde9-4b37-9251-a05fdc6fcc3d.webp?v=1714721684","width":2000},{"alt":null,"id":23877298094179,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8329077700a395493722983190ba4882252ee891_3ff8cc01-47d7-464a-b7d1-45d208383020.webp?v=1714721687"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8329077700a395493722983190ba4882252ee891_3ff8cc01-47d7-464a-b7d1-45d208383020.webp?v=1714721687","width":2000},{"alt":null,"id":23877299077219,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9563c2d4786179894d3c10f600e822c80731743_058d49c1-8309-46fb-83ec-ba40cbbeb458.webp?v=1714721689"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9563c2d4786179894d3c10f600e822c80731743_058d49c1-8309-46fb-83ec-ba40cbbeb458.webp?v=1714721689","width":2000},{"alt":null,"id":23877299634275,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba7170db8a830078d9742b79fdc1b67e4965352a_7be81d4e-3cf9-486e-a9a0-3a93dfa6643d.webp?v=1714721692"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba7170db8a830078d9742b79fdc1b67e4965352a_7be81d4e-3cf9-486e-a9a0-3a93dfa6643d.webp?v=1714721692","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41885929767011,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31472378904675,"product_id":7408477995107,"position":6,"created_at":"2024-05-03T15:34:39+08:00","updated_at":"2024-05-03T15:34:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c875ba1cd48321329b37b2d4e27acd0113635a07_2a377df3-3b0c-40a9-b287-8296951534f8.webp?v=1714721679","variant_ids":[41885929767011]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【獨家設計款】 - 願傷疤開花(恆春) - 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":"NPB0118424-AE01","featured_media":{"alt":null,"id":23877295800419,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c875ba1cd48321329b37b2d4e27acd0113635a07_2a377df3-3b0c-40a9-b287-8296951534f8.webp?v=1714721679"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41885929767011,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AE01","requires_shipping":true,"taxable":true,"featured_image":{"id":31472378904675,"product_id":7408477995107,"position":6,"created_at":"2024-05-03T15:34:39+08:00","updated_at":"2024-05-03T15:34:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c875ba1cd48321329b37b2d4e27acd0113635a07_2a377df3-3b0c-40a9-b287-8296951534f8.webp?v=1714721679","variant_ids":[41885929767011]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【獨家設計款】 - 願傷疤開花(恆春) - 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":"NPB0118424-AE01","featured_media":{"alt":null,"id":23877295800419,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c875ba1cd48321329b37b2d4e27acd0113635a07_2a377df3-3b0c-40a9-b287-8296951534f8.webp?v=1714721679"}},"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: "停產"
}