Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Weiweiboy - 可愛大龍王
$product = {"id":7408539566179,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Weiweiboy - 可愛大龍王","handle":"iphone-12-mini-mod-nx-printable-eo06","description":null,"published_at":"2024-06-11T16:40:06+08:00","created_at":"2024-05-03T15:46:26+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 12 mini","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":41886637359203,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-EO06","requires_shipping":true,"taxable":true,"featured_image":{"id":31472538648675,"product_id":7408539566179,"position":10,"created_at":"2024-05-03T15:46:50+08:00","updated_at":"2024-05-03T15:46:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b33d3c1a6ff85056b981a78d572d1e9019f1990d_5e6a850d-fca3-4bb0-a0a1-92411c257ed8.webp?v=1714722410","variant_ids":[41886637359203]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 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":"NPB0118424-EO06","featured_media":{"alt":null,"id":23877455937635,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b33d3c1a6ff85056b981a78d572d1e9019f1990d_5e6a850d-fca3-4bb0-a0a1-92411c257ed8.webp?v=1714722410"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7ac58b5eddb76dcf5e8a0255c927f92ec8a2b6c_9e72d1c4-6f87-4c07-9b49-f77f458affdb.webp?v=1714722388","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/068347d9578cb1f360bd5350fc4123e5eb7b5cdd_c019e27e-d378-4763-b9cf-0857923edc6f.webp?v=1714722391","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47b6a5342023dfdd6819b7387e899cd69c601a37_697a10ba-1b2d-4246-b8d2-938058b68bdc.webp?v=1714722393","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4219fba94ef5d24dcf09efa370cb8be046a426c_32126ccc-04a2-4bf8-849b-ee24599f29fd.webp?v=1714722395","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edcbcf44c75dabe13c0f13ebcf214980e4bfdfba_35514668-3d41-4492-9391-c3cbe37a06b4.webp?v=1714722398","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e71ecd61361418afdc12d7889f01f72906bb41f_f9eba5d0-3fbb-44ec-8e03-951cfdaa71ad.webp?v=1714722400","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a9546a3ac7b2973428fdefb92e72a707b97c9dd_c93d98b6-5587-4458-9635-a79bb09e6ce3.webp?v=1714722402","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e7cf73ca41dd69135e9c8e4fb5dadfbd8131b1e_124cd1d4-5bfa-4267-b352-03cb539b31e3.webp?v=1714722405","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea1b592b44ad9c6cdab666599a29beb70a7f5f55_aea45c04-3d35-43d6-942e-551d96b54c64.webp?v=1714722407","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b33d3c1a6ff85056b981a78d572d1e9019f1990d_5e6a850d-fca3-4bb0-a0a1-92411c257ed8.webp?v=1714722410","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bff67069976ee249d197fa7892d0999a58fcf4f_8df015f5-759d-4033-a93b-83c705b28da9.webp?v=1714722412"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7ac58b5eddb76dcf5e8a0255c927f92ec8a2b6c_9e72d1c4-6f87-4c07-9b49-f77f458affdb.webp?v=1714722388","options":["color"],"media":[{"alt":null,"id":23877451350115,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7ac58b5eddb76dcf5e8a0255c927f92ec8a2b6c_9e72d1c4-6f87-4c07-9b49-f77f458affdb.webp?v=1714722388"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7ac58b5eddb76dcf5e8a0255c927f92ec8a2b6c_9e72d1c4-6f87-4c07-9b49-f77f458affdb.webp?v=1714722388","width":2000},{"alt":null,"id":23877451841635,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/068347d9578cb1f360bd5350fc4123e5eb7b5cdd_c019e27e-d378-4763-b9cf-0857923edc6f.webp?v=1714722391"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/068347d9578cb1f360bd5350fc4123e5eb7b5cdd_c019e27e-d378-4763-b9cf-0857923edc6f.webp?v=1714722391","width":2000},{"alt":null,"id":23877452333155,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47b6a5342023dfdd6819b7387e899cd69c601a37_697a10ba-1b2d-4246-b8d2-938058b68bdc.webp?v=1714722393"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47b6a5342023dfdd6819b7387e899cd69c601a37_697a10ba-1b2d-4246-b8d2-938058b68bdc.webp?v=1714722393","width":2000},{"alt":null,"id":23877452759139,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4219fba94ef5d24dcf09efa370cb8be046a426c_32126ccc-04a2-4bf8-849b-ee24599f29fd.webp?v=1714722395"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4219fba94ef5d24dcf09efa370cb8be046a426c_32126ccc-04a2-4bf8-849b-ee24599f29fd.webp?v=1714722395","width":2000},{"alt":null,"id":23877453250659,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edcbcf44c75dabe13c0f13ebcf214980e4bfdfba_35514668-3d41-4492-9391-c3cbe37a06b4.webp?v=1714722398"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edcbcf44c75dabe13c0f13ebcf214980e4bfdfba_35514668-3d41-4492-9391-c3cbe37a06b4.webp?v=1714722398","width":2000},{"alt":null,"id":23877453676643,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e71ecd61361418afdc12d7889f01f72906bb41f_f9eba5d0-3fbb-44ec-8e03-951cfdaa71ad.webp?v=1714722400"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e71ecd61361418afdc12d7889f01f72906bb41f_f9eba5d0-3fbb-44ec-8e03-951cfdaa71ad.webp?v=1714722400","width":2000},{"alt":null,"id":23877454233699,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a9546a3ac7b2973428fdefb92e72a707b97c9dd_c93d98b6-5587-4458-9635-a79bb09e6ce3.webp?v=1714722402"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a9546a3ac7b2973428fdefb92e72a707b97c9dd_c93d98b6-5587-4458-9635-a79bb09e6ce3.webp?v=1714722402","width":2000},{"alt":null,"id":23877454790755,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e7cf73ca41dd69135e9c8e4fb5dadfbd8131b1e_124cd1d4-5bfa-4267-b352-03cb539b31e3.webp?v=1714722405"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e7cf73ca41dd69135e9c8e4fb5dadfbd8131b1e_124cd1d4-5bfa-4267-b352-03cb539b31e3.webp?v=1714722405","width":2000},{"alt":null,"id":23877455347811,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea1b592b44ad9c6cdab666599a29beb70a7f5f55_aea45c04-3d35-43d6-942e-551d96b54c64.webp?v=1714722407"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea1b592b44ad9c6cdab666599a29beb70a7f5f55_aea45c04-3d35-43d6-942e-551d96b54c64.webp?v=1714722407","width":2000},{"alt":null,"id":23877455937635,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b33d3c1a6ff85056b981a78d572d1e9019f1990d_5e6a850d-fca3-4bb0-a0a1-92411c257ed8.webp?v=1714722410"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b33d3c1a6ff85056b981a78d572d1e9019f1990d_5e6a850d-fca3-4bb0-a0a1-92411c257ed8.webp?v=1714722410","width":2000},{"alt":null,"id":23877456756835,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bff67069976ee249d197fa7892d0999a58fcf4f_8df015f5-759d-4033-a93b-83c705b28da9.webp?v=1714722412"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bff67069976ee249d197fa7892d0999a58fcf4f_8df015f5-759d-4033-a93b-83c705b28da9.webp?v=1714722412","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41886637359203,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-EO06","requires_shipping":true,"taxable":true,"featured_image":{"id":31472538648675,"product_id":7408539566179,"position":10,"created_at":"2024-05-03T15:46:50+08:00","updated_at":"2024-05-03T15:46:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b33d3c1a6ff85056b981a78d572d1e9019f1990d_5e6a850d-fca3-4bb0-a0a1-92411c257ed8.webp?v=1714722410","variant_ids":[41886637359203]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 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":"NPB0118424-EO06","featured_media":{"alt":null,"id":23877455937635,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b33d3c1a6ff85056b981a78d572d1e9019f1990d_5e6a850d-fca3-4bb0-a0a1-92411c257ed8.webp?v=1714722410"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41886637359203,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-EO06","requires_shipping":true,"taxable":true,"featured_image":{"id":31472538648675,"product_id":7408539566179,"position":10,"created_at":"2024-05-03T15:46:50+08:00","updated_at":"2024-05-03T15:46:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b33d3c1a6ff85056b981a78d572d1e9019f1990d_5e6a850d-fca3-4bb0-a0a1-92411c257ed8.webp?v=1714722410","variant_ids":[41886637359203]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 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":"NPB0118424-EO06","featured_media":{"alt":null,"id":23877455937635,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b33d3c1a6ff85056b981a78d572d1e9019f1990d_5e6a850d-fca3-4bb0-a0a1-92411c257ed8.webp?v=1714722410"}},"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: "停產"
}