Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Look - 大自然的傑作(優勝美地國家公園)
$product = {"id":7408517251171,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Look - 大自然的傑作(優勝美地國家公園)","handle":"iphone-12-mini-mod-nx-printable-af13","description":null,"published_at":"2024-06-11T16:39:28+08:00","created_at":"2024-05-03T15:42:11+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":41886387732579,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AF13","requires_shipping":true,"taxable":true,"featured_image":{"id":31472480485475,"product_id":7408517251171,"position":3,"created_at":"2024-05-03T15:42:19+08:00","updated_at":"2024-05-03T15:42:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38da76cf74bce09d7a5cd6fe27fed963fe7b2f_a35d7690-0a67-44cf-81c7-30d4f85aae5c.webp?v=1714722139","variant_ids":[41886387732579]},"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-AF13","featured_media":{"alt":null,"id":23877397741667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38da76cf74bce09d7a5cd6fe27fed963fe7b2f_a35d7690-0a67-44cf-81c7-30d4f85aae5c.webp?v=1714722139"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa76d312af4ad7394a1298da1dce41af37eecfe1_4c4491c3-dde1-423c-b31a-f8ba0b8a13b1.webp?v=1714722134","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5636658ffb9c620145a4e05d2818ff556e8fa6a7_e764e466-b099-41df-81c3-3c3ff8447e48.webp?v=1714722136","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38da76cf74bce09d7a5cd6fe27fed963fe7b2f_a35d7690-0a67-44cf-81c7-30d4f85aae5c.webp?v=1714722139","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1e6c2109bfe0f97fe7d094a089cc61479b07d74_894f43bd-f587-476c-b85c-0faecf945e32.webp?v=1714722141","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/795a8af495d6f58121fae69d082d4568acc7fd1e_38db19ed-05e1-43f3-8d06-566ddb954efd.webp?v=1714722144","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dc91a39181c71d1a91912c127d7de0f5c915978_d2c8c903-8118-4c74-87b1-27b90d393447.webp?v=1714722146","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fc732d0a7821301322d36bb4218aa34047258c4_01641e93-b759-48ba-8c43-4a17cc2f19a6.webp?v=1714722149","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45d6403ad2251cf2ec0751a098d7bb216cb1796_001c2d58-b4f6-4d34-89fc-9460fc0a13f2.webp?v=1714722152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e49dbb63e4b5945b0a95e7b3d594c4f90eca4d12_606e3d3a-abc2-482c-a1a5-c712d4523aff.webp?v=1714722154","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1024eb380bab98fceb7b77e2b5ee6dcc975d186_9bbb309b-1228-46b2-8e51-5ffbaeae0ba4.webp?v=1714722157","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/454635dc1c5d1061329697a907018577f7edb769_a501e2e6-fe6e-4838-b526-c018031afa36.webp?v=1714722160"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa76d312af4ad7394a1298da1dce41af37eecfe1_4c4491c3-dde1-423c-b31a-f8ba0b8a13b1.webp?v=1714722134","options":["color"],"media":[{"alt":null,"id":23877396660323,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa76d312af4ad7394a1298da1dce41af37eecfe1_4c4491c3-dde1-423c-b31a-f8ba0b8a13b1.webp?v=1714722134"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa76d312af4ad7394a1298da1dce41af37eecfe1_4c4491c3-dde1-423c-b31a-f8ba0b8a13b1.webp?v=1714722134","width":2000},{"alt":null,"id":23877397151843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5636658ffb9c620145a4e05d2818ff556e8fa6a7_e764e466-b099-41df-81c3-3c3ff8447e48.webp?v=1714722136"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5636658ffb9c620145a4e05d2818ff556e8fa6a7_e764e466-b099-41df-81c3-3c3ff8447e48.webp?v=1714722136","width":2000},{"alt":null,"id":23877397741667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38da76cf74bce09d7a5cd6fe27fed963fe7b2f_a35d7690-0a67-44cf-81c7-30d4f85aae5c.webp?v=1714722139"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38da76cf74bce09d7a5cd6fe27fed963fe7b2f_a35d7690-0a67-44cf-81c7-30d4f85aae5c.webp?v=1714722139","width":2000},{"alt":null,"id":23877398265955,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1e6c2109bfe0f97fe7d094a089cc61479b07d74_894f43bd-f587-476c-b85c-0faecf945e32.webp?v=1714722141"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1e6c2109bfe0f97fe7d094a089cc61479b07d74_894f43bd-f587-476c-b85c-0faecf945e32.webp?v=1714722141","width":2000},{"alt":null,"id":23877398888547,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/795a8af495d6f58121fae69d082d4568acc7fd1e_38db19ed-05e1-43f3-8d06-566ddb954efd.webp?v=1714722144"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/795a8af495d6f58121fae69d082d4568acc7fd1e_38db19ed-05e1-43f3-8d06-566ddb954efd.webp?v=1714722144","width":2000},{"alt":null,"id":23877399576675,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dc91a39181c71d1a91912c127d7de0f5c915978_d2c8c903-8118-4c74-87b1-27b90d393447.webp?v=1714722146"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8dc91a39181c71d1a91912c127d7de0f5c915978_d2c8c903-8118-4c74-87b1-27b90d393447.webp?v=1714722146","width":2000},{"alt":null,"id":23877400068195,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fc732d0a7821301322d36bb4218aa34047258c4_01641e93-b759-48ba-8c43-4a17cc2f19a6.webp?v=1714722149"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fc732d0a7821301322d36bb4218aa34047258c4_01641e93-b759-48ba-8c43-4a17cc2f19a6.webp?v=1714722149","width":2000},{"alt":null,"id":23877400559715,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45d6403ad2251cf2ec0751a098d7bb216cb1796_001c2d58-b4f6-4d34-89fc-9460fc0a13f2.webp?v=1714722152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45d6403ad2251cf2ec0751a098d7bb216cb1796_001c2d58-b4f6-4d34-89fc-9460fc0a13f2.webp?v=1714722152","width":2000},{"alt":null,"id":23877401116771,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e49dbb63e4b5945b0a95e7b3d594c4f90eca4d12_606e3d3a-abc2-482c-a1a5-c712d4523aff.webp?v=1714722154"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e49dbb63e4b5945b0a95e7b3d594c4f90eca4d12_606e3d3a-abc2-482c-a1a5-c712d4523aff.webp?v=1714722154","width":2000},{"alt":null,"id":23877401575523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1024eb380bab98fceb7b77e2b5ee6dcc975d186_9bbb309b-1228-46b2-8e51-5ffbaeae0ba4.webp?v=1714722157"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1024eb380bab98fceb7b77e2b5ee6dcc975d186_9bbb309b-1228-46b2-8e51-5ffbaeae0ba4.webp?v=1714722157","width":2000},{"alt":null,"id":23877402099811,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/454635dc1c5d1061329697a907018577f7edb769_a501e2e6-fe6e-4838-b526-c018031afa36.webp?v=1714722160"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/454635dc1c5d1061329697a907018577f7edb769_a501e2e6-fe6e-4838-b526-c018031afa36.webp?v=1714722160","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41886387732579,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AF13","requires_shipping":true,"taxable":true,"featured_image":{"id":31472480485475,"product_id":7408517251171,"position":3,"created_at":"2024-05-03T15:42:19+08:00","updated_at":"2024-05-03T15:42:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38da76cf74bce09d7a5cd6fe27fed963fe7b2f_a35d7690-0a67-44cf-81c7-30d4f85aae5c.webp?v=1714722139","variant_ids":[41886387732579]},"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-AF13","featured_media":{"alt":null,"id":23877397741667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38da76cf74bce09d7a5cd6fe27fed963fe7b2f_a35d7690-0a67-44cf-81c7-30d4f85aae5c.webp?v=1714722139"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41886387732579,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AF13","requires_shipping":true,"taxable":true,"featured_image":{"id":31472480485475,"product_id":7408517251171,"position":3,"created_at":"2024-05-03T15:42:19+08:00","updated_at":"2024-05-03T15:42:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38da76cf74bce09d7a5cd6fe27fed963fe7b2f_a35d7690-0a67-44cf-81c7-30d4f85aae5c.webp?v=1714722139","variant_ids":[41886387732579]},"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-AF13","featured_media":{"alt":null,"id":23877397741667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b38da76cf74bce09d7a5cd6fe27fed963fe7b2f_a35d7690-0a67-44cf-81c7-30d4f85aae5c.webp?v=1714722139"}},"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: "停產"
}