Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 星際大戰徽章-潮流系列
$product = {"id":7415969153123,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 星際大戰徽章-潮流系列","handle":"iphone-xs-max-mod-nx-printable-pb50","description":null,"published_at":"2024-06-11T16:49:14+08:00","created_at":"2024-05-06T12:34:00+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":41916045131875,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PB50","requires_shipping":true,"taxable":true,"featured_image":{"id":31490861858915,"product_id":7415969153123,"position":2,"created_at":"2024-05-06T12:34:05+08:00","updated_at":"2024-05-06T12:34:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b617f6115ea9733145aebfbf3d6b5475f41e6a4_69f4901d-4aff-4cc5-8ca4-05ae7369b20e.webp?v=1714970045","variant_ids":[41916045131875]},"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-PB50","featured_media":{"alt":null,"id":23896268865635,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b617f6115ea9733145aebfbf3d6b5475f41e6a4_69f4901d-4aff-4cc5-8ca4-05ae7369b20e.webp?v=1714970045"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74c139a1ab3b4d60287babd10f5b58a11c81fc96_642f94f8-ab04-4ad8-a568-ad9b8a23fd87.webp?v=1714970043","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b617f6115ea9733145aebfbf3d6b5475f41e6a4_69f4901d-4aff-4cc5-8ca4-05ae7369b20e.webp?v=1714970045","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbd0bcaabce09c654751ca44d0bac02c7924f2af_027743e7-a4ea-4393-9bed-09e71e401e84.webp?v=1714970047","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/216b44744f002d9ba3dc1ab32bf64e9252dda94b_1b9669a0-7d74-4634-8bb4-c360556144e1.webp?v=1714970050","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0adc221707201facb515c2f2063f91bcb54b3da7_bf45acb1-c0b9-47f6-a249-6bf01f910ed8.webp?v=1714970052","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bd13192180623af245eb5c1485f5bb7ac7c9b89_ae7ea18b-3f2e-408f-8ea3-b6d45b6a1f2c.webp?v=1714970055","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ded3c7ef3d3a098ab79025b8cef23da88389c211_fe9aa561-1d22-4ec5-bb8d-df61016e8d2a.webp?v=1714970058","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7680f9d0c2dc02bdd713e2966bd137130460f6ad_ee620aaf-c8b2-42c9-9d61-82d61c25ac49.webp?v=1714970061","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36d567ccee6a8d4077aff256a1a6f35b5db36fb6_4557ba5d-c64b-4eba-ac22-a8a3a4b7d00a.webp?v=1714970063","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c38f8bcd0384bdf24895f228b0918573fa1ed0c7_723925e0-74ba-4caf-9faf-bf896bd64db4.webp?v=1714970066"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74c139a1ab3b4d60287babd10f5b58a11c81fc96_642f94f8-ab04-4ad8-a568-ad9b8a23fd87.webp?v=1714970043","options":["color"],"media":[{"alt":null,"id":23896268472419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74c139a1ab3b4d60287babd10f5b58a11c81fc96_642f94f8-ab04-4ad8-a568-ad9b8a23fd87.webp?v=1714970043"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74c139a1ab3b4d60287babd10f5b58a11c81fc96_642f94f8-ab04-4ad8-a568-ad9b8a23fd87.webp?v=1714970043","width":2000},{"alt":null,"id":23896268865635,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b617f6115ea9733145aebfbf3d6b5475f41e6a4_69f4901d-4aff-4cc5-8ca4-05ae7369b20e.webp?v=1714970045"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b617f6115ea9733145aebfbf3d6b5475f41e6a4_69f4901d-4aff-4cc5-8ca4-05ae7369b20e.webp?v=1714970045","width":2000},{"alt":null,"id":23896269684835,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbd0bcaabce09c654751ca44d0bac02c7924f2af_027743e7-a4ea-4393-9bed-09e71e401e84.webp?v=1714970047"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbd0bcaabce09c654751ca44d0bac02c7924f2af_027743e7-a4ea-4393-9bed-09e71e401e84.webp?v=1714970047","width":2000},{"alt":null,"id":23896270176355,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/216b44744f002d9ba3dc1ab32bf64e9252dda94b_1b9669a0-7d74-4634-8bb4-c360556144e1.webp?v=1714970050"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/216b44744f002d9ba3dc1ab32bf64e9252dda94b_1b9669a0-7d74-4634-8bb4-c360556144e1.webp?v=1714970050","width":2000},{"alt":null,"id":23896270864483,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0adc221707201facb515c2f2063f91bcb54b3da7_bf45acb1-c0b9-47f6-a249-6bf01f910ed8.webp?v=1714970052"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0adc221707201facb515c2f2063f91bcb54b3da7_bf45acb1-c0b9-47f6-a249-6bf01f910ed8.webp?v=1714970052","width":2000},{"alt":null,"id":23896271945827,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bd13192180623af245eb5c1485f5bb7ac7c9b89_ae7ea18b-3f2e-408f-8ea3-b6d45b6a1f2c.webp?v=1714970055"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bd13192180623af245eb5c1485f5bb7ac7c9b89_ae7ea18b-3f2e-408f-8ea3-b6d45b6a1f2c.webp?v=1714970055","width":2000},{"alt":null,"id":23896272765027,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ded3c7ef3d3a098ab79025b8cef23da88389c211_fe9aa561-1d22-4ec5-bb8d-df61016e8d2a.webp?v=1714970058"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ded3c7ef3d3a098ab79025b8cef23da88389c211_fe9aa561-1d22-4ec5-bb8d-df61016e8d2a.webp?v=1714970058","width":2000},{"alt":null,"id":23896273453155,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7680f9d0c2dc02bdd713e2966bd137130460f6ad_ee620aaf-c8b2-42c9-9d61-82d61c25ac49.webp?v=1714970061"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7680f9d0c2dc02bdd713e2966bd137130460f6ad_ee620aaf-c8b2-42c9-9d61-82d61c25ac49.webp?v=1714970061","width":2000},{"alt":null,"id":23896274010211,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36d567ccee6a8d4077aff256a1a6f35b5db36fb6_4557ba5d-c64b-4eba-ac22-a8a3a4b7d00a.webp?v=1714970063"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36d567ccee6a8d4077aff256a1a6f35b5db36fb6_4557ba5d-c64b-4eba-ac22-a8a3a4b7d00a.webp?v=1714970063","width":2000},{"alt":null,"id":23896274731107,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c38f8bcd0384bdf24895f228b0918573fa1ed0c7_723925e0-74ba-4caf-9faf-bf896bd64db4.webp?v=1714970066"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c38f8bcd0384bdf24895f228b0918573fa1ed0c7_723925e0-74ba-4caf-9faf-bf896bd64db4.webp?v=1714970066","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41916045131875,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PB50","requires_shipping":true,"taxable":true,"featured_image":{"id":31490861858915,"product_id":7415969153123,"position":2,"created_at":"2024-05-06T12:34:05+08:00","updated_at":"2024-05-06T12:34:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b617f6115ea9733145aebfbf3d6b5475f41e6a4_69f4901d-4aff-4cc5-8ca4-05ae7369b20e.webp?v=1714970045","variant_ids":[41916045131875]},"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-PB50","featured_media":{"alt":null,"id":23896268865635,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b617f6115ea9733145aebfbf3d6b5475f41e6a4_69f4901d-4aff-4cc5-8ca4-05ae7369b20e.webp?v=1714970045"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41916045131875,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PB50","requires_shipping":true,"taxable":true,"featured_image":{"id":31490861858915,"product_id":7415969153123,"position":2,"created_at":"2024-05-06T12:34:05+08:00","updated_at":"2024-05-06T12:34:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b617f6115ea9733145aebfbf3d6b5475f41e6a4_69f4901d-4aff-4cc5-8ca4-05ae7369b20e.webp?v=1714970045","variant_ids":[41916045131875]},"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-PB50","featured_media":{"alt":null,"id":23896268865635,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b617f6115ea9733145aebfbf3d6b5475f41e6a4_69f4901d-4aff-4cc5-8ca4-05ae7369b20e.webp?v=1714970045"}},"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: "停產"
}