Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Look - 願傷疤 有天開出花(加州野火)
$product = {"id":7408490545251,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Look - 願傷疤 有天開出花(加州野火)","handle":"iphone-12-mini-mod-nx-printable-af03","description":null,"published_at":"2024-06-11T16:38:42+08:00","created_at":"2024-05-03T15:36:51+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Look","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-look","device-iPhone 12 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-look","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":41886076371043,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AF03","requires_shipping":true,"taxable":true,"featured_image":{"id":31472411410531,"product_id":7408490545251,"position":6,"created_at":"2024-05-03T15:37:06+08:00","updated_at":"2024-05-03T15:37:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c59c91db73c02b5e2c81a9f5e45cec6345433ecd_20d057ee-71b5-484d-bf1a-1a413029f788.webp?v=1714721826","variant_ids":[41886076371043]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Look - 願傷疤 有天開出花(加州野火) - 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-AF03","featured_media":{"alt":null,"id":23877328371811,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c59c91db73c02b5e2c81a9f5e45cec6345433ecd_20d057ee-71b5-484d-bf1a-1a413029f788.webp?v=1714721826"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c7b53f05230e7fef3e9f5d57577027240f3bd89_f3e30500-e641-4a14-83be-4d5f76962fa4.webp?v=1714721814","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccc46c023fd6a29bf26fbbd80cc6920f372391f8_e98c2910-60b0-467e-92e0-f11d0097e0a8.webp?v=1714721817","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e54436bcca6c56a2913a1cccee786630e4218225_da2420bf-ca7b-4610-9eb1-c2efa42f14ee.webp?v=1714721819","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/828e7e8114a19e1c49b4a2a0b30869fc30eab6ff_aec051a4-b4ff-48f9-acd3-d859be8e3e8a.webp?v=1714721822","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63f0a8a17bb589144a8e3ba83540c02cbe09e097_f64b44dc-1c12-45ad-8cfe-94fc5ec7abb3.webp?v=1714721824","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c59c91db73c02b5e2c81a9f5e45cec6345433ecd_20d057ee-71b5-484d-bf1a-1a413029f788.webp?v=1714721826","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f434bbbe1da569135607f72e644810ae152de08a_3ea28822-0e06-481c-8661-274de4c516af.webp?v=1714721829","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c585df051b73eb3e6c5eb6c872135bbfd1aa4172_73a2a4fa-8240-46b9-b2e0-0f8056d389b2.webp?v=1714721831","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07289b4e10490a9236312ffbe2b945652eaf7a37_bd0f2cb1-987e-448e-b4f5-2ce611f9e448.webp?v=1714721833","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/636de9c565a00bf4729e72904df8977139b70457_d9e12958-2401-4ca7-b53b-851b4e18ec2b.webp?v=1714721836","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21861aa21c3b5e09ab4aabf7f5228af3aceba4e2_bfa9f343-6196-49e2-83aa-c0496037a204.webp?v=1714721838"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c7b53f05230e7fef3e9f5d57577027240f3bd89_f3e30500-e641-4a14-83be-4d5f76962fa4.webp?v=1714721814","options":["color"],"media":[{"alt":null,"id":23877325520995,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c7b53f05230e7fef3e9f5d57577027240f3bd89_f3e30500-e641-4a14-83be-4d5f76962fa4.webp?v=1714721814"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c7b53f05230e7fef3e9f5d57577027240f3bd89_f3e30500-e641-4a14-83be-4d5f76962fa4.webp?v=1714721814","width":2000},{"alt":null,"id":23877326012515,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccc46c023fd6a29bf26fbbd80cc6920f372391f8_e98c2910-60b0-467e-92e0-f11d0097e0a8.webp?v=1714721817"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccc46c023fd6a29bf26fbbd80cc6920f372391f8_e98c2910-60b0-467e-92e0-f11d0097e0a8.webp?v=1714721817","width":2000},{"alt":null,"id":23877326569571,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e54436bcca6c56a2913a1cccee786630e4218225_da2420bf-ca7b-4610-9eb1-c2efa42f14ee.webp?v=1714721819"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e54436bcca6c56a2913a1cccee786630e4218225_da2420bf-ca7b-4610-9eb1-c2efa42f14ee.webp?v=1714721819","width":2000},{"alt":null,"id":23877327224931,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/828e7e8114a19e1c49b4a2a0b30869fc30eab6ff_aec051a4-b4ff-48f9-acd3-d859be8e3e8a.webp?v=1714721822"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/828e7e8114a19e1c49b4a2a0b30869fc30eab6ff_aec051a4-b4ff-48f9-acd3-d859be8e3e8a.webp?v=1714721822","width":2000},{"alt":null,"id":23877327880291,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63f0a8a17bb589144a8e3ba83540c02cbe09e097_f64b44dc-1c12-45ad-8cfe-94fc5ec7abb3.webp?v=1714721824"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/63f0a8a17bb589144a8e3ba83540c02cbe09e097_f64b44dc-1c12-45ad-8cfe-94fc5ec7abb3.webp?v=1714721824","width":2000},{"alt":null,"id":23877328371811,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c59c91db73c02b5e2c81a9f5e45cec6345433ecd_20d057ee-71b5-484d-bf1a-1a413029f788.webp?v=1714721826"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c59c91db73c02b5e2c81a9f5e45cec6345433ecd_20d057ee-71b5-484d-bf1a-1a413029f788.webp?v=1714721826","width":2000},{"alt":null,"id":23877328961635,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f434bbbe1da569135607f72e644810ae152de08a_3ea28822-0e06-481c-8661-274de4c516af.webp?v=1714721829"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f434bbbe1da569135607f72e644810ae152de08a_3ea28822-0e06-481c-8661-274de4c516af.webp?v=1714721829","width":2000},{"alt":null,"id":23877329453155,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c585df051b73eb3e6c5eb6c872135bbfd1aa4172_73a2a4fa-8240-46b9-b2e0-0f8056d389b2.webp?v=1714721831"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c585df051b73eb3e6c5eb6c872135bbfd1aa4172_73a2a4fa-8240-46b9-b2e0-0f8056d389b2.webp?v=1714721831","width":2000},{"alt":null,"id":23877330042979,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07289b4e10490a9236312ffbe2b945652eaf7a37_bd0f2cb1-987e-448e-b4f5-2ce611f9e448.webp?v=1714721833"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07289b4e10490a9236312ffbe2b945652eaf7a37_bd0f2cb1-987e-448e-b4f5-2ce611f9e448.webp?v=1714721833","width":2000},{"alt":null,"id":23877330698339,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/636de9c565a00bf4729e72904df8977139b70457_d9e12958-2401-4ca7-b53b-851b4e18ec2b.webp?v=1714721836"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/636de9c565a00bf4729e72904df8977139b70457_d9e12958-2401-4ca7-b53b-851b4e18ec2b.webp?v=1714721836","width":2000},{"alt":null,"id":23877331255395,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21861aa21c3b5e09ab4aabf7f5228af3aceba4e2_bfa9f343-6196-49e2-83aa-c0496037a204.webp?v=1714721838"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21861aa21c3b5e09ab4aabf7f5228af3aceba4e2_bfa9f343-6196-49e2-83aa-c0496037a204.webp?v=1714721838","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41886076371043,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AF03","requires_shipping":true,"taxable":true,"featured_image":{"id":31472411410531,"product_id":7408490545251,"position":6,"created_at":"2024-05-03T15:37:06+08:00","updated_at":"2024-05-03T15:37:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c59c91db73c02b5e2c81a9f5e45cec6345433ecd_20d057ee-71b5-484d-bf1a-1a413029f788.webp?v=1714721826","variant_ids":[41886076371043]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Look - 願傷疤 有天開出花(加州野火) - 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-AF03","featured_media":{"alt":null,"id":23877328371811,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c59c91db73c02b5e2c81a9f5e45cec6345433ecd_20d057ee-71b5-484d-bf1a-1a413029f788.webp?v=1714721826"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41886076371043,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AF03","requires_shipping":true,"taxable":true,"featured_image":{"id":31472411410531,"product_id":7408490545251,"position":6,"created_at":"2024-05-03T15:37:06+08:00","updated_at":"2024-05-03T15:37:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c59c91db73c02b5e2c81a9f5e45cec6345433ecd_20d057ee-71b5-484d-bf1a-1a413029f788.webp?v=1714721826","variant_ids":[41886076371043]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Look - 願傷疤 有天開出花(加州野火) - 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-AF03","featured_media":{"alt":null,"id":23877328371811,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c59c91db73c02b5e2c81a9f5e45cec6345433ecd_20d057ee-71b5-484d-bf1a-1a413029f788.webp?v=1714721826"}},"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: "停產"
}