Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Weiweiboy - 可愛大龍王
$product = {"id":7416027152483,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Weiweiboy - 可愛大龍王","handle":"iphone-xs-max-mod-nx-printable-eo06","description":null,"published_at":"2024-06-11T16:50:47+08:00","created_at":"2024-05-06T12:44: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":41916651372643,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-EO06","requires_shipping":true,"taxable":true,"featured_image":{"id":31491023077475,"product_id":7416027152483,"position":7,"created_at":"2024-05-06T12:44:57+08:00","updated_at":"2024-05-06T12:44:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb32d058dea601b1e4db443cb337e1b600065780_8ba97ee8-94a9-4bf2-b1a8-528e74df35a0.webp?v=1714970697","variant_ids":[41916651372643]},"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-EO06","featured_media":{"alt":null,"id":23896430313571,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb32d058dea601b1e4db443cb337e1b600065780_8ba97ee8-94a9-4bf2-b1a8-528e74df35a0.webp?v=1714970697"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c8fac2f537591b5bbc9c455257d40b7ddd5258a_33725d92-df21-4360-bbd3-21a0a4dcb524.webp?v=1714970683","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6158f206d4c1479c84984e196ae79de98efab0af_727f0983-059b-4d43-b3d4-a05aaa62c2d4.webp?v=1714970685","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac53b8bf3b3c4d84532b6a67e08f3d5ca8fb0a8d_18fe0716-d9ea-4578-9311-14d4601f133e.webp?v=1714970687","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74df7ee78b798a514dcb3917336025dcb74ea04f_43560f12-4560-47d7-8bd0-abf75c6948d8.webp?v=1714970690","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4224776ce93cdf73c8150b884573c788c6c7ea8c_5df0b53e-22e1-43b4-a9e7-61a82b3800a6.webp?v=1714970693","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b48151d95cfb51f0ecd85a6c60d320773ebe166_ca4f996d-e3f2-416c-b133-ab7b147e0cac.webp?v=1714970695","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb32d058dea601b1e4db443cb337e1b600065780_8ba97ee8-94a9-4bf2-b1a8-528e74df35a0.webp?v=1714970697","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5d38f43c3bd8b3aeca9214646b8b2bcef382bc8_3ba6acdc-83e0-4936-93e9-e2c0a942ceb2.webp?v=1714970700","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6824f8838e7833f837f62c12d4e18597c1344bed_3227c37c-5e9c-483a-a828-207392cabbf6.webp?v=1714970702","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74982a235c5d3616fe79100c09b3f1f40a5e38db_4c6a3e78-38d3-46cd-b854-e1c721675d90.webp?v=1714970705"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c8fac2f537591b5bbc9c455257d40b7ddd5258a_33725d92-df21-4360-bbd3-21a0a4dcb524.webp?v=1714970683","options":["color"],"media":[{"alt":null,"id":23896426872931,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c8fac2f537591b5bbc9c455257d40b7ddd5258a_33725d92-df21-4360-bbd3-21a0a4dcb524.webp?v=1714970683"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c8fac2f537591b5bbc9c455257d40b7ddd5258a_33725d92-df21-4360-bbd3-21a0a4dcb524.webp?v=1714970683","width":2000},{"alt":null,"id":23896427397219,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6158f206d4c1479c84984e196ae79de98efab0af_727f0983-059b-4d43-b3d4-a05aaa62c2d4.webp?v=1714970685"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6158f206d4c1479c84984e196ae79de98efab0af_727f0983-059b-4d43-b3d4-a05aaa62c2d4.webp?v=1714970685","width":2000},{"alt":null,"id":23896427724899,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac53b8bf3b3c4d84532b6a67e08f3d5ca8fb0a8d_18fe0716-d9ea-4578-9311-14d4601f133e.webp?v=1714970687"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac53b8bf3b3c4d84532b6a67e08f3d5ca8fb0a8d_18fe0716-d9ea-4578-9311-14d4601f133e.webp?v=1714970687","width":2000},{"alt":null,"id":23896428281955,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74df7ee78b798a514dcb3917336025dcb74ea04f_43560f12-4560-47d7-8bd0-abf75c6948d8.webp?v=1714970690"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74df7ee78b798a514dcb3917336025dcb74ea04f_43560f12-4560-47d7-8bd0-abf75c6948d8.webp?v=1714970690","width":2000},{"alt":null,"id":23896428937315,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4224776ce93cdf73c8150b884573c788c6c7ea8c_5df0b53e-22e1-43b4-a9e7-61a82b3800a6.webp?v=1714970693"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4224776ce93cdf73c8150b884573c788c6c7ea8c_5df0b53e-22e1-43b4-a9e7-61a82b3800a6.webp?v=1714970693","width":2000},{"alt":null,"id":23896429494371,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b48151d95cfb51f0ecd85a6c60d320773ebe166_ca4f996d-e3f2-416c-b133-ab7b147e0cac.webp?v=1714970695"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b48151d95cfb51f0ecd85a6c60d320773ebe166_ca4f996d-e3f2-416c-b133-ab7b147e0cac.webp?v=1714970695","width":2000},{"alt":null,"id":23896430313571,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb32d058dea601b1e4db443cb337e1b600065780_8ba97ee8-94a9-4bf2-b1a8-528e74df35a0.webp?v=1714970697"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb32d058dea601b1e4db443cb337e1b600065780_8ba97ee8-94a9-4bf2-b1a8-528e74df35a0.webp?v=1714970697","width":2000},{"alt":null,"id":23896430805091,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5d38f43c3bd8b3aeca9214646b8b2bcef382bc8_3ba6acdc-83e0-4936-93e9-e2c0a942ceb2.webp?v=1714970700"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5d38f43c3bd8b3aeca9214646b8b2bcef382bc8_3ba6acdc-83e0-4936-93e9-e2c0a942ceb2.webp?v=1714970700","width":2000},{"alt":null,"id":23896431427683,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6824f8838e7833f837f62c12d4e18597c1344bed_3227c37c-5e9c-483a-a828-207392cabbf6.webp?v=1714970702"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6824f8838e7833f837f62c12d4e18597c1344bed_3227c37c-5e9c-483a-a828-207392cabbf6.webp?v=1714970702","width":2000},{"alt":null,"id":23896432017507,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74982a235c5d3616fe79100c09b3f1f40a5e38db_4c6a3e78-38d3-46cd-b854-e1c721675d90.webp?v=1714970705"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74982a235c5d3616fe79100c09b3f1f40a5e38db_4c6a3e78-38d3-46cd-b854-e1c721675d90.webp?v=1714970705","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41916651372643,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-EO06","requires_shipping":true,"taxable":true,"featured_image":{"id":31491023077475,"product_id":7416027152483,"position":7,"created_at":"2024-05-06T12:44:57+08:00","updated_at":"2024-05-06T12:44:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb32d058dea601b1e4db443cb337e1b600065780_8ba97ee8-94a9-4bf2-b1a8-528e74df35a0.webp?v=1714970697","variant_ids":[41916651372643]},"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-EO06","featured_media":{"alt":null,"id":23896430313571,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb32d058dea601b1e4db443cb337e1b600065780_8ba97ee8-94a9-4bf2-b1a8-528e74df35a0.webp?v=1714970697"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41916651372643,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-EO06","requires_shipping":true,"taxable":true,"featured_image":{"id":31491023077475,"product_id":7416027152483,"position":7,"created_at":"2024-05-06T12:44:57+08:00","updated_at":"2024-05-06T12:44:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb32d058dea601b1e4db443cb337e1b600065780_8ba97ee8-94a9-4bf2-b1a8-528e74df35a0.webp?v=1714970697","variant_ids":[41916651372643]},"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-EO06","featured_media":{"alt":null,"id":23896430313571,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb32d058dea601b1e4db443cb337e1b600065780_8ba97ee8-94a9-4bf2-b1a8-528e74df35a0.webp?v=1714970697"}},"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: "停產"
}