Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條白
$product = {"id":7408409509987,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條白","handle":"iphone-12-mini-mod-nx-printable-pb18","description":null,"published_at":"2024-06-11T16:36:27+08:00","created_at":"2024-05-03T15:20:54+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":41885160374371,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31472191635555,"product_id":7408409509987,"position":1,"created_at":"2024-05-03T15:20:57+08:00","updated_at":"2024-05-03T15:20:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d77b15b60368dd9fdd37c793bab36616c17e4d8_9c3dae1a-3b4b-4b45-89dd-d0a9d64f430c.webp?v=1714720857","variant_ids":[41885160374371]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條白 - 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-PB18","featured_media":{"alt":null,"id":23877107417187,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d77b15b60368dd9fdd37c793bab36616c17e4d8_9c3dae1a-3b4b-4b45-89dd-d0a9d64f430c.webp?v=1714720857"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d77b15b60368dd9fdd37c793bab36616c17e4d8_9c3dae1a-3b4b-4b45-89dd-d0a9d64f430c.webp?v=1714720857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00c09812fd79354937ad1a55c775d3a1b7414626_84260173-6b4a-44c2-98e5-2bb8b065bce2.webp?v=1714720859","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/110af96f442569edf55647abe7b9870ddc152b53_02fb2aaa-6788-48b5-b5c4-10f598f6e459.webp?v=1714720862","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9106ca3b5d16c18f7eea2325bc426ce72b260fd3_423c0cdc-7b03-441d-8d4f-5b0b64152b1d.webp?v=1714720864","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce0a6584e20cd95a072f6518c44407439912c541_20e9573e-efaa-46de-99ee-c6d7b9e1f8c6.webp?v=1714720867","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9163ff9a1d4b7adec704dd60d2e2a5836d69553b_ba09ad13-1f64-4931-b955-60f85a219707.webp?v=1714720869","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4a3d6635c9143c2ad6dd8b3a4805efeea1f34a1_e0ff4d15-7d4b-4ec3-858c-c3b153244819.webp?v=1714720871","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2060e03b60dfeec8aabc576a71f73c3e036a2ac5_b350bddd-ab75-497e-b65f-36fc84d95112.webp?v=1714720874","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b50b8ed98f62a8cbf79ca981ef98e309662ca860_341ff9c5-8efa-433d-b586-9871f6d75d9c.webp?v=1714720876","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d63a827042e43b6610c9c13217ed544de9bf8ef_a2f7f848-acd3-4f97-a789-b48ca433323b.webp?v=1714720879","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d57bd2f11dd1e9665c43c80153999ad82582efe_5fd194b2-2108-45eb-8ff1-a1afd30050fb.webp?v=1714720881"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d77b15b60368dd9fdd37c793bab36616c17e4d8_9c3dae1a-3b4b-4b45-89dd-d0a9d64f430c.webp?v=1714720857","options":["color"],"media":[{"alt":null,"id":23877107417187,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d77b15b60368dd9fdd37c793bab36616c17e4d8_9c3dae1a-3b4b-4b45-89dd-d0a9d64f430c.webp?v=1714720857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d77b15b60368dd9fdd37c793bab36616c17e4d8_9c3dae1a-3b4b-4b45-89dd-d0a9d64f430c.webp?v=1714720857","width":2000},{"alt":null,"id":23877108858979,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00c09812fd79354937ad1a55c775d3a1b7414626_84260173-6b4a-44c2-98e5-2bb8b065bce2.webp?v=1714720859"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00c09812fd79354937ad1a55c775d3a1b7414626_84260173-6b4a-44c2-98e5-2bb8b065bce2.webp?v=1714720859","width":2000},{"alt":null,"id":23877109940323,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/110af96f442569edf55647abe7b9870ddc152b53_02fb2aaa-6788-48b5-b5c4-10f598f6e459.webp?v=1714720862"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/110af96f442569edf55647abe7b9870ddc152b53_02fb2aaa-6788-48b5-b5c4-10f598f6e459.webp?v=1714720862","width":2000},{"alt":null,"id":23877110923363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9106ca3b5d16c18f7eea2325bc426ce72b260fd3_423c0cdc-7b03-441d-8d4f-5b0b64152b1d.webp?v=1714720864"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9106ca3b5d16c18f7eea2325bc426ce72b260fd3_423c0cdc-7b03-441d-8d4f-5b0b64152b1d.webp?v=1714720864","width":2000},{"alt":null,"id":23877112004707,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce0a6584e20cd95a072f6518c44407439912c541_20e9573e-efaa-46de-99ee-c6d7b9e1f8c6.webp?v=1714720867"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce0a6584e20cd95a072f6518c44407439912c541_20e9573e-efaa-46de-99ee-c6d7b9e1f8c6.webp?v=1714720867","width":2000},{"alt":null,"id":23877112725603,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9163ff9a1d4b7adec704dd60d2e2a5836d69553b_ba09ad13-1f64-4931-b955-60f85a219707.webp?v=1714720869"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9163ff9a1d4b7adec704dd60d2e2a5836d69553b_ba09ad13-1f64-4931-b955-60f85a219707.webp?v=1714720869","width":2000},{"alt":null,"id":23877113249891,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4a3d6635c9143c2ad6dd8b3a4805efeea1f34a1_e0ff4d15-7d4b-4ec3-858c-c3b153244819.webp?v=1714720871"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4a3d6635c9143c2ad6dd8b3a4805efeea1f34a1_e0ff4d15-7d4b-4ec3-858c-c3b153244819.webp?v=1714720871","width":2000},{"alt":null,"id":23877114003555,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2060e03b60dfeec8aabc576a71f73c3e036a2ac5_b350bddd-ab75-497e-b65f-36fc84d95112.webp?v=1714720874"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2060e03b60dfeec8aabc576a71f73c3e036a2ac5_b350bddd-ab75-497e-b65f-36fc84d95112.webp?v=1714720874","width":2000},{"alt":null,"id":23877114462307,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b50b8ed98f62a8cbf79ca981ef98e309662ca860_341ff9c5-8efa-433d-b586-9871f6d75d9c.webp?v=1714720876"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b50b8ed98f62a8cbf79ca981ef98e309662ca860_341ff9c5-8efa-433d-b586-9871f6d75d9c.webp?v=1714720876","width":2000},{"alt":null,"id":23877114921059,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d63a827042e43b6610c9c13217ed544de9bf8ef_a2f7f848-acd3-4f97-a789-b48ca433323b.webp?v=1714720879"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d63a827042e43b6610c9c13217ed544de9bf8ef_a2f7f848-acd3-4f97-a789-b48ca433323b.webp?v=1714720879","width":2000},{"alt":null,"id":23877115379811,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d57bd2f11dd1e9665c43c80153999ad82582efe_5fd194b2-2108-45eb-8ff1-a1afd30050fb.webp?v=1714720881"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d57bd2f11dd1e9665c43c80153999ad82582efe_5fd194b2-2108-45eb-8ff1-a1afd30050fb.webp?v=1714720881","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41885160374371,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31472191635555,"product_id":7408409509987,"position":1,"created_at":"2024-05-03T15:20:57+08:00","updated_at":"2024-05-03T15:20:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d77b15b60368dd9fdd37c793bab36616c17e4d8_9c3dae1a-3b4b-4b45-89dd-d0a9d64f430c.webp?v=1714720857","variant_ids":[41885160374371]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條白 - 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-PB18","featured_media":{"alt":null,"id":23877107417187,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d77b15b60368dd9fdd37c793bab36616c17e4d8_9c3dae1a-3b4b-4b45-89dd-d0a9d64f430c.webp?v=1714720857"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41885160374371,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PB18","requires_shipping":true,"taxable":true,"featured_image":{"id":31472191635555,"product_id":7408409509987,"position":1,"created_at":"2024-05-03T15:20:57+08:00","updated_at":"2024-05-03T15:20:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d77b15b60368dd9fdd37c793bab36616c17e4d8_9c3dae1a-3b4b-4b45-89dd-d0a9d64f430c.webp?v=1714720857","variant_ids":[41885160374371]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 鈦戰機-線條白 - 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-PB18","featured_media":{"alt":null,"id":23877107417187,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d77b15b60368dd9fdd37c793bab36616c17e4d8_9c3dae1a-3b4b-4b45-89dd-d0a9d64f430c.webp?v=1714720857"}},"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: "停產"
}