Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 鈦戰機
$product = {"id":7415914004579,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 鈦戰機","handle":"iphone-xs-max-mod-nx-printable-pb73","description":null,"published_at":"2024-06-11T16:47:48+08:00","created_at":"2024-05-06T12:23:46+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":41915478114403,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PB73","requires_shipping":true,"taxable":true,"featured_image":{"id":31490722922595,"product_id":7415914004579,"position":10,"created_at":"2024-05-06T12:24:11+08:00","updated_at":"2024-05-06T12:24:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eb70d36c61e48ab9606fb6a234a4d246f47c6c4_ce0ad8d8-8472-43d7-af53-54af5bbe00ec.webp?v=1714969451","variant_ids":[41915478114403]},"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-PB73","featured_media":{"alt":null,"id":23896129667171,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eb70d36c61e48ab9606fb6a234a4d246f47c6c4_ce0ad8d8-8472-43d7-af53-54af5bbe00ec.webp?v=1714969451"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86b02ef8fa9ffa052a700354f0d21d0176ba13aa_5d2f190d-bdd1-4e45-aa70-30e9f6997e0f.webp?v=1714969429","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83d2b8ceda82b459d7b5dc717f45966d904544ed_a4fa2c0d-03e8-41b8-9e40-348782259a9b.webp?v=1714969431","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3f27949bf4712169646eee53101aea60388c52e_84821457-2a91-4b9b-8751-bd7c54b95fc4.webp?v=1714969434","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8be9004519c377c73c04b4beebd227349d7b5390_f891c9fc-b617-4c7a-9742-e92f6942b3c6.webp?v=1714969436","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ba9d6f1fbe3eeece2b20df219ae72ffc3cfa296_c01bcfe4-0ea4-4efd-abab-0cd3da8e5da6.webp?v=1714969439","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957ba8d135f9b77cf711d7ee3a226c0cd2200c2d_770c0f2c-7104-450a-b49b-37ccaf5478d8.webp?v=1714969441","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/138e0df9fead8bdb76ce4c6af9bf521b33b6e097_cc3cf040-50da-4931-8473-4fcccfedbe9a.webp?v=1714969444","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/874142bdf8838f768cb1016539602021d95df176_b1473a43-9da2-43f9-a24a-b69f958ef21a.webp?v=1714969446","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcf6428e18ce844f0b0bb0a4e366920ec73cbeeb_f44f3ce0-29de-4c78-a8bd-3119d378fcba.webp?v=1714969449","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eb70d36c61e48ab9606fb6a234a4d246f47c6c4_ce0ad8d8-8472-43d7-af53-54af5bbe00ec.webp?v=1714969451"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86b02ef8fa9ffa052a700354f0d21d0176ba13aa_5d2f190d-bdd1-4e45-aa70-30e9f6997e0f.webp?v=1714969429","options":["color"],"media":[{"alt":null,"id":23896124522595,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86b02ef8fa9ffa052a700354f0d21d0176ba13aa_5d2f190d-bdd1-4e45-aa70-30e9f6997e0f.webp?v=1714969429"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86b02ef8fa9ffa052a700354f0d21d0176ba13aa_5d2f190d-bdd1-4e45-aa70-30e9f6997e0f.webp?v=1714969429","width":2000},{"alt":null,"id":23896124948579,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83d2b8ceda82b459d7b5dc717f45966d904544ed_a4fa2c0d-03e8-41b8-9e40-348782259a9b.webp?v=1714969431"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83d2b8ceda82b459d7b5dc717f45966d904544ed_a4fa2c0d-03e8-41b8-9e40-348782259a9b.webp?v=1714969431","width":2000},{"alt":null,"id":23896125505635,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3f27949bf4712169646eee53101aea60388c52e_84821457-2a91-4b9b-8751-bd7c54b95fc4.webp?v=1714969434"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3f27949bf4712169646eee53101aea60388c52e_84821457-2a91-4b9b-8751-bd7c54b95fc4.webp?v=1714969434","width":2000},{"alt":null,"id":23896126259299,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8be9004519c377c73c04b4beebd227349d7b5390_f891c9fc-b617-4c7a-9742-e92f6942b3c6.webp?v=1714969436"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8be9004519c377c73c04b4beebd227349d7b5390_f891c9fc-b617-4c7a-9742-e92f6942b3c6.webp?v=1714969436","width":2000},{"alt":null,"id":23896126881891,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ba9d6f1fbe3eeece2b20df219ae72ffc3cfa296_c01bcfe4-0ea4-4efd-abab-0cd3da8e5da6.webp?v=1714969439"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ba9d6f1fbe3eeece2b20df219ae72ffc3cfa296_c01bcfe4-0ea4-4efd-abab-0cd3da8e5da6.webp?v=1714969439","width":2000},{"alt":null,"id":23896127307875,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957ba8d135f9b77cf711d7ee3a226c0cd2200c2d_770c0f2c-7104-450a-b49b-37ccaf5478d8.webp?v=1714969441"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/957ba8d135f9b77cf711d7ee3a226c0cd2200c2d_770c0f2c-7104-450a-b49b-37ccaf5478d8.webp?v=1714969441","width":2000},{"alt":null,"id":23896128028771,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/138e0df9fead8bdb76ce4c6af9bf521b33b6e097_cc3cf040-50da-4931-8473-4fcccfedbe9a.webp?v=1714969444"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/138e0df9fead8bdb76ce4c6af9bf521b33b6e097_cc3cf040-50da-4931-8473-4fcccfedbe9a.webp?v=1714969444","width":2000},{"alt":null,"id":23896128553059,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/874142bdf8838f768cb1016539602021d95df176_b1473a43-9da2-43f9-a24a-b69f958ef21a.webp?v=1714969446"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/874142bdf8838f768cb1016539602021d95df176_b1473a43-9da2-43f9-a24a-b69f958ef21a.webp?v=1714969446","width":2000},{"alt":null,"id":23896129175651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcf6428e18ce844f0b0bb0a4e366920ec73cbeeb_f44f3ce0-29de-4c78-a8bd-3119d378fcba.webp?v=1714969449"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bcf6428e18ce844f0b0bb0a4e366920ec73cbeeb_f44f3ce0-29de-4c78-a8bd-3119d378fcba.webp?v=1714969449","width":2000},{"alt":null,"id":23896129667171,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eb70d36c61e48ab9606fb6a234a4d246f47c6c4_ce0ad8d8-8472-43d7-af53-54af5bbe00ec.webp?v=1714969451"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eb70d36c61e48ab9606fb6a234a4d246f47c6c4_ce0ad8d8-8472-43d7-af53-54af5bbe00ec.webp?v=1714969451","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41915478114403,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PB73","requires_shipping":true,"taxable":true,"featured_image":{"id":31490722922595,"product_id":7415914004579,"position":10,"created_at":"2024-05-06T12:24:11+08:00","updated_at":"2024-05-06T12:24:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eb70d36c61e48ab9606fb6a234a4d246f47c6c4_ce0ad8d8-8472-43d7-af53-54af5bbe00ec.webp?v=1714969451","variant_ids":[41915478114403]},"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-PB73","featured_media":{"alt":null,"id":23896129667171,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eb70d36c61e48ab9606fb6a234a4d246f47c6c4_ce0ad8d8-8472-43d7-af53-54af5bbe00ec.webp?v=1714969451"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41915478114403,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-PB73","requires_shipping":true,"taxable":true,"featured_image":{"id":31490722922595,"product_id":7415914004579,"position":10,"created_at":"2024-05-06T12:24:11+08:00","updated_at":"2024-05-06T12:24:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eb70d36c61e48ab9606fb6a234a4d246f47c6c4_ce0ad8d8-8472-43d7-af53-54af5bbe00ec.webp?v=1714969451","variant_ids":[41915478114403]},"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-PB73","featured_media":{"alt":null,"id":23896129667171,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7eb70d36c61e48ab9606fb6a234a4d246f47c6c4_ce0ad8d8-8472-43d7-af53-54af5bbe00ec.webp?v=1714969451"}},"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: "停產"
}