Home
›
犀牛盾Mod NX手機殼 - iPhone XS - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 風暴兵-經典
$product = {"id":7416062804067,"title":"犀牛盾Mod NX手機殼 - iPhone XS - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 風暴兵-經典","handle":"iphone-xs-mod-nx-printable-pb22","description":null,"published_at":"2024-06-11T16:51:44+08:00","created_at":"2024-05-06T12:51:12+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 XS","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":41917040296035,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108424-PB22","requires_shipping":true,"taxable":true,"featured_image":{"id":31491115155555,"product_id":7416062804067,"position":2,"created_at":"2024-05-06T12:51:16+08:00","updated_at":"2024-05-06T12:51:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3973933e8ed55ef4e4003086dbd1bd2345e18f4d_229ad82e-4942-42ce-8175-39dce5bb7819.webp?v=1714971076","variant_ids":[41917040296035]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0108424-PB22","featured_media":{"alt":null,"id":23896522588259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3973933e8ed55ef4e4003086dbd1bd2345e18f4d_229ad82e-4942-42ce-8175-39dce5bb7819.webp?v=1714971076"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54b3a6701a6cc726f47acec0c8f75504dca0709e_37d36364-8c26-412e-aa39-5203fb57bd22.webp?v=1714971074","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3973933e8ed55ef4e4003086dbd1bd2345e18f4d_229ad82e-4942-42ce-8175-39dce5bb7819.webp?v=1714971076","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d9100d9657ef37c4aa3a3fc666c0def23c17bc8_53121792-3da7-4e77-98f3-49517ae2e849.webp?v=1714971079","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f350018960d4cb856a64caee05813ce02e8a2b2d_159f251b-61a1-445c-bc6a-35eee03f1f07.webp?v=1714971081","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c4957a093125fbc7d99aa577ecca674c865a3cd_0ae8a6ec-98e5-41e2-99de-ad7fd991a3fb.webp?v=1714971083","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d4eff06df19842f029b1f0766bc3659dc2bec53_78abe348-04b0-4c78-8a94-5375e2ccdad0.webp?v=1714971085","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/263b375ffc2677e21b7e4fd7babef4f74a581a64_0224d184-b347-41d3-8b19-21bbd57dcbdc.webp?v=1714971087","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc1de0fb8373737bcbe59d7c49acfbf763731c2_fc111b85-4e3d-4309-b6fd-b87c4f8b5b92.webp?v=1714971090","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8892695935ffcbf35a43a05580feb0d33a8be154_9e9a12b1-2f45-4bd4-8fb5-0e7757d4394c.webp?v=1714971092","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3314c5f569f2a574f0d609239668daeedc22182a_fbd286af-e214-4118-adfa-a78fe8b44024.webp?v=1714971094"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54b3a6701a6cc726f47acec0c8f75504dca0709e_37d36364-8c26-412e-aa39-5203fb57bd22.webp?v=1714971074","options":["color"],"media":[{"alt":null,"id":23896522096739,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54b3a6701a6cc726f47acec0c8f75504dca0709e_37d36364-8c26-412e-aa39-5203fb57bd22.webp?v=1714971074"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54b3a6701a6cc726f47acec0c8f75504dca0709e_37d36364-8c26-412e-aa39-5203fb57bd22.webp?v=1714971074","width":2000},{"alt":null,"id":23896522588259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3973933e8ed55ef4e4003086dbd1bd2345e18f4d_229ad82e-4942-42ce-8175-39dce5bb7819.webp?v=1714971076"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3973933e8ed55ef4e4003086dbd1bd2345e18f4d_229ad82e-4942-42ce-8175-39dce5bb7819.webp?v=1714971076","width":2000},{"alt":null,"id":23896522948707,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d9100d9657ef37c4aa3a3fc666c0def23c17bc8_53121792-3da7-4e77-98f3-49517ae2e849.webp?v=1714971079"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d9100d9657ef37c4aa3a3fc666c0def23c17bc8_53121792-3da7-4e77-98f3-49517ae2e849.webp?v=1714971079","width":2000},{"alt":null,"id":23896523505763,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f350018960d4cb856a64caee05813ce02e8a2b2d_159f251b-61a1-445c-bc6a-35eee03f1f07.webp?v=1714971081"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f350018960d4cb856a64caee05813ce02e8a2b2d_159f251b-61a1-445c-bc6a-35eee03f1f07.webp?v=1714971081","width":2000},{"alt":null,"id":23896524456035,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c4957a093125fbc7d99aa577ecca674c865a3cd_0ae8a6ec-98e5-41e2-99de-ad7fd991a3fb.webp?v=1714971083"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c4957a093125fbc7d99aa577ecca674c865a3cd_0ae8a6ec-98e5-41e2-99de-ad7fd991a3fb.webp?v=1714971083","width":2000},{"alt":null,"id":23896524914787,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d4eff06df19842f029b1f0766bc3659dc2bec53_78abe348-04b0-4c78-8a94-5375e2ccdad0.webp?v=1714971085"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d4eff06df19842f029b1f0766bc3659dc2bec53_78abe348-04b0-4c78-8a94-5375e2ccdad0.webp?v=1714971085","width":2000},{"alt":null,"id":23896525373539,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/263b375ffc2677e21b7e4fd7babef4f74a581a64_0224d184-b347-41d3-8b19-21bbd57dcbdc.webp?v=1714971087"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/263b375ffc2677e21b7e4fd7babef4f74a581a64_0224d184-b347-41d3-8b19-21bbd57dcbdc.webp?v=1714971087","width":2000},{"alt":null,"id":23896525832291,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc1de0fb8373737bcbe59d7c49acfbf763731c2_fc111b85-4e3d-4309-b6fd-b87c4f8b5b92.webp?v=1714971090"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5bc1de0fb8373737bcbe59d7c49acfbf763731c2_fc111b85-4e3d-4309-b6fd-b87c4f8b5b92.webp?v=1714971090","width":2000},{"alt":null,"id":23896526258275,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8892695935ffcbf35a43a05580feb0d33a8be154_9e9a12b1-2f45-4bd4-8fb5-0e7757d4394c.webp?v=1714971092"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8892695935ffcbf35a43a05580feb0d33a8be154_9e9a12b1-2f45-4bd4-8fb5-0e7757d4394c.webp?v=1714971092","width":2000},{"alt":null,"id":23896526946403,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3314c5f569f2a574f0d609239668daeedc22182a_fbd286af-e214-4118-adfa-a78fe8b44024.webp?v=1714971094"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3314c5f569f2a574f0d609239668daeedc22182a_fbd286af-e214-4118-adfa-a78fe8b44024.webp?v=1714971094","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":41917040296035,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108424-PB22","requires_shipping":true,"taxable":true,"featured_image":{"id":31491115155555,"product_id":7416062804067,"position":2,"created_at":"2024-05-06T12:51:16+08:00","updated_at":"2024-05-06T12:51:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3973933e8ed55ef4e4003086dbd1bd2345e18f4d_229ad82e-4942-42ce-8175-39dce5bb7819.webp?v=1714971076","variant_ids":[41917040296035]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0108424-PB22","featured_media":{"alt":null,"id":23896522588259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3973933e8ed55ef4e4003086dbd1bd2345e18f4d_229ad82e-4942-42ce-8175-39dce5bb7819.webp?v=1714971076"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41917040296035,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108424-PB22","requires_shipping":true,"taxable":true,"featured_image":{"id":31491115155555,"product_id":7416062804067,"position":2,"created_at":"2024-05-06T12:51:16+08:00","updated_at":"2024-05-06T12:51:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3973933e8ed55ef4e4003086dbd1bd2345e18f4d_229ad82e-4942-42ce-8175-39dce5bb7819.webp?v=1714971076","variant_ids":[41917040296035]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0108424-PB22","featured_media":{"alt":null,"id":23896522588259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3973933e8ed55ef4e4003086dbd1bd2345e18f4d_229ad82e-4942-42ce-8175-39dce5bb7819.webp?v=1714971076"}},"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: "停產"
}