Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Snoopy 史努比 - 愛心墨鏡
$product = {"id":7369142960227,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Snoopy 史努比 - 愛心墨鏡","handle":"iphone-12-mini-mod-nx-printable-pl64","description":null,"published_at":"2024-06-11T16:13:10+08:00","created_at":"2024-04-23T15:32:51+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Snoopy 史努比","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-snoopy","device-iPhone 12 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-snoopy","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":41792983924835,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":31386900594787,"product_id":7369142960227,"position":6,"created_at":"2024-04-23T15:33:06+08:00","updated_at":"2024-04-23T15:33:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5b908a647faede12bfe44c2e55b45e2d85ae31b_96cd0601-ea3b-4758-8704-ed167d75881d.webp?v=1713857586","variant_ids":[41792983924835]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Snoopy 史努比 - 愛心墨鏡 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-PL64","featured_media":{"alt":null,"id":23789138509923,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5b908a647faede12bfe44c2e55b45e2d85ae31b_96cd0601-ea3b-4758-8704-ed167d75881d.webp?v=1713857586"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0478b3e7ed0e43ad1178011b079865230b4e2d1_70cef99a-0ed2-486a-a160-aa5472d6be08.webp?v=1713857574","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c109791d753a6f8a17ae01c92e63f8c1b5c3c9eb_e287657c-3e78-4e41-a93c-52f4170121d3.webp?v=1713857576","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86bf8cad765b8f1a031d78d1db5b669439010438_faa3b1fd-8a6a-4f3e-8a67-b65983335171.webp?v=1713857578","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbaeb4fd603fdd29962adb3e0d1058790c5e0110_9dfc5525-acc9-4b21-b2d9-2d6bc37d1b3f.webp?v=1713857581","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f9e1453dfaffe8d738e90d2b155e42b5324b71c_61cfbdaf-0e6a-43ea-8cb5-637ba369c42a.webp?v=1713857584","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5b908a647faede12bfe44c2e55b45e2d85ae31b_96cd0601-ea3b-4758-8704-ed167d75881d.webp?v=1713857586","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fedc82598be379e2b5f2123454ad89d2a6059a0_7dff1f81-97ba-4ca3-b0ab-ba69553144ef.webp?v=1713857589","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18923be621e4584a197b55510ba4970bed9467be_af196d63-4f0d-48cb-a4c9-45a5e2ac390e.webp?v=1713857591","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4ca1fdcc806fe0c554d6016f190e5f0168ac6f8_cb66faa5-6dc6-448b-ba5e-47ddec4616fb.webp?v=1713857593","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/400f8dd3302568367e36719ddab36775d4856880_c7ca056c-0b8b-4950-9a67-d67cb26a2179.webp?v=1713857596","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/284b6f218a4381484fb4fb9be8c40c57f7940b2e_0548abe2-4c4c-434e-9860-470d3b2c19bb.webp?v=1713857598"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0478b3e7ed0e43ad1178011b079865230b4e2d1_70cef99a-0ed2-486a-a160-aa5472d6be08.webp?v=1713857574","options":["color"],"media":[{"alt":null,"id":23789135364195,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0478b3e7ed0e43ad1178011b079865230b4e2d1_70cef99a-0ed2-486a-a160-aa5472d6be08.webp?v=1713857574"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0478b3e7ed0e43ad1178011b079865230b4e2d1_70cef99a-0ed2-486a-a160-aa5472d6be08.webp?v=1713857574","width":2000},{"alt":null,"id":23789135921251,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c109791d753a6f8a17ae01c92e63f8c1b5c3c9eb_e287657c-3e78-4e41-a93c-52f4170121d3.webp?v=1713857576"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c109791d753a6f8a17ae01c92e63f8c1b5c3c9eb_e287657c-3e78-4e41-a93c-52f4170121d3.webp?v=1713857576","width":2000},{"alt":null,"id":23789136445539,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86bf8cad765b8f1a031d78d1db5b669439010438_faa3b1fd-8a6a-4f3e-8a67-b65983335171.webp?v=1713857578"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/86bf8cad765b8f1a031d78d1db5b669439010438_faa3b1fd-8a6a-4f3e-8a67-b65983335171.webp?v=1713857578","width":2000},{"alt":null,"id":23789137231971,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbaeb4fd603fdd29962adb3e0d1058790c5e0110_9dfc5525-acc9-4b21-b2d9-2d6bc37d1b3f.webp?v=1713857581"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbaeb4fd603fdd29962adb3e0d1058790c5e0110_9dfc5525-acc9-4b21-b2d9-2d6bc37d1b3f.webp?v=1713857581","width":2000},{"alt":null,"id":23789137789027,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f9e1453dfaffe8d738e90d2b155e42b5324b71c_61cfbdaf-0e6a-43ea-8cb5-637ba369c42a.webp?v=1713857584"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f9e1453dfaffe8d738e90d2b155e42b5324b71c_61cfbdaf-0e6a-43ea-8cb5-637ba369c42a.webp?v=1713857584","width":2000},{"alt":null,"id":23789138509923,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5b908a647faede12bfe44c2e55b45e2d85ae31b_96cd0601-ea3b-4758-8704-ed167d75881d.webp?v=1713857586"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5b908a647faede12bfe44c2e55b45e2d85ae31b_96cd0601-ea3b-4758-8704-ed167d75881d.webp?v=1713857586","width":2000},{"alt":null,"id":23789139034211,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fedc82598be379e2b5f2123454ad89d2a6059a0_7dff1f81-97ba-4ca3-b0ab-ba69553144ef.webp?v=1713857589"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fedc82598be379e2b5f2123454ad89d2a6059a0_7dff1f81-97ba-4ca3-b0ab-ba69553144ef.webp?v=1713857589","width":2000},{"alt":null,"id":23789139787875,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18923be621e4584a197b55510ba4970bed9467be_af196d63-4f0d-48cb-a4c9-45a5e2ac390e.webp?v=1713857591"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18923be621e4584a197b55510ba4970bed9467be_af196d63-4f0d-48cb-a4c9-45a5e2ac390e.webp?v=1713857591","width":2000},{"alt":null,"id":23789140246627,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4ca1fdcc806fe0c554d6016f190e5f0168ac6f8_cb66faa5-6dc6-448b-ba5e-47ddec4616fb.webp?v=1713857593"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4ca1fdcc806fe0c554d6016f190e5f0168ac6f8_cb66faa5-6dc6-448b-ba5e-47ddec4616fb.webp?v=1713857593","width":2000},{"alt":null,"id":23789140967523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/400f8dd3302568367e36719ddab36775d4856880_c7ca056c-0b8b-4950-9a67-d67cb26a2179.webp?v=1713857596"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/400f8dd3302568367e36719ddab36775d4856880_c7ca056c-0b8b-4950-9a67-d67cb26a2179.webp?v=1713857596","width":2000},{"alt":null,"id":23789141459043,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/284b6f218a4381484fb4fb9be8c40c57f7940b2e_0548abe2-4c4c-434e-9860-470d3b2c19bb.webp?v=1713857598"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/284b6f218a4381484fb4fb9be8c40c57f7940b2e_0548abe2-4c4c-434e-9860-470d3b2c19bb.webp?v=1713857598","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41792983924835,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":31386900594787,"product_id":7369142960227,"position":6,"created_at":"2024-04-23T15:33:06+08:00","updated_at":"2024-04-23T15:33:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5b908a647faede12bfe44c2e55b45e2d85ae31b_96cd0601-ea3b-4758-8704-ed167d75881d.webp?v=1713857586","variant_ids":[41792983924835]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Snoopy 史努比 - 愛心墨鏡 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-PL64","featured_media":{"alt":null,"id":23789138509923,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5b908a647faede12bfe44c2e55b45e2d85ae31b_96cd0601-ea3b-4758-8704-ed167d75881d.webp?v=1713857586"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41792983924835,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PL64","requires_shipping":true,"taxable":true,"featured_image":{"id":31386900594787,"product_id":7369142960227,"position":6,"created_at":"2024-04-23T15:33:06+08:00","updated_at":"2024-04-23T15:33:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5b908a647faede12bfe44c2e55b45e2d85ae31b_96cd0601-ea3b-4758-8704-ed167d75881d.webp?v=1713857586","variant_ids":[41792983924835]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Snoopy 史努比 - 愛心墨鏡 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-PL64","featured_media":{"alt":null,"id":23789138509923,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5b908a647faede12bfe44c2e55b45e2d85ae31b_96cd0601-ea3b-4758-8704-ed167d75881d.webp?v=1713857586"}},"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: "停產"
}