Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術
$product = {"id":7408545071203,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術","handle":"iphone-12-mini-mod-nx-printable-pb38","description":null,"published_at":"2024-06-11T16:40:16+08:00","created_at":"2024-05-03T15:47:39+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 12 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-star-wars","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":41886704992355,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PB38","requires_shipping":true,"taxable":true,"featured_image":{"id":31472554934371,"product_id":7408545071203,"position":10,"created_at":"2024-05-03T15:48:01+08:00","updated_at":"2024-05-03T15:48:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad3dd5e93e8ecc5e85ec9a4228b2877e14cd99f5_90a9f32d-ffbf-4c5c-b33d-8a05cebe93ce.webp?v=1714722481","variant_ids":[41886704992355]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術 - 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-PB38","featured_media":{"alt":null,"id":23877472321635,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad3dd5e93e8ecc5e85ec9a4228b2877e14cd99f5_90a9f32d-ffbf-4c5c-b33d-8a05cebe93ce.webp?v=1714722481"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eebad1b45358d562afe191cf8708c8819a21f12_a393a0c5-21ba-4722-9ab9-38e51af8edb8.webp?v=1714722462","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96ad7568324bbad558715adff4e4958d0df4a612_854ff0b2-afaf-4c62-a268-c7f45cb08c3e.webp?v=1714722464","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4559b9a4863fb232f346b4e6a0df3a46c2be247d_fca12e2e-d8fe-435b-956e-2f1cd0e50c7c.webp?v=1714722466","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40530ddf8dbb6e4022eff133bd5ee6243a5b17cc_c0a4b96d-752f-4d4f-ab1e-e1f3322640ca.webp?v=1714722468","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38da2d823fb247950617fe470048b1f9cb7d2bdb_328e3e91-128c-4727-8bee-c2f6ff1f5082.webp?v=1714722470","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d98e4d4173267dd22ebfba55bff9a2cd37635cac_344e2809-d3d2-4c61-978b-6fa697278ece.webp?v=1714722473","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec7efd949fe5d09e31c74bf445601e2b450add20_40e252d4-104e-40bb-be4c-e991cefa6ddb.webp?v=1714722475","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4914d4d52444be3b1d7dc1ea579df75c3379e3fa_4c25e192-e381-40dd-be1c-35373f535342.webp?v=1714722477","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d9a900134dd5a5126a6c9e7fb85a83e7896a987_37125fc8-3ca1-492d-b4db-51b8e9dad73b.webp?v=1714722479","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad3dd5e93e8ecc5e85ec9a4228b2877e14cd99f5_90a9f32d-ffbf-4c5c-b33d-8a05cebe93ce.webp?v=1714722481","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00301b754a231f3170dc0154381e91ca8985dfc2_8f7d7703-09eb-4b5b-aaa4-f9ed9b191cb0.webp?v=1714722484"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eebad1b45358d562afe191cf8708c8819a21f12_a393a0c5-21ba-4722-9ab9-38e51af8edb8.webp?v=1714722462","options":["color"],"media":[{"alt":null,"id":23877467799651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eebad1b45358d562afe191cf8708c8819a21f12_a393a0c5-21ba-4722-9ab9-38e51af8edb8.webp?v=1714722462"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eebad1b45358d562afe191cf8708c8819a21f12_a393a0c5-21ba-4722-9ab9-38e51af8edb8.webp?v=1714722462","width":2000},{"alt":null,"id":23877468356707,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96ad7568324bbad558715adff4e4958d0df4a612_854ff0b2-afaf-4c62-a268-c7f45cb08c3e.webp?v=1714722464"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96ad7568324bbad558715adff4e4958d0df4a612_854ff0b2-afaf-4c62-a268-c7f45cb08c3e.webp?v=1714722464","width":2000},{"alt":null,"id":23877468749923,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4559b9a4863fb232f346b4e6a0df3a46c2be247d_fca12e2e-d8fe-435b-956e-2f1cd0e50c7c.webp?v=1714722466"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4559b9a4863fb232f346b4e6a0df3a46c2be247d_fca12e2e-d8fe-435b-956e-2f1cd0e50c7c.webp?v=1714722466","width":2000},{"alt":null,"id":23877469175907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40530ddf8dbb6e4022eff133bd5ee6243a5b17cc_c0a4b96d-752f-4d4f-ab1e-e1f3322640ca.webp?v=1714722468"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40530ddf8dbb6e4022eff133bd5ee6243a5b17cc_c0a4b96d-752f-4d4f-ab1e-e1f3322640ca.webp?v=1714722468","width":2000},{"alt":null,"id":23877469732963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38da2d823fb247950617fe470048b1f9cb7d2bdb_328e3e91-128c-4727-8bee-c2f6ff1f5082.webp?v=1714722470"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38da2d823fb247950617fe470048b1f9cb7d2bdb_328e3e91-128c-4727-8bee-c2f6ff1f5082.webp?v=1714722470","width":2000},{"alt":null,"id":23877470126179,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d98e4d4173267dd22ebfba55bff9a2cd37635cac_344e2809-d3d2-4c61-978b-6fa697278ece.webp?v=1714722473"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d98e4d4173267dd22ebfba55bff9a2cd37635cac_344e2809-d3d2-4c61-978b-6fa697278ece.webp?v=1714722473","width":2000},{"alt":null,"id":23877470716003,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec7efd949fe5d09e31c74bf445601e2b450add20_40e252d4-104e-40bb-be4c-e991cefa6ddb.webp?v=1714722475"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec7efd949fe5d09e31c74bf445601e2b450add20_40e252d4-104e-40bb-be4c-e991cefa6ddb.webp?v=1714722475","width":2000},{"alt":null,"id":23877471207523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4914d4d52444be3b1d7dc1ea579df75c3379e3fa_4c25e192-e381-40dd-be1c-35373f535342.webp?v=1714722477"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4914d4d52444be3b1d7dc1ea579df75c3379e3fa_4c25e192-e381-40dd-be1c-35373f535342.webp?v=1714722477","width":2000},{"alt":null,"id":23877471666275,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d9a900134dd5a5126a6c9e7fb85a83e7896a987_37125fc8-3ca1-492d-b4db-51b8e9dad73b.webp?v=1714722479"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d9a900134dd5a5126a6c9e7fb85a83e7896a987_37125fc8-3ca1-492d-b4db-51b8e9dad73b.webp?v=1714722479","width":2000},{"alt":null,"id":23877472321635,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad3dd5e93e8ecc5e85ec9a4228b2877e14cd99f5_90a9f32d-ffbf-4c5c-b33d-8a05cebe93ce.webp?v=1714722481"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad3dd5e93e8ecc5e85ec9a4228b2877e14cd99f5_90a9f32d-ffbf-4c5c-b33d-8a05cebe93ce.webp?v=1714722481","width":2000},{"alt":null,"id":23877472845923,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00301b754a231f3170dc0154381e91ca8985dfc2_8f7d7703-09eb-4b5b-aaa4-f9ed9b191cb0.webp?v=1714722484"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00301b754a231f3170dc0154381e91ca8985dfc2_8f7d7703-09eb-4b5b-aaa4-f9ed9b191cb0.webp?v=1714722484","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41886704992355,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PB38","requires_shipping":true,"taxable":true,"featured_image":{"id":31472554934371,"product_id":7408545071203,"position":10,"created_at":"2024-05-03T15:48:01+08:00","updated_at":"2024-05-03T15:48:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad3dd5e93e8ecc5e85ec9a4228b2877e14cd99f5_90a9f32d-ffbf-4c5c-b33d-8a05cebe93ce.webp?v=1714722481","variant_ids":[41886704992355]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術 - 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-PB38","featured_media":{"alt":null,"id":23877472321635,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad3dd5e93e8ecc5e85ec9a4228b2877e14cd99f5_90a9f32d-ffbf-4c5c-b33d-8a05cebe93ce.webp?v=1714722481"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41886704992355,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PB38","requires_shipping":true,"taxable":true,"featured_image":{"id":31472554934371,"product_id":7408545071203,"position":10,"created_at":"2024-05-03T15:48:01+08:00","updated_at":"2024-05-03T15:48:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad3dd5e93e8ecc5e85ec9a4228b2877e14cd99f5_90a9f32d-ffbf-4c5c-b33d-8a05cebe93ce.webp?v=1714722481","variant_ids":[41886704992355]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - R2D2-塗鴉藝術 - 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-PB38","featured_media":{"alt":null,"id":23877472321635,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ad3dd5e93e8ecc5e85ec9a4228b2877e14cd99f5_90a9f32d-ffbf-4c5c-b33d-8a05cebe93ce.webp?v=1714722481"}},"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: "停產"
}