Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Look - 人在做 峇里島在看
$product = {"id":7408422846563,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Look - 人在做 峇里島在看","handle":"iphone-12-mini-mod-nx-printable-af06","description":null,"published_at":"2024-06-11T16:36:49+08:00","created_at":"2024-05-03T15:23:44+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":41885310091363,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AF06","requires_shipping":true,"taxable":true,"featured_image":{"id":31472237969507,"product_id":7408422846563,"position":8,"created_at":"2024-05-03T15:24:04+08:00","updated_at":"2024-05-03T15:24:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ced6f10a650a5a2680f791ad93bdcb0169326991_e6e77c5b-500b-4ac1-8e10-6972ded50c78.webp?v=1714721044","variant_ids":[41885310091363]},"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-AF06","featured_media":{"alt":null,"id":23877154078819,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ced6f10a650a5a2680f791ad93bdcb0169326991_e6e77c5b-500b-4ac1-8e10-6972ded50c78.webp?v=1714721044"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2022670d4980d753f42fcc1839186bbf6eae2b03_31a9ce47-d236-4e0b-aee5-ffc56679b3d5.webp?v=1714721027","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8231db7f8a165368a74e87a87315f48b509c3d2_bd5ca1e4-075f-4d46-b50d-23e155fb9b61.webp?v=1714721029","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8675502eb7f43eb8fa2e4d75cb69867d1283f76c_069f7e68-d6cd-4b52-af2a-a17d8aeb4e2c.webp?v=1714721032","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90c8291b518a7735ce65f675ce42e0b229cbf3b7_0a2ab829-e66f-46ae-8c73-7a5e0766c8ac.webp?v=1714721034","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b58c3f6e8ac99fa65a952ce3a3f71bfb2c83be1_c55e4266-4f96-48c9-93cb-6b45b9ccca9c.webp?v=1714721037","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f5c659fe5578c93c39e9bc3411943701eb0ef0f_5cc820a0-5370-4314-9d18-7e977cc378d4.webp?v=1714721039","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60ada2462d87943d337b3acf603209a1e2fc8b53_81cc33e2-8833-451d-bb0d-57c6d41ff76a.webp?v=1714721042","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ced6f10a650a5a2680f791ad93bdcb0169326991_e6e77c5b-500b-4ac1-8e10-6972ded50c78.webp?v=1714721044","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4854bc1272db52258c4ab595b1df35714629ecf_0dbb2187-8ac2-4d72-b01f-7abadd06f3a5.webp?v=1714721047","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3ae147ffd165e59e891661f63b398fd192ee12e_46d3d4e3-1d80-436f-a20f-84aeb1742e04.webp?v=1714721049","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bbdf9d8c3d090b0e501633f76caf7113dfe6f7a_db6fdd05-ac14-492d-8cf5-7877672194ef.webp?v=1714721052"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2022670d4980d753f42fcc1839186bbf6eae2b03_31a9ce47-d236-4e0b-aee5-ffc56679b3d5.webp?v=1714721027","options":["color"],"media":[{"alt":null,"id":23877150244963,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2022670d4980d753f42fcc1839186bbf6eae2b03_31a9ce47-d236-4e0b-aee5-ffc56679b3d5.webp?v=1714721027"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2022670d4980d753f42fcc1839186bbf6eae2b03_31a9ce47-d236-4e0b-aee5-ffc56679b3d5.webp?v=1714721027","width":2000},{"alt":null,"id":23877150900323,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8231db7f8a165368a74e87a87315f48b509c3d2_bd5ca1e4-075f-4d46-b50d-23e155fb9b61.webp?v=1714721029"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8231db7f8a165368a74e87a87315f48b509c3d2_bd5ca1e4-075f-4d46-b50d-23e155fb9b61.webp?v=1714721029","width":2000},{"alt":null,"id":23877151391843,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8675502eb7f43eb8fa2e4d75cb69867d1283f76c_069f7e68-d6cd-4b52-af2a-a17d8aeb4e2c.webp?v=1714721032"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8675502eb7f43eb8fa2e4d75cb69867d1283f76c_069f7e68-d6cd-4b52-af2a-a17d8aeb4e2c.webp?v=1714721032","width":2000},{"alt":null,"id":23877151883363,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90c8291b518a7735ce65f675ce42e0b229cbf3b7_0a2ab829-e66f-46ae-8c73-7a5e0766c8ac.webp?v=1714721034"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90c8291b518a7735ce65f675ce42e0b229cbf3b7_0a2ab829-e66f-46ae-8c73-7a5e0766c8ac.webp?v=1714721034","width":2000},{"alt":null,"id":23877152342115,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b58c3f6e8ac99fa65a952ce3a3f71bfb2c83be1_c55e4266-4f96-48c9-93cb-6b45b9ccca9c.webp?v=1714721037"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b58c3f6e8ac99fa65a952ce3a3f71bfb2c83be1_c55e4266-4f96-48c9-93cb-6b45b9ccca9c.webp?v=1714721037","width":2000},{"alt":null,"id":23877152964707,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f5c659fe5578c93c39e9bc3411943701eb0ef0f_5cc820a0-5370-4314-9d18-7e977cc378d4.webp?v=1714721039"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f5c659fe5578c93c39e9bc3411943701eb0ef0f_5cc820a0-5370-4314-9d18-7e977cc378d4.webp?v=1714721039","width":2000},{"alt":null,"id":23877153456227,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60ada2462d87943d337b3acf603209a1e2fc8b53_81cc33e2-8833-451d-bb0d-57c6d41ff76a.webp?v=1714721042"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60ada2462d87943d337b3acf603209a1e2fc8b53_81cc33e2-8833-451d-bb0d-57c6d41ff76a.webp?v=1714721042","width":2000},{"alt":null,"id":23877154078819,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ced6f10a650a5a2680f791ad93bdcb0169326991_e6e77c5b-500b-4ac1-8e10-6972ded50c78.webp?v=1714721044"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ced6f10a650a5a2680f791ad93bdcb0169326991_e6e77c5b-500b-4ac1-8e10-6972ded50c78.webp?v=1714721044","width":2000},{"alt":null,"id":23877154504803,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4854bc1272db52258c4ab595b1df35714629ecf_0dbb2187-8ac2-4d72-b01f-7abadd06f3a5.webp?v=1714721047"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4854bc1272db52258c4ab595b1df35714629ecf_0dbb2187-8ac2-4d72-b01f-7abadd06f3a5.webp?v=1714721047","width":2000},{"alt":null,"id":23877155160163,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3ae147ffd165e59e891661f63b398fd192ee12e_46d3d4e3-1d80-436f-a20f-84aeb1742e04.webp?v=1714721049"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3ae147ffd165e59e891661f63b398fd192ee12e_46d3d4e3-1d80-436f-a20f-84aeb1742e04.webp?v=1714721049","width":2000},{"alt":null,"id":23877155717219,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bbdf9d8c3d090b0e501633f76caf7113dfe6f7a_db6fdd05-ac14-492d-8cf5-7877672194ef.webp?v=1714721052"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bbdf9d8c3d090b0e501633f76caf7113dfe6f7a_db6fdd05-ac14-492d-8cf5-7877672194ef.webp?v=1714721052","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41885310091363,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AF06","requires_shipping":true,"taxable":true,"featured_image":{"id":31472237969507,"product_id":7408422846563,"position":8,"created_at":"2024-05-03T15:24:04+08:00","updated_at":"2024-05-03T15:24:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ced6f10a650a5a2680f791ad93bdcb0169326991_e6e77c5b-500b-4ac1-8e10-6972ded50c78.webp?v=1714721044","variant_ids":[41885310091363]},"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-AF06","featured_media":{"alt":null,"id":23877154078819,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ced6f10a650a5a2680f791ad93bdcb0169326991_e6e77c5b-500b-4ac1-8e10-6972ded50c78.webp?v=1714721044"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41885310091363,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AF06","requires_shipping":true,"taxable":true,"featured_image":{"id":31472237969507,"product_id":7408422846563,"position":8,"created_at":"2024-05-03T15:24:04+08:00","updated_at":"2024-05-03T15:24:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ced6f10a650a5a2680f791ad93bdcb0169326991_e6e77c5b-500b-4ac1-8e10-6972ded50c78.webp?v=1714721044","variant_ids":[41885310091363]},"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-AF06","featured_media":{"alt":null,"id":23877154078819,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ced6f10a650a5a2680f791ad93bdcb0169326991_e6e77c5b-500b-4ac1-8e10-6972ded50c78.webp?v=1714721044"}},"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: "停產"
}