Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Weiweiboy - 可愛大王上甜點
$product = {"id":7415951032419,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Weiweiboy - 可愛大王上甜點","handle":"iphone-xs-max-mod-nx-printable-eo04","description":null,"published_at":"2024-06-11T16:48:45+08:00","created_at":"2024-05-06T12:30:38+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":41915854553187,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-EO04","requires_shipping":true,"taxable":true,"featured_image":{"id":31490817097827,"product_id":7415951032419,"position":4,"created_at":"2024-05-06T12:30:48+08:00","updated_at":"2024-05-06T12:30:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd8945d16bce0b949806dbfd8e6b277082a3a955_0daf68c1-4a02-4f25-aba4-2060c15fa66e.webp?v=1714969848","variant_ids":[41915854553187]},"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-EO04","featured_media":{"alt":null,"id":23896223907939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd8945d16bce0b949806dbfd8e6b277082a3a955_0daf68c1-4a02-4f25-aba4-2060c15fa66e.webp?v=1714969848"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19e49927a444564be620842c716d0917b8ef9e7d_fcacf5d2-8042-439d-8245-5687ff0502bb.webp?v=1714969841","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95cbaa39a1dce517ea8bd2e708af1ac21fb2034e_1c970e18-d475-4cf7-956f-572cae1a62d1.webp?v=1714969843","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d06675ce5dcaa7a9266a0d916df2f225e99240c3_aafe8414-15c1-47b4-86ec-f9ae466e941a.webp?v=1714969845","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd8945d16bce0b949806dbfd8e6b277082a3a955_0daf68c1-4a02-4f25-aba4-2060c15fa66e.webp?v=1714969848","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bafd1f12cd31c44ed78b157c3f8b1a1ae55c848_e7bb7f67-d348-46cd-b3bb-1a0e81bc9f53.webp?v=1714969850","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584faea9f370258a5cff405d10957a4b43e1d9df_adc016c4-4430-4980-b6a2-3493d170e43e.webp?v=1714969852","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5944648f4e05200041c88ca7edfa9c86e56f8e36_d61194a4-1c51-4364-9440-6f715b133784.webp?v=1714969854","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd3eb1263dba0c1d4b540696409b00806d318fc_f3f6ad8c-58e9-4b80-841e-23b44d863f44.webp?v=1714969857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a595adab2cfa3d75ec42544f6b6f8a4ae3f709b7_a9a5b741-82d7-42b7-b21b-938a3aec4560.webp?v=1714969859","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4451be626995b9483b57de1982939a85ab2ede4_b21003eb-52f8-44d2-a2af-307b998dce0b.webp?v=1714969862"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19e49927a444564be620842c716d0917b8ef9e7d_fcacf5d2-8042-439d-8245-5687ff0502bb.webp?v=1714969841","options":["color"],"media":[{"alt":null,"id":23896222498915,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19e49927a444564be620842c716d0917b8ef9e7d_fcacf5d2-8042-439d-8245-5687ff0502bb.webp?v=1714969841"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19e49927a444564be620842c716d0917b8ef9e7d_fcacf5d2-8042-439d-8245-5687ff0502bb.webp?v=1714969841","width":2000},{"alt":null,"id":23896222924899,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95cbaa39a1dce517ea8bd2e708af1ac21fb2034e_1c970e18-d475-4cf7-956f-572cae1a62d1.webp?v=1714969843"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95cbaa39a1dce517ea8bd2e708af1ac21fb2034e_1c970e18-d475-4cf7-956f-572cae1a62d1.webp?v=1714969843","width":2000},{"alt":null,"id":23896223318115,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d06675ce5dcaa7a9266a0d916df2f225e99240c3_aafe8414-15c1-47b4-86ec-f9ae466e941a.webp?v=1714969845"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d06675ce5dcaa7a9266a0d916df2f225e99240c3_aafe8414-15c1-47b4-86ec-f9ae466e941a.webp?v=1714969845","width":2000},{"alt":null,"id":23896223907939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd8945d16bce0b949806dbfd8e6b277082a3a955_0daf68c1-4a02-4f25-aba4-2060c15fa66e.webp?v=1714969848"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd8945d16bce0b949806dbfd8e6b277082a3a955_0daf68c1-4a02-4f25-aba4-2060c15fa66e.webp?v=1714969848","width":2000},{"alt":null,"id":23896224399459,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bafd1f12cd31c44ed78b157c3f8b1a1ae55c848_e7bb7f67-d348-46cd-b3bb-1a0e81bc9f53.webp?v=1714969850"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bafd1f12cd31c44ed78b157c3f8b1a1ae55c848_e7bb7f67-d348-46cd-b3bb-1a0e81bc9f53.webp?v=1714969850","width":2000},{"alt":null,"id":23896224956515,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584faea9f370258a5cff405d10957a4b43e1d9df_adc016c4-4430-4980-b6a2-3493d170e43e.webp?v=1714969852"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/584faea9f370258a5cff405d10957a4b43e1d9df_adc016c4-4430-4980-b6a2-3493d170e43e.webp?v=1714969852","width":2000},{"alt":null,"id":23896225448035,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5944648f4e05200041c88ca7edfa9c86e56f8e36_d61194a4-1c51-4364-9440-6f715b133784.webp?v=1714969854"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5944648f4e05200041c88ca7edfa9c86e56f8e36_d61194a4-1c51-4364-9440-6f715b133784.webp?v=1714969854","width":2000},{"alt":null,"id":23896226201699,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd3eb1263dba0c1d4b540696409b00806d318fc_f3f6ad8c-58e9-4b80-841e-23b44d863f44.webp?v=1714969857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cd3eb1263dba0c1d4b540696409b00806d318fc_f3f6ad8c-58e9-4b80-841e-23b44d863f44.webp?v=1714969857","width":2000},{"alt":null,"id":23896226889827,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a595adab2cfa3d75ec42544f6b6f8a4ae3f709b7_a9a5b741-82d7-42b7-b21b-938a3aec4560.webp?v=1714969859"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a595adab2cfa3d75ec42544f6b6f8a4ae3f709b7_a9a5b741-82d7-42b7-b21b-938a3aec4560.webp?v=1714969859","width":2000},{"alt":null,"id":23896227610723,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4451be626995b9483b57de1982939a85ab2ede4_b21003eb-52f8-44d2-a2af-307b998dce0b.webp?v=1714969862"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d4451be626995b9483b57de1982939a85ab2ede4_b21003eb-52f8-44d2-a2af-307b998dce0b.webp?v=1714969862","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41915854553187,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-EO04","requires_shipping":true,"taxable":true,"featured_image":{"id":31490817097827,"product_id":7415951032419,"position":4,"created_at":"2024-05-06T12:30:48+08:00","updated_at":"2024-05-06T12:30:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd8945d16bce0b949806dbfd8e6b277082a3a955_0daf68c1-4a02-4f25-aba4-2060c15fa66e.webp?v=1714969848","variant_ids":[41915854553187]},"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-EO04","featured_media":{"alt":null,"id":23896223907939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd8945d16bce0b949806dbfd8e6b277082a3a955_0daf68c1-4a02-4f25-aba4-2060c15fa66e.webp?v=1714969848"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41915854553187,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-EO04","requires_shipping":true,"taxable":true,"featured_image":{"id":31490817097827,"product_id":7415951032419,"position":4,"created_at":"2024-05-06T12:30:48+08:00","updated_at":"2024-05-06T12:30:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd8945d16bce0b949806dbfd8e6b277082a3a955_0daf68c1-4a02-4f25-aba4-2060c15fa66e.webp?v=1714969848","variant_ids":[41915854553187]},"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-EO04","featured_media":{"alt":null,"id":23896223907939,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd8945d16bce0b949806dbfd8e6b277082a3a955_0daf68c1-4a02-4f25-aba4-2060c15fa66e.webp?v=1714969848"}},"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: "停產"
}