Home
›
犀牛盾Mod NX手機殼 - iPhone XS - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 鈦戰機
$product = {"id":7415994908771,"title":"犀牛盾Mod NX手機殼 - iPhone XS - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 鈦戰機","handle":"iphone-xs-mod-nx-printable-pb73","description":null,"published_at":"2024-06-11T16:49:55+08:00","created_at":"2024-05-06T12:38:56+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":41916320612451,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108424-PB73","requires_shipping":true,"taxable":true,"featured_image":{"id":31490936733795,"product_id":7415994908771,"position":1,"created_at":"2024-05-06T12:38:59+08:00","updated_at":"2024-05-06T12:38:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c0561145a6b46ddebf81fdaac1a237396dd249_6ee1ac65-0a72-4bab-8008-0e039044fb5a.webp?v=1714970339","variant_ids":[41916320612451]},"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-PB73","featured_media":{"alt":null,"id":23896343806051,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c0561145a6b46ddebf81fdaac1a237396dd249_6ee1ac65-0a72-4bab-8008-0e039044fb5a.webp?v=1714970339"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c0561145a6b46ddebf81fdaac1a237396dd249_6ee1ac65-0a72-4bab-8008-0e039044fb5a.webp?v=1714970339","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b42f6a394b483fa80977a421917b5a2e051a10_5ea071d3-8db5-497b-bcfb-4fda45f5a193.webp?v=1714970342","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b205970df1cff16a2119a3c90fdbd65e9f57b25_6fbe6865-dbaf-46fc-bb62-5561cbd0eae0.webp?v=1714970344","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b151a9d5837fdbf917c35caeb33aff020c0e01da_d4000c18-480d-45fe-ae78-760a4fe072bf.webp?v=1714970346","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deaf7fcae3bf5292dfee774894fb2506f82d70bc_f7fe3de7-7217-44c8-a311-1ec00bad14c3.webp?v=1714970349","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0912b57b7ed5d2b180c299f107b1755f1aff821_3ae58a9d-96df-4575-a2a5-768565eed628.webp?v=1714970351","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed3049065532b331d9f29ecffd310b5e819f2df4_d3e74b6a-c7bc-4f15-a046-b8c03482ecf3.webp?v=1714970354","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2085bded080503fbb6fcc026da78a1ef530d695f_a91ef527-27b5-45a1-9c53-b07937cab727.webp?v=1714970356","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfa89bd6ede3ec6d86348e0d34a135f9064074e6_d404bee5-0da2-4cf9-a0c2-18462021097c.webp?v=1714970358","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e45339a57f1370b695454f48bd23dad01d30516_141c7a65-6f7a-4da0-81bc-ebe5256c9abc.webp?v=1714970361"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c0561145a6b46ddebf81fdaac1a237396dd249_6ee1ac65-0a72-4bab-8008-0e039044fb5a.webp?v=1714970339","options":["color"],"media":[{"alt":null,"id":23896343806051,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c0561145a6b46ddebf81fdaac1a237396dd249_6ee1ac65-0a72-4bab-8008-0e039044fb5a.webp?v=1714970339"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c0561145a6b46ddebf81fdaac1a237396dd249_6ee1ac65-0a72-4bab-8008-0e039044fb5a.webp?v=1714970339","width":2000},{"alt":null,"id":23896344658019,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b42f6a394b483fa80977a421917b5a2e051a10_5ea071d3-8db5-497b-bcfb-4fda45f5a193.webp?v=1714970342"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61b42f6a394b483fa80977a421917b5a2e051a10_5ea071d3-8db5-497b-bcfb-4fda45f5a193.webp?v=1714970342","width":2000},{"alt":null,"id":23896345477219,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b205970df1cff16a2119a3c90fdbd65e9f57b25_6fbe6865-dbaf-46fc-bb62-5561cbd0eae0.webp?v=1714970344"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b205970df1cff16a2119a3c90fdbd65e9f57b25_6fbe6865-dbaf-46fc-bb62-5561cbd0eae0.webp?v=1714970344","width":2000},{"alt":null,"id":23896346034275,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b151a9d5837fdbf917c35caeb33aff020c0e01da_d4000c18-480d-45fe-ae78-760a4fe072bf.webp?v=1714970346"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b151a9d5837fdbf917c35caeb33aff020c0e01da_d4000c18-480d-45fe-ae78-760a4fe072bf.webp?v=1714970346","width":2000},{"alt":null,"id":23896346820707,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deaf7fcae3bf5292dfee774894fb2506f82d70bc_f7fe3de7-7217-44c8-a311-1ec00bad14c3.webp?v=1714970349"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deaf7fcae3bf5292dfee774894fb2506f82d70bc_f7fe3de7-7217-44c8-a311-1ec00bad14c3.webp?v=1714970349","width":2000},{"alt":null,"id":23896347410531,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0912b57b7ed5d2b180c299f107b1755f1aff821_3ae58a9d-96df-4575-a2a5-768565eed628.webp?v=1714970351"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c0912b57b7ed5d2b180c299f107b1755f1aff821_3ae58a9d-96df-4575-a2a5-768565eed628.webp?v=1714970351","width":2000},{"alt":null,"id":23896348065891,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed3049065532b331d9f29ecffd310b5e819f2df4_d3e74b6a-c7bc-4f15-a046-b8c03482ecf3.webp?v=1714970354"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed3049065532b331d9f29ecffd310b5e819f2df4_d3e74b6a-c7bc-4f15-a046-b8c03482ecf3.webp?v=1714970354","width":2000},{"alt":null,"id":23896348590179,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2085bded080503fbb6fcc026da78a1ef530d695f_a91ef527-27b5-45a1-9c53-b07937cab727.webp?v=1714970356"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2085bded080503fbb6fcc026da78a1ef530d695f_a91ef527-27b5-45a1-9c53-b07937cab727.webp?v=1714970356","width":2000},{"alt":null,"id":23896349016163,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfa89bd6ede3ec6d86348e0d34a135f9064074e6_d404bee5-0da2-4cf9-a0c2-18462021097c.webp?v=1714970358"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfa89bd6ede3ec6d86348e0d34a135f9064074e6_d404bee5-0da2-4cf9-a0c2-18462021097c.webp?v=1714970358","width":2000},{"alt":null,"id":23896349442147,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e45339a57f1370b695454f48bd23dad01d30516_141c7a65-6f7a-4da0-81bc-ebe5256c9abc.webp?v=1714970361"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e45339a57f1370b695454f48bd23dad01d30516_141c7a65-6f7a-4da0-81bc-ebe5256c9abc.webp?v=1714970361","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":41916320612451,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108424-PB73","requires_shipping":true,"taxable":true,"featured_image":{"id":31490936733795,"product_id":7415994908771,"position":1,"created_at":"2024-05-06T12:38:59+08:00","updated_at":"2024-05-06T12:38:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c0561145a6b46ddebf81fdaac1a237396dd249_6ee1ac65-0a72-4bab-8008-0e039044fb5a.webp?v=1714970339","variant_ids":[41916320612451]},"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-PB73","featured_media":{"alt":null,"id":23896343806051,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c0561145a6b46ddebf81fdaac1a237396dd249_6ee1ac65-0a72-4bab-8008-0e039044fb5a.webp?v=1714970339"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41916320612451,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108424-PB73","requires_shipping":true,"taxable":true,"featured_image":{"id":31490936733795,"product_id":7415994908771,"position":1,"created_at":"2024-05-06T12:38:59+08:00","updated_at":"2024-05-06T12:38:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c0561145a6b46ddebf81fdaac1a237396dd249_6ee1ac65-0a72-4bab-8008-0e039044fb5a.webp?v=1714970339","variant_ids":[41916320612451]},"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-PB73","featured_media":{"alt":null,"id":23896343806051,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07c0561145a6b46ddebf81fdaac1a237396dd249_6ee1ac65-0a72-4bab-8008-0e039044fb5a.webp?v=1714970339"}},"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: "停產"
}