Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Weiweiboy - 超級可愛大王
$product = {"id":7415951196259,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Weiweiboy - 超級可愛大王","handle":"iphone-xs-max-mod-nx-printable-eo01","description":null,"published_at":"2024-06-11T16:48:45+08:00","created_at":"2024-05-06T12:30:40+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Weiweiboy","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-weiweiboy","device-iPhone XS Max","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-weiweiboy","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":41915856748643,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-EO01","requires_shipping":true,"taxable":true,"featured_image":{"id":31490818375779,"product_id":7415951196259,"position":5,"created_at":"2024-05-06T12:30:53+08:00","updated_at":"2024-05-06T12:30:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a987adeec3de9f179713200e5f3dbf4bade22429_23f1e69e-9acb-4cf0-84bd-ebefba599283.webp?v=1714969853","variant_ids":[41915856748643]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Weiweiboy - 超級可愛大王 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108624-EO01","featured_media":{"alt":null,"id":23896225251427,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a987adeec3de9f179713200e5f3dbf4bade22429_23f1e69e-9acb-4cf0-84bd-ebefba599283.webp?v=1714969853"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deceeed086b8d5acda4de2b96ce700ed94d6f07b_4d8981c1-8efe-4fea-b7f5-3411c98b3b84.webp?v=1714969843","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a8a66b1cce711e54ab7f70159c602dd661be4fe_b99e7e6f-4dc2-454f-adac-e109a4764405.webp?v=1714969845","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/471cdb060e87ff7f93eb502f68c17f6754aa236b_0559d573-fc3f-407d-af2f-99e17c4d0fa6.webp?v=1714969848","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0646b4f61396017adcab029d9e91371e8e0cc402_496df179-05b0-46f2-993a-53607ec09b0a.webp?v=1714969850","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a987adeec3de9f179713200e5f3dbf4bade22429_23f1e69e-9acb-4cf0-84bd-ebefba599283.webp?v=1714969853","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66882c3b78bd2834743a6edfa0a0f56682ba96f3_c716e4e7-d9a0-4f90-9de0-09ebc1d88c78.webp?v=1714969856","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc054eaea50aedef603284abe8fc9661db0801fb_7f3e7f23-5172-4c14-ab86-bc9da35ce369.webp?v=1714969858","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4767d9e5be4554e7ff63801c18e726e8b914b00_fb1607bb-fac9-4f39-a024-691ee76b1837.webp?v=1714969861","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2020369a08cdea6d2f2913e8b00484c6f22d1f48_0ff4ae19-42c5-47f4-a09b-c877083dfa13.webp?v=1714969863","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52cea3764cc32e0e60707fdbea760538477ba75_30e7036e-7b83-41bb-a45a-157cd8e10b86.webp?v=1714969866"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deceeed086b8d5acda4de2b96ce700ed94d6f07b_4d8981c1-8efe-4fea-b7f5-3411c98b3b84.webp?v=1714969843","options":["color"],"media":[{"alt":null,"id":23896222892131,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deceeed086b8d5acda4de2b96ce700ed94d6f07b_4d8981c1-8efe-4fea-b7f5-3411c98b3b84.webp?v=1714969843"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/deceeed086b8d5acda4de2b96ce700ed94d6f07b_4d8981c1-8efe-4fea-b7f5-3411c98b3b84.webp?v=1714969843","width":2000},{"alt":null,"id":23896223285347,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a8a66b1cce711e54ab7f70159c602dd661be4fe_b99e7e6f-4dc2-454f-adac-e109a4764405.webp?v=1714969845"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a8a66b1cce711e54ab7f70159c602dd661be4fe_b99e7e6f-4dc2-454f-adac-e109a4764405.webp?v=1714969845","width":2000},{"alt":null,"id":23896224006243,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/471cdb060e87ff7f93eb502f68c17f6754aa236b_0559d573-fc3f-407d-af2f-99e17c4d0fa6.webp?v=1714969848"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/471cdb060e87ff7f93eb502f68c17f6754aa236b_0559d573-fc3f-407d-af2f-99e17c4d0fa6.webp?v=1714969848","width":2000},{"alt":null,"id":23896224464995,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0646b4f61396017adcab029d9e91371e8e0cc402_496df179-05b0-46f2-993a-53607ec09b0a.webp?v=1714969850"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0646b4f61396017adcab029d9e91371e8e0cc402_496df179-05b0-46f2-993a-53607ec09b0a.webp?v=1714969850","width":2000},{"alt":null,"id":23896225251427,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a987adeec3de9f179713200e5f3dbf4bade22429_23f1e69e-9acb-4cf0-84bd-ebefba599283.webp?v=1714969853"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a987adeec3de9f179713200e5f3dbf4bade22429_23f1e69e-9acb-4cf0-84bd-ebefba599283.webp?v=1714969853","width":2000},{"alt":null,"id":23896225742947,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66882c3b78bd2834743a6edfa0a0f56682ba96f3_c716e4e7-d9a0-4f90-9de0-09ebc1d88c78.webp?v=1714969856"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66882c3b78bd2834743a6edfa0a0f56682ba96f3_c716e4e7-d9a0-4f90-9de0-09ebc1d88c78.webp?v=1714969856","width":2000},{"alt":null,"id":23896226725987,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc054eaea50aedef603284abe8fc9661db0801fb_7f3e7f23-5172-4c14-ab86-bc9da35ce369.webp?v=1714969858"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc054eaea50aedef603284abe8fc9661db0801fb_7f3e7f23-5172-4c14-ab86-bc9da35ce369.webp?v=1714969858","width":2000},{"alt":null,"id":23896227446883,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4767d9e5be4554e7ff63801c18e726e8b914b00_fb1607bb-fac9-4f39-a024-691ee76b1837.webp?v=1714969861"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4767d9e5be4554e7ff63801c18e726e8b914b00_fb1607bb-fac9-4f39-a024-691ee76b1837.webp?v=1714969861","width":2000},{"alt":null,"id":23896228003939,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2020369a08cdea6d2f2913e8b00484c6f22d1f48_0ff4ae19-42c5-47f4-a09b-c877083dfa13.webp?v=1714969863"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2020369a08cdea6d2f2913e8b00484c6f22d1f48_0ff4ae19-42c5-47f4-a09b-c877083dfa13.webp?v=1714969863","width":2000},{"alt":null,"id":23896228429923,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52cea3764cc32e0e60707fdbea760538477ba75_30e7036e-7b83-41bb-a45a-157cd8e10b86.webp?v=1714969866"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52cea3764cc32e0e60707fdbea760538477ba75_30e7036e-7b83-41bb-a45a-157cd8e10b86.webp?v=1714969866","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41915856748643,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-EO01","requires_shipping":true,"taxable":true,"featured_image":{"id":31490818375779,"product_id":7415951196259,"position":5,"created_at":"2024-05-06T12:30:53+08:00","updated_at":"2024-05-06T12:30:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a987adeec3de9f179713200e5f3dbf4bade22429_23f1e69e-9acb-4cf0-84bd-ebefba599283.webp?v=1714969853","variant_ids":[41915856748643]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Weiweiboy - 超級可愛大王 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108624-EO01","featured_media":{"alt":null,"id":23896225251427,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a987adeec3de9f179713200e5f3dbf4bade22429_23f1e69e-9acb-4cf0-84bd-ebefba599283.webp?v=1714969853"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41915856748643,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-EO01","requires_shipping":true,"taxable":true,"featured_image":{"id":31490818375779,"product_id":7415951196259,"position":5,"created_at":"2024-05-06T12:30:53+08:00","updated_at":"2024-05-06T12:30:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a987adeec3de9f179713200e5f3dbf4bade22429_23f1e69e-9acb-4cf0-84bd-ebefba599283.webp?v=1714969853","variant_ids":[41915856748643]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Weiweiboy - 超級可愛大王 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108624-EO01","featured_media":{"alt":null,"id":23896225251427,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a987adeec3de9f179713200e5f3dbf4bade22429_23f1e69e-9acb-4cf0-84bd-ebefba599283.webp?v=1714969853"}},"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: "停產"
}