Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 波巴費特-推推-幽默系列
$product = {"id":7415990681699,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 波巴費特-推推-幽默系列","handle":"iphone-xs-max-mod-nx-printable-pc08","description":null,"published_at":"2024-06-11T16:49:48+08:00","created_at":"2024-05-06T12:38:11+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 Max","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":41916273098851,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PC08","requires_shipping":true,"taxable":true,"featured_image":{"id":31490927591523,"product_id":7415990681699,"position":4,"created_at":"2024-05-06T12:38:23+08:00","updated_at":"2024-05-06T12:38:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d187f490fcb4ac2ded0240756757c64f48d4cc7_ada45a20-137d-4651-b284-f18d347becdd.webp?v=1714970303","variant_ids":[41916273098851]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0108624-PC08","featured_media":{"alt":null,"id":23896334729315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d187f490fcb4ac2ded0240756757c64f48d4cc7_ada45a20-137d-4651-b284-f18d347becdd.webp?v=1714970303"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d5105b7a22081843290c40c036323c3040eec43_2fbb56fd-8c6f-47b8-84a6-ccff931e7d8c.webp?v=1714970294","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95a19246234f12d420a24c48a1b7756fe584235f_ff2a16e2-4554-4a5e-a716-130bd620f1b3.webp?v=1714970296","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f662769284fe7db47f0778263fcc20737130a7ca_216824b5-2027-4211-bb61-fede0b5b2c4e.webp?v=1714970301","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d187f490fcb4ac2ded0240756757c64f48d4cc7_ada45a20-137d-4651-b284-f18d347becdd.webp?v=1714970303","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e01a99574114cc23ce7164e903db07f3cb0bbee0_0bc0164e-3319-40f3-9046-de2f284074a0.webp?v=1714970305","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30b21e9d67ddc8b02280ef2b972109b8e6707d78_ee1c0895-cada-41dc-95b0-8fe66807e061.webp?v=1714970308","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a0577a549e86f66961ab9b31bea2ca69b2266d7_9ee3583d-ef81-4167-9220-bf9d6db027a0.webp?v=1714970310","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24fc4048f604416ed8e44102ffea4906e10c795e_89274121-eb71-41ad-a5ae-feede52b86c5.webp?v=1714970312","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb425831d4dd46c8a68cb5a76ebc9f14a866622b_ea4b4000-4269-477f-883f-a839302a6417.webp?v=1714970314"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d5105b7a22081843290c40c036323c3040eec43_2fbb56fd-8c6f-47b8-84a6-ccff931e7d8c.webp?v=1714970294","options":["color"],"media":[{"alt":null,"id":23896331190371,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d5105b7a22081843290c40c036323c3040eec43_2fbb56fd-8c6f-47b8-84a6-ccff931e7d8c.webp?v=1714970294"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d5105b7a22081843290c40c036323c3040eec43_2fbb56fd-8c6f-47b8-84a6-ccff931e7d8c.webp?v=1714970294","width":2000},{"alt":null,"id":23896332042339,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95a19246234f12d420a24c48a1b7756fe584235f_ff2a16e2-4554-4a5e-a716-130bd620f1b3.webp?v=1714970296"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95a19246234f12d420a24c48a1b7756fe584235f_ff2a16e2-4554-4a5e-a716-130bd620f1b3.webp?v=1714970296","width":2000},{"alt":null,"id":23896333910115,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f662769284fe7db47f0778263fcc20737130a7ca_216824b5-2027-4211-bb61-fede0b5b2c4e.webp?v=1714970301"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f662769284fe7db47f0778263fcc20737130a7ca_216824b5-2027-4211-bb61-fede0b5b2c4e.webp?v=1714970301","width":2000},{"alt":null,"id":23896334729315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d187f490fcb4ac2ded0240756757c64f48d4cc7_ada45a20-137d-4651-b284-f18d347becdd.webp?v=1714970303"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d187f490fcb4ac2ded0240756757c64f48d4cc7_ada45a20-137d-4651-b284-f18d347becdd.webp?v=1714970303","width":2000},{"alt":null,"id":23896335155299,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e01a99574114cc23ce7164e903db07f3cb0bbee0_0bc0164e-3319-40f3-9046-de2f284074a0.webp?v=1714970305"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e01a99574114cc23ce7164e903db07f3cb0bbee0_0bc0164e-3319-40f3-9046-de2f284074a0.webp?v=1714970305","width":2000},{"alt":null,"id":23896335581283,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30b21e9d67ddc8b02280ef2b972109b8e6707d78_ee1c0895-cada-41dc-95b0-8fe66807e061.webp?v=1714970308"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30b21e9d67ddc8b02280ef2b972109b8e6707d78_ee1c0895-cada-41dc-95b0-8fe66807e061.webp?v=1714970308","width":2000},{"alt":null,"id":23896336072803,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a0577a549e86f66961ab9b31bea2ca69b2266d7_9ee3583d-ef81-4167-9220-bf9d6db027a0.webp?v=1714970310"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a0577a549e86f66961ab9b31bea2ca69b2266d7_9ee3583d-ef81-4167-9220-bf9d6db027a0.webp?v=1714970310","width":2000},{"alt":null,"id":23896336793699,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24fc4048f604416ed8e44102ffea4906e10c795e_89274121-eb71-41ad-a5ae-feede52b86c5.webp?v=1714970312"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/24fc4048f604416ed8e44102ffea4906e10c795e_89274121-eb71-41ad-a5ae-feede52b86c5.webp?v=1714970312","width":2000},{"alt":null,"id":23896337186915,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb425831d4dd46c8a68cb5a76ebc9f14a866622b_ea4b4000-4269-477f-883f-a839302a6417.webp?v=1714970314"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb425831d4dd46c8a68cb5a76ebc9f14a866622b_ea4b4000-4269-477f-883f-a839302a6417.webp?v=1714970314","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41916273098851,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PC08","requires_shipping":true,"taxable":true,"featured_image":{"id":31490927591523,"product_id":7415990681699,"position":4,"created_at":"2024-05-06T12:38:23+08:00","updated_at":"2024-05-06T12:38:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d187f490fcb4ac2ded0240756757c64f48d4cc7_ada45a20-137d-4651-b284-f18d347becdd.webp?v=1714970303","variant_ids":[41916273098851]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0108624-PC08","featured_media":{"alt":null,"id":23896334729315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d187f490fcb4ac2ded0240756757c64f48d4cc7_ada45a20-137d-4651-b284-f18d347becdd.webp?v=1714970303"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41916273098851,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PC08","requires_shipping":true,"taxable":true,"featured_image":{"id":31490927591523,"product_id":7415990681699,"position":4,"created_at":"2024-05-06T12:38:23+08:00","updated_at":"2024-05-06T12:38:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d187f490fcb4ac2ded0240756757c64f48d4cc7_ada45a20-137d-4651-b284-f18d347becdd.webp?v=1714970303","variant_ids":[41916273098851]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 迪士尼-星際大戰 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":"NPB0108624-PC08","featured_media":{"alt":null,"id":23896334729315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d187f490fcb4ac2ded0240756757c64f48d4cc7_ada45a20-137d-4651-b284-f18d347becdd.webp?v=1714970303"}},"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: "停產"
}