Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Weiweiboy - 可愛大王10週年
$product = {"id":7415913218147,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Weiweiboy - 可愛大王10週年","handle":"iphone-xs-max-mod-nx-printable-eo05","description":null,"published_at":"2024-06-11T16:47:47+08:00","created_at":"2024-05-06T12:23:39+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":41915474346083,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-EO05","requires_shipping":true,"taxable":true,"featured_image":{"id":31490720956515,"product_id":7415913218147,"position":9,"created_at":"2024-05-06T12:24:03+08:00","updated_at":"2024-05-06T12:24:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96c5b7b93a7789f38dd84485fd2edaa3cd77d98c_6f864999-76f3-4a06-ae5c-fa78cccaccc4.webp?v=1714969443","variant_ids":[41915474346083]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Weiweiboy - 可愛大王10週年 - 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-EO05","featured_media":{"alt":null,"id":23896127766627,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96c5b7b93a7789f38dd84485fd2edaa3cd77d98c_6f864999-76f3-4a06-ae5c-fa78cccaccc4.webp?v=1714969443"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73a1548bbc2febad0c18c1c564b0a6c08798f413_9597cb8d-3cc3-447b-be9f-48adaafecf42.webp?v=1714969423","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dcd33d91312b2b6fcb3d9ac6431047f1a97ed77_59f21495-4b83-4d45-9987-486a97d6ac8a.webp?v=1714969425","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b1b88e2d30e2d2eaf8f6694e089070b821b4abc_e7a4c645-66c5-46ed-adf5-b831f39115c1.webp?v=1714969428","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a845bf4ad5e4cc9e619fe2b6556e71ccec9012d_59185332-e3ea-4e0b-b2df-27f0456ef6a0.webp?v=1714969430","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8eef0891e265c99599a82e267e5f499d8a48640e_33c5ebce-670b-47a9-b05b-673465805079.webp?v=1714969433","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63eb7f0d0242240ccbdd7bce9527078df0dc1ee3_f9a7d234-0532-4b8c-8e98-dd3be697e7b9.webp?v=1714969436","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be620bf18c5224438f489b49c1a7c4660aa990cf_5aee4745-4776-4c38-9b86-c204620a2054.webp?v=1714969438","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e334b3df375a4dbc36d39d7739b64ed24a75c021_d03e80e1-f2ac-42e5-9086-d8363c272637.webp?v=1714969441","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96c5b7b93a7789f38dd84485fd2edaa3cd77d98c_6f864999-76f3-4a06-ae5c-fa78cccaccc4.webp?v=1714969443","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f35af41454b689849d2bf349bec518ac278de915_f9df72e1-237f-4ff5-acfd-ca900138c5db.webp?v=1714969446"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73a1548bbc2febad0c18c1c564b0a6c08798f413_9597cb8d-3cc3-447b-be9f-48adaafecf42.webp?v=1714969423","options":["color"],"media":[{"alt":null,"id":23896123441251,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73a1548bbc2febad0c18c1c564b0a6c08798f413_9597cb8d-3cc3-447b-be9f-48adaafecf42.webp?v=1714969423"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73a1548bbc2febad0c18c1c564b0a6c08798f413_9597cb8d-3cc3-447b-be9f-48adaafecf42.webp?v=1714969423","width":2000},{"alt":null,"id":23896123834467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dcd33d91312b2b6fcb3d9ac6431047f1a97ed77_59f21495-4b83-4d45-9987-486a97d6ac8a.webp?v=1714969425"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dcd33d91312b2b6fcb3d9ac6431047f1a97ed77_59f21495-4b83-4d45-9987-486a97d6ac8a.webp?v=1714969425","width":2000},{"alt":null,"id":23896124424291,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b1b88e2d30e2d2eaf8f6694e089070b821b4abc_e7a4c645-66c5-46ed-adf5-b831f39115c1.webp?v=1714969428"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b1b88e2d30e2d2eaf8f6694e089070b821b4abc_e7a4c645-66c5-46ed-adf5-b831f39115c1.webp?v=1714969428","width":2000},{"alt":null,"id":23896124784739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a845bf4ad5e4cc9e619fe2b6556e71ccec9012d_59185332-e3ea-4e0b-b2df-27f0456ef6a0.webp?v=1714969430"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a845bf4ad5e4cc9e619fe2b6556e71ccec9012d_59185332-e3ea-4e0b-b2df-27f0456ef6a0.webp?v=1714969430","width":2000},{"alt":null,"id":23896125407331,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8eef0891e265c99599a82e267e5f499d8a48640e_33c5ebce-670b-47a9-b05b-673465805079.webp?v=1714969433"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8eef0891e265c99599a82e267e5f499d8a48640e_33c5ebce-670b-47a9-b05b-673465805079.webp?v=1714969433","width":2000},{"alt":null,"id":23896126095459,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63eb7f0d0242240ccbdd7bce9527078df0dc1ee3_f9a7d234-0532-4b8c-8e98-dd3be697e7b9.webp?v=1714969436"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63eb7f0d0242240ccbdd7bce9527078df0dc1ee3_f9a7d234-0532-4b8c-8e98-dd3be697e7b9.webp?v=1714969436","width":2000},{"alt":null,"id":23896126718051,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be620bf18c5224438f489b49c1a7c4660aa990cf_5aee4745-4776-4c38-9b86-c204620a2054.webp?v=1714969438"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be620bf18c5224438f489b49c1a7c4660aa990cf_5aee4745-4776-4c38-9b86-c204620a2054.webp?v=1714969438","width":2000},{"alt":null,"id":23896127111267,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e334b3df375a4dbc36d39d7739b64ed24a75c021_d03e80e1-f2ac-42e5-9086-d8363c272637.webp?v=1714969441"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e334b3df375a4dbc36d39d7739b64ed24a75c021_d03e80e1-f2ac-42e5-9086-d8363c272637.webp?v=1714969441","width":2000},{"alt":null,"id":23896127766627,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96c5b7b93a7789f38dd84485fd2edaa3cd77d98c_6f864999-76f3-4a06-ae5c-fa78cccaccc4.webp?v=1714969443"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96c5b7b93a7789f38dd84485fd2edaa3cd77d98c_6f864999-76f3-4a06-ae5c-fa78cccaccc4.webp?v=1714969443","width":2000},{"alt":null,"id":23896128389219,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f35af41454b689849d2bf349bec518ac278de915_f9df72e1-237f-4ff5-acfd-ca900138c5db.webp?v=1714969446"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f35af41454b689849d2bf349bec518ac278de915_f9df72e1-237f-4ff5-acfd-ca900138c5db.webp?v=1714969446","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41915474346083,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-EO05","requires_shipping":true,"taxable":true,"featured_image":{"id":31490720956515,"product_id":7415913218147,"position":9,"created_at":"2024-05-06T12:24:03+08:00","updated_at":"2024-05-06T12:24:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96c5b7b93a7789f38dd84485fd2edaa3cd77d98c_6f864999-76f3-4a06-ae5c-fa78cccaccc4.webp?v=1714969443","variant_ids":[41915474346083]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Weiweiboy - 可愛大王10週年 - 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-EO05","featured_media":{"alt":null,"id":23896127766627,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96c5b7b93a7789f38dd84485fd2edaa3cd77d98c_6f864999-76f3-4a06-ae5c-fa78cccaccc4.webp?v=1714969443"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41915474346083,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-EO05","requires_shipping":true,"taxable":true,"featured_image":{"id":31490720956515,"product_id":7415913218147,"position":9,"created_at":"2024-05-06T12:24:03+08:00","updated_at":"2024-05-06T12:24:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96c5b7b93a7789f38dd84485fd2edaa3cd77d98c_6f864999-76f3-4a06-ae5c-fa78cccaccc4.webp?v=1714969443","variant_ids":[41915474346083]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Weiweiboy - 可愛大王10週年 - 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-EO05","featured_media":{"alt":null,"id":23896127766627,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96c5b7b93a7789f38dd84485fd2edaa3cd77d98c_6f864999-76f3-4a06-ae5c-fa78cccaccc4.webp?v=1714969443"}},"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: "停產"
}