Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【獨家設計款】 - 窯花
$product = {"id":7408565977187,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【獨家設計款】 - 窯花","handle":"iphone-12-mini-mod-nx-printable-gd14","description":null,"published_at":"2024-06-11T16:40:54+08:00","created_at":"2024-05-03T15:51:58+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":41886926536803,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-GD14","requires_shipping":true,"taxable":true,"featured_image":{"id":31472604446819,"product_id":7408565977187,"position":2,"created_at":"2024-05-03T15:52:02+08:00","updated_at":"2024-05-03T15:52:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44648aa90cd91356540c8080d9ad2979cffe89a7_cb988d7c-d9a8-45e7-b61d-26173800a1d7.webp?v=1714722722","variant_ids":[41886926536803]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【獨家設計款】 - 窯花 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-GD14","featured_media":{"alt":null,"id":23877521997923,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44648aa90cd91356540c8080d9ad2979cffe89a7_cb988d7c-d9a8-45e7-b61d-26173800a1d7.webp?v=1714722722"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf720b5b2a31ece94ae5cb8e6d902381320e76b8_432b615d-212f-456a-85c5-5fe5fcf7ca27.webp?v=1714722720","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44648aa90cd91356540c8080d9ad2979cffe89a7_cb988d7c-d9a8-45e7-b61d-26173800a1d7.webp?v=1714722722","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66106333d90367850e2810ba0a0232d69bb05537_c8961503-3e92-4ced-a8b4-437283d26d13.webp?v=1714722725","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22ba285139b2d07854d6f87395374cd04f7ffea8_8916cdbd-c816-4943-be77-1e96584d6840.webp?v=1714722727","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/199fec9e8c6af2ca350df576f5dc477ef0cd74d4_37bb1be0-c91e-49dd-a588-f8d2039b0c7a.webp?v=1714722730","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23a3f198bb243207f8c82014406252ccd64dd69b_6811e7de-45c8-4911-b671-7961a03c88da.webp?v=1714722732","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb3a900f019ad63f4f8d6d1040719fea46ee1a3b_6ad095e3-b4e7-4db7-8db9-26260cdb4377.webp?v=1714722734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3b0fb1e463fd1e2a9896c92b1355dd6730d17b9_23734c94-e0da-421b-8ada-7767740ba33e.webp?v=1714722737","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7120bf54f8874066418f6cd1ceda4e0a7d6187b3_ddf2c700-5e66-426d-b1dd-08c9a924cc7c.webp?v=1714722739","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/350116f67a8f0db4f5df0afbf397e6096958e382_c7d9bbe6-1297-4d32-af07-fcdca8624a07.webp?v=1714722742","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34fd92508f5a130f3e5cc4e97c70e2a753a94cfd_42ce051d-dda4-4c52-b42a-99ba36844bac.webp?v=1714722744"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf720b5b2a31ece94ae5cb8e6d902381320e76b8_432b615d-212f-456a-85c5-5fe5fcf7ca27.webp?v=1714722720","options":["color"],"media":[{"alt":null,"id":23877521768547,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf720b5b2a31ece94ae5cb8e6d902381320e76b8_432b615d-212f-456a-85c5-5fe5fcf7ca27.webp?v=1714722720"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf720b5b2a31ece94ae5cb8e6d902381320e76b8_432b615d-212f-456a-85c5-5fe5fcf7ca27.webp?v=1714722720","width":2000},{"alt":null,"id":23877521997923,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44648aa90cd91356540c8080d9ad2979cffe89a7_cb988d7c-d9a8-45e7-b61d-26173800a1d7.webp?v=1714722722"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44648aa90cd91356540c8080d9ad2979cffe89a7_cb988d7c-d9a8-45e7-b61d-26173800a1d7.webp?v=1714722722","width":2000},{"alt":null,"id":23877522128995,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66106333d90367850e2810ba0a0232d69bb05537_c8961503-3e92-4ced-a8b4-437283d26d13.webp?v=1714722725"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66106333d90367850e2810ba0a0232d69bb05537_c8961503-3e92-4ced-a8b4-437283d26d13.webp?v=1714722725","width":2000},{"alt":null,"id":23877522325603,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22ba285139b2d07854d6f87395374cd04f7ffea8_8916cdbd-c816-4943-be77-1e96584d6840.webp?v=1714722727"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22ba285139b2d07854d6f87395374cd04f7ffea8_8916cdbd-c816-4943-be77-1e96584d6840.webp?v=1714722727","width":2000},{"alt":null,"id":23877522423907,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/199fec9e8c6af2ca350df576f5dc477ef0cd74d4_37bb1be0-c91e-49dd-a588-f8d2039b0c7a.webp?v=1714722730"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/199fec9e8c6af2ca350df576f5dc477ef0cd74d4_37bb1be0-c91e-49dd-a588-f8d2039b0c7a.webp?v=1714722730","width":2000},{"alt":null,"id":23877522587747,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23a3f198bb243207f8c82014406252ccd64dd69b_6811e7de-45c8-4911-b671-7961a03c88da.webp?v=1714722732"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23a3f198bb243207f8c82014406252ccd64dd69b_6811e7de-45c8-4911-b671-7961a03c88da.webp?v=1714722732","width":2000},{"alt":null,"id":23877522653283,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb3a900f019ad63f4f8d6d1040719fea46ee1a3b_6ad095e3-b4e7-4db7-8db9-26260cdb4377.webp?v=1714722734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb3a900f019ad63f4f8d6d1040719fea46ee1a3b_6ad095e3-b4e7-4db7-8db9-26260cdb4377.webp?v=1714722734","width":2000},{"alt":null,"id":23877522718819,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3b0fb1e463fd1e2a9896c92b1355dd6730d17b9_23734c94-e0da-421b-8ada-7767740ba33e.webp?v=1714722737"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3b0fb1e463fd1e2a9896c92b1355dd6730d17b9_23734c94-e0da-421b-8ada-7767740ba33e.webp?v=1714722737","width":2000},{"alt":null,"id":23877522980963,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7120bf54f8874066418f6cd1ceda4e0a7d6187b3_ddf2c700-5e66-426d-b1dd-08c9a924cc7c.webp?v=1714722739"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7120bf54f8874066418f6cd1ceda4e0a7d6187b3_ddf2c700-5e66-426d-b1dd-08c9a924cc7c.webp?v=1714722739","width":2000},{"alt":null,"id":23877523013731,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/350116f67a8f0db4f5df0afbf397e6096958e382_c7d9bbe6-1297-4d32-af07-fcdca8624a07.webp?v=1714722742"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/350116f67a8f0db4f5df0afbf397e6096958e382_c7d9bbe6-1297-4d32-af07-fcdca8624a07.webp?v=1714722742","width":2000},{"alt":null,"id":23877523112035,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34fd92508f5a130f3e5cc4e97c70e2a753a94cfd_42ce051d-dda4-4c52-b42a-99ba36844bac.webp?v=1714722744"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34fd92508f5a130f3e5cc4e97c70e2a753a94cfd_42ce051d-dda4-4c52-b42a-99ba36844bac.webp?v=1714722744","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41886926536803,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-GD14","requires_shipping":true,"taxable":true,"featured_image":{"id":31472604446819,"product_id":7408565977187,"position":2,"created_at":"2024-05-03T15:52:02+08:00","updated_at":"2024-05-03T15:52:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44648aa90cd91356540c8080d9ad2979cffe89a7_cb988d7c-d9a8-45e7-b61d-26173800a1d7.webp?v=1714722722","variant_ids":[41886926536803]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【獨家設計款】 - 窯花 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-GD14","featured_media":{"alt":null,"id":23877521997923,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44648aa90cd91356540c8080d9ad2979cffe89a7_cb988d7c-d9a8-45e7-b61d-26173800a1d7.webp?v=1714722722"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41886926536803,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-GD14","requires_shipping":true,"taxable":true,"featured_image":{"id":31472604446819,"product_id":7408565977187,"position":2,"created_at":"2024-05-03T15:52:02+08:00","updated_at":"2024-05-03T15:52:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44648aa90cd91356540c8080d9ad2979cffe89a7_cb988d7c-d9a8-45e7-b61d-26173800a1d7.webp?v=1714722722","variant_ids":[41886926536803]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【獨家設計款】 - 窯花 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-GD14","featured_media":{"alt":null,"id":23877521997923,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44648aa90cd91356540c8080d9ad2979cffe89a7_cb988d7c-d9a8-45e7-b61d-26173800a1d7.webp?v=1714722722"}},"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: "停產"
}