Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Snoopy 史努比 - 夏日活動
$product = {"id":7369158557795,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Snoopy 史努比 - 夏日活動","handle":"iphone-12-mini-mod-nx-printable-pl61","description":null,"published_at":"2024-06-11T16:13:28+08:00","created_at":"2024-04-23T15:35:28+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":41793134854243,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PL61","requires_shipping":true,"taxable":true,"featured_image":{"id":31386945028195,"product_id":7369158557795,"position":10,"created_at":"2024-04-23T15:35:54+08:00","updated_at":"2024-04-23T15:35:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b515260a84613bfcb1f1db6bbc5b8b0871c6a76c_4403ef71-3c30-46fb-9a32-1cbbdbf4bb04.webp?v=1713857754","variant_ids":[41793134854243]},"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-PL61","featured_media":{"alt":null,"id":23789183205475,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b515260a84613bfcb1f1db6bbc5b8b0871c6a76c_4403ef71-3c30-46fb-9a32-1cbbdbf4bb04.webp?v=1713857754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f39acf660d47ef75a4f255ee28fc28a9b6dc0685_2cafb9da-c76a-4590-8307-8de2fad90dd9.webp?v=1713857730","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f09e89889febe9fbc484170c0916fec63fa4263_45b62e4d-8b43-40e5-b6b0-5720f985310a.webp?v=1713857733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13c3904e78c9cb40176aa3cad43b3e40dbf0bdc5_e52cb717-2a63-41e3-9e50-32663c31145d.webp?v=1713857735","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81bebc99679163d39a4a310a7557fc72121794fe_5b06144e-b15b-47ce-bf08-4fd99319143d.webp?v=1713857738","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ced79a0c9b59a541adbad142c42caf986e24dbd_0c0c8ae3-99c1-4b70-a628-e5e27bcc0f9d.webp?v=1713857740","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0155356e258a90178ab2e5476c517eba41956b1b_a693abf8-c923-4b98-bc5c-1dd10921584f.webp?v=1713857743","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf9e104af3c0e2bd4a2bf5f483edb73c8f93d18_92a76cab-e50e-4fff-b4e0-d3598ebf1c4f.webp?v=1713857746","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30c2ad96f43a686cb899b9d58a43bf6fe74f398_df7831a6-8493-45d4-8afe-44e006cd3280.webp?v=1713857749","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13a970e7235998bddefb48db95a07e216c9361c5_8a55647a-71d5-4605-ac9c-b48a4b88ae57.webp?v=1713857752","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b515260a84613bfcb1f1db6bbc5b8b0871c6a76c_4403ef71-3c30-46fb-9a32-1cbbdbf4bb04.webp?v=1713857754","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/872fd183af80fa3e341b6a7d903be12a7e44b322_431d81f4-c410-487e-ab47-63fe12374217.webp?v=1713857756"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f39acf660d47ef75a4f255ee28fc28a9b6dc0685_2cafb9da-c76a-4590-8307-8de2fad90dd9.webp?v=1713857730","options":["color"],"media":[{"alt":null,"id":23789176127587,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f39acf660d47ef75a4f255ee28fc28a9b6dc0685_2cafb9da-c76a-4590-8307-8de2fad90dd9.webp?v=1713857730"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f39acf660d47ef75a4f255ee28fc28a9b6dc0685_2cafb9da-c76a-4590-8307-8de2fad90dd9.webp?v=1713857730","width":2000},{"alt":null,"id":23789176750179,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f09e89889febe9fbc484170c0916fec63fa4263_45b62e4d-8b43-40e5-b6b0-5720f985310a.webp?v=1713857733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f09e89889febe9fbc484170c0916fec63fa4263_45b62e4d-8b43-40e5-b6b0-5720f985310a.webp?v=1713857733","width":2000},{"alt":null,"id":23789177831523,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13c3904e78c9cb40176aa3cad43b3e40dbf0bdc5_e52cb717-2a63-41e3-9e50-32663c31145d.webp?v=1713857735"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13c3904e78c9cb40176aa3cad43b3e40dbf0bdc5_e52cb717-2a63-41e3-9e50-32663c31145d.webp?v=1713857735","width":2000},{"alt":null,"id":23789178617955,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81bebc99679163d39a4a310a7557fc72121794fe_5b06144e-b15b-47ce-bf08-4fd99319143d.webp?v=1713857738"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81bebc99679163d39a4a310a7557fc72121794fe_5b06144e-b15b-47ce-bf08-4fd99319143d.webp?v=1713857738","width":2000},{"alt":null,"id":23789179076707,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ced79a0c9b59a541adbad142c42caf986e24dbd_0c0c8ae3-99c1-4b70-a628-e5e27bcc0f9d.webp?v=1713857740"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ced79a0c9b59a541adbad142c42caf986e24dbd_0c0c8ae3-99c1-4b70-a628-e5e27bcc0f9d.webp?v=1713857740","width":2000},{"alt":null,"id":23789179994211,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0155356e258a90178ab2e5476c517eba41956b1b_a693abf8-c923-4b98-bc5c-1dd10921584f.webp?v=1713857743"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0155356e258a90178ab2e5476c517eba41956b1b_a693abf8-c923-4b98-bc5c-1dd10921584f.webp?v=1713857743","width":2000},{"alt":null,"id":23789180846179,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf9e104af3c0e2bd4a2bf5f483edb73c8f93d18_92a76cab-e50e-4fff-b4e0-d3598ebf1c4f.webp?v=1713857746"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf9e104af3c0e2bd4a2bf5f483edb73c8f93d18_92a76cab-e50e-4fff-b4e0-d3598ebf1c4f.webp?v=1713857746","width":2000},{"alt":null,"id":23789181861987,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30c2ad96f43a686cb899b9d58a43bf6fe74f398_df7831a6-8493-45d4-8afe-44e006cd3280.webp?v=1713857749"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d30c2ad96f43a686cb899b9d58a43bf6fe74f398_df7831a6-8493-45d4-8afe-44e006cd3280.webp?v=1713857749","width":2000},{"alt":null,"id":23789182550115,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13a970e7235998bddefb48db95a07e216c9361c5_8a55647a-71d5-4605-ac9c-b48a4b88ae57.webp?v=1713857752"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13a970e7235998bddefb48db95a07e216c9361c5_8a55647a-71d5-4605-ac9c-b48a4b88ae57.webp?v=1713857752","width":2000},{"alt":null,"id":23789183205475,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b515260a84613bfcb1f1db6bbc5b8b0871c6a76c_4403ef71-3c30-46fb-9a32-1cbbdbf4bb04.webp?v=1713857754"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b515260a84613bfcb1f1db6bbc5b8b0871c6a76c_4403ef71-3c30-46fb-9a32-1cbbdbf4bb04.webp?v=1713857754","width":2000},{"alt":null,"id":23789183860835,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/872fd183af80fa3e341b6a7d903be12a7e44b322_431d81f4-c410-487e-ab47-63fe12374217.webp?v=1713857756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/872fd183af80fa3e341b6a7d903be12a7e44b322_431d81f4-c410-487e-ab47-63fe12374217.webp?v=1713857756","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41793134854243,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PL61","requires_shipping":true,"taxable":true,"featured_image":{"id":31386945028195,"product_id":7369158557795,"position":10,"created_at":"2024-04-23T15:35:54+08:00","updated_at":"2024-04-23T15:35:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b515260a84613bfcb1f1db6bbc5b8b0871c6a76c_4403ef71-3c30-46fb-9a32-1cbbdbf4bb04.webp?v=1713857754","variant_ids":[41793134854243]},"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-PL61","featured_media":{"alt":null,"id":23789183205475,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b515260a84613bfcb1f1db6bbc5b8b0871c6a76c_4403ef71-3c30-46fb-9a32-1cbbdbf4bb04.webp?v=1713857754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41793134854243,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PL61","requires_shipping":true,"taxable":true,"featured_image":{"id":31386945028195,"product_id":7369158557795,"position":10,"created_at":"2024-04-23T15:35:54+08:00","updated_at":"2024-04-23T15:35:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b515260a84613bfcb1f1db6bbc5b8b0871c6a76c_4403ef71-3c30-46fb-9a32-1cbbdbf4bb04.webp?v=1713857754","variant_ids":[41793134854243]},"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-PL61","featured_media":{"alt":null,"id":23789183205475,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b515260a84613bfcb1f1db6bbc5b8b0871c6a76c_4403ef71-3c30-46fb-9a32-1cbbdbf4bb04.webp?v=1713857754"}},"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: "停產"
}