Home
›
犀牛盾Mod NX手機殼 - iPhone 7/8/SE2/SE3 - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-黑白條紋
$product = {"id":7416374755427,"title":"犀牛盾Mod NX手機殼 - iPhone 7\/8\/SE2\/SE3 - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-黑白條紋","handle":"iphone-8-mod-nx-printable-pb20","description":null,"published_at":"2024-06-11T16:57:20+08:00","created_at":"2024-05-06T14:44:44+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 8","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":41919048450147,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0105424-PB20","requires_shipping":true,"taxable":true,"featured_image":{"id":31491973677155,"product_id":7416374755427,"position":6,"created_at":"2024-05-06T14:44:58+08:00","updated_at":"2024-05-06T14:44:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee486b15caf69ca66c8242be3db3390543998870_0791d127-d126-4511-a68c-7784069e20c0.webp?v=1714977898","variant_ids":[41919048450147]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 7\/8\/SE2\/SE3 - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0105424-PB20","featured_media":{"alt":null,"id":23897387106403,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee486b15caf69ca66c8242be3db3390543998870_0791d127-d126-4511-a68c-7784069e20c0.webp?v=1714977898"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f3e2ab2a860cc5c11a9a0eaf7838ac6819e025b_f36d589a-5979-422a-9646-329e4b4b8fbc.webp?v=1714977887","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcb71c1a3a2b16993670f790f7a336145b4e2ea3_b9330071-af79-46f2-b0b2-20f92785dd21.webp?v=1714977889","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d5cd3d66dd3132f8b8b362f0daa2fedc2b4f1ec_6147324c-98a6-4c98-a1fc-5be59e8d05d3.webp?v=1714977891","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f511549fc144450d0e59504a86900d3be654611_46281a63-fa4c-4448-98ba-1c4e345bf9ff.webp?v=1714977894","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ace517f41413cba658d82be5025ac331e4b2fec4_b378d999-3a84-4cc6-a30b-1f58189599d7.webp?v=1714977896","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee486b15caf69ca66c8242be3db3390543998870_0791d127-d126-4511-a68c-7784069e20c0.webp?v=1714977898","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5002854d54a7148c307f14ea4beb6055c0d35f45_f533bd75-f32e-471c-8b55-bf2aa57c0368.webp?v=1714977901","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcb2620ae34f3e3067a8719448d6a7ebc6bd97fb_4fac393a-f36a-4909-b6f2-4cd9da55f619.webp?v=1714977903","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d28160efe78840ea855d60ff6032d5ab4c60f6b_d9cd3666-de52-4037-af23-69fd2079b4da.webp?v=1714977905","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/671c6ae639bc80593f0b403f1a21f7306d8f3c19_bcd5d5fc-eaf9-49a6-ae6a-0db6a68ab259.webp?v=1714977908"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f3e2ab2a860cc5c11a9a0eaf7838ac6819e025b_f36d589a-5979-422a-9646-329e4b4b8fbc.webp?v=1714977887","options":["color"],"media":[{"alt":null,"id":23897384321123,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f3e2ab2a860cc5c11a9a0eaf7838ac6819e025b_f36d589a-5979-422a-9646-329e4b4b8fbc.webp?v=1714977887"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f3e2ab2a860cc5c11a9a0eaf7838ac6819e025b_f36d589a-5979-422a-9646-329e4b4b8fbc.webp?v=1714977887","width":2000},{"alt":null,"id":23897384681571,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcb71c1a3a2b16993670f790f7a336145b4e2ea3_b9330071-af79-46f2-b0b2-20f92785dd21.webp?v=1714977889"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcb71c1a3a2b16993670f790f7a336145b4e2ea3_b9330071-af79-46f2-b0b2-20f92785dd21.webp?v=1714977889","width":2000},{"alt":null,"id":23897385336931,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d5cd3d66dd3132f8b8b362f0daa2fedc2b4f1ec_6147324c-98a6-4c98-a1fc-5be59e8d05d3.webp?v=1714977891"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d5cd3d66dd3132f8b8b362f0daa2fedc2b4f1ec_6147324c-98a6-4c98-a1fc-5be59e8d05d3.webp?v=1714977891","width":2000},{"alt":null,"id":23897386057827,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f511549fc144450d0e59504a86900d3be654611_46281a63-fa4c-4448-98ba-1c4e345bf9ff.webp?v=1714977894"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f511549fc144450d0e59504a86900d3be654611_46281a63-fa4c-4448-98ba-1c4e345bf9ff.webp?v=1714977894","width":2000},{"alt":null,"id":23897386549347,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ace517f41413cba658d82be5025ac331e4b2fec4_b378d999-3a84-4cc6-a30b-1f58189599d7.webp?v=1714977896"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ace517f41413cba658d82be5025ac331e4b2fec4_b378d999-3a84-4cc6-a30b-1f58189599d7.webp?v=1714977896","width":2000},{"alt":null,"id":23897387106403,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee486b15caf69ca66c8242be3db3390543998870_0791d127-d126-4511-a68c-7784069e20c0.webp?v=1714977898"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee486b15caf69ca66c8242be3db3390543998870_0791d127-d126-4511-a68c-7784069e20c0.webp?v=1714977898","width":2000},{"alt":null,"id":23897387499619,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5002854d54a7148c307f14ea4beb6055c0d35f45_f533bd75-f32e-471c-8b55-bf2aa57c0368.webp?v=1714977901"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5002854d54a7148c307f14ea4beb6055c0d35f45_f533bd75-f32e-471c-8b55-bf2aa57c0368.webp?v=1714977901","width":2000},{"alt":null,"id":23897388154979,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcb2620ae34f3e3067a8719448d6a7ebc6bd97fb_4fac393a-f36a-4909-b6f2-4cd9da55f619.webp?v=1714977903"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcb2620ae34f3e3067a8719448d6a7ebc6bd97fb_4fac393a-f36a-4909-b6f2-4cd9da55f619.webp?v=1714977903","width":2000},{"alt":null,"id":23897388613731,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d28160efe78840ea855d60ff6032d5ab4c60f6b_d9cd3666-de52-4037-af23-69fd2079b4da.webp?v=1714977905"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d28160efe78840ea855d60ff6032d5ab4c60f6b_d9cd3666-de52-4037-af23-69fd2079b4da.webp?v=1714977905","width":2000},{"alt":null,"id":23897389072483,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/671c6ae639bc80593f0b403f1a21f7306d8f3c19_bcd5d5fc-eaf9-49a6-ae6a-0db6a68ab259.webp?v=1714977908"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/671c6ae639bc80593f0b403f1a21f7306d8f3c19_bcd5d5fc-eaf9-49a6-ae6a-0db6a68ab259.webp?v=1714977908","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":41919048450147,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0105424-PB20","requires_shipping":true,"taxable":true,"featured_image":{"id":31491973677155,"product_id":7416374755427,"position":6,"created_at":"2024-05-06T14:44:58+08:00","updated_at":"2024-05-06T14:44:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee486b15caf69ca66c8242be3db3390543998870_0791d127-d126-4511-a68c-7784069e20c0.webp?v=1714977898","variant_ids":[41919048450147]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 7\/8\/SE2\/SE3 - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0105424-PB20","featured_media":{"alt":null,"id":23897387106403,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee486b15caf69ca66c8242be3db3390543998870_0791d127-d126-4511-a68c-7784069e20c0.webp?v=1714977898"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41919048450147,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0105424-PB20","requires_shipping":true,"taxable":true,"featured_image":{"id":31491973677155,"product_id":7416374755427,"position":6,"created_at":"2024-05-06T14:44:58+08:00","updated_at":"2024-05-06T14:44:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee486b15caf69ca66c8242be3db3390543998870_0791d127-d126-4511-a68c-7784069e20c0.webp?v=1714977898","variant_ids":[41919048450147]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 7\/8\/SE2\/SE3 - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0105424-PB20","featured_media":{"alt":null,"id":23897387106403,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee486b15caf69ca66c8242be3db3390543998870_0791d127-d126-4511-a68c-7784069e20c0.webp?v=1714977898"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(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: "停產"
}