Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【獨家設計款】 - 來自空中的情書(底片版)
$product = {"id":7408513843299,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【獨家設計款】 - 來自空中的情書(底片版)","handle":"iphone-12-mini-mod-nx-printable-ae05","description":null,"published_at":"2024-06-11T16:39:22+08:00","created_at":"2024-05-03T15:41:29+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"MOD NX 客製化","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","device-iPhone 12 mini","discountable-item","member","merge","mod-nx-printable","new-modnx-sku","reseller","reseller-modnx-chi-po-lin-series","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":41886345527395,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AE05","requires_shipping":true,"taxable":true,"featured_image":{"id":31472471769187,"product_id":7408513843299,"position":4,"created_at":"2024-05-03T15:41:39+08:00","updated_at":"2024-05-03T15:41:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73ccce46cad6e186ffb6af86bf1115742e54382b_f8293f36-c0b4-4f3a-9e81-fa2f28406ddc.webp?v=1714722099","variant_ids":[41886345527395]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【獨家設計款】 - 來自空中的情書(底片版) - 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-AE05","featured_media":{"alt":null,"id":23877388992611,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73ccce46cad6e186ffb6af86bf1115742e54382b_f8293f36-c0b4-4f3a-9e81-fa2f28406ddc.webp?v=1714722099"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60b5dafe6ba46596f00c49263c91b60bf471a93b_b324097d-d347-4c1f-9aac-56d63a9dbaf6.webp?v=1714722091","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45d43dbeb90165f50bfa906bdd6a97f7180458dc_f3a1177d-9394-4021-b72e-4a0d459969e0.webp?v=1714722094","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab08b881e7b0032930ca908eb288ae499fa5d45f_b15cba0e-8862-4760-8886-a3bc29c14e86.webp?v=1714722096","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73ccce46cad6e186ffb6af86bf1115742e54382b_f8293f36-c0b4-4f3a-9e81-fa2f28406ddc.webp?v=1714722099","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1345c68709207de2f86e1a129d3fd134ed073f33_b5ae8804-b7ca-430a-9299-1a88d2735f41.webp?v=1714722101","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d3afc0c1eb8aede6743a0d118d9cf8a67d3e008_2620f629-65eb-4a98-a255-cf2a9f5339e8.webp?v=1714722103","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd1465754dcd568cca4db1ffa59af0b19514799a_e1106d47-48f9-461c-bd45-1cfaba896136.webp?v=1714722106","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1a3784d45966ee2c6fe844c57984f668b2753fe_6d2c9308-818e-43b5-a17c-fc24720ff797.webp?v=1714722108","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/179a2e782ecaf09f546fb1d2fdac3236aced2b6e_a2fdf525-559f-48c2-957f-7b7daf21e9b5.webp?v=1714722111","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/becbaa71baa25097457d9001672b1f97e5e39028_e0d52143-258d-461d-8c17-aa14193674db.webp?v=1714722113","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f973886f6b14109ef2d9f65cf55555059c22f442_d30cc862-c2e4-4b97-8a9a-60c002f251c7.webp?v=1714722116"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60b5dafe6ba46596f00c49263c91b60bf471a93b_b324097d-d347-4c1f-9aac-56d63a9dbaf6.webp?v=1714722091","options":["color"],"media":[{"alt":null,"id":23877387255907,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60b5dafe6ba46596f00c49263c91b60bf471a93b_b324097d-d347-4c1f-9aac-56d63a9dbaf6.webp?v=1714722091"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60b5dafe6ba46596f00c49263c91b60bf471a93b_b324097d-d347-4c1f-9aac-56d63a9dbaf6.webp?v=1714722091","width":2000},{"alt":null,"id":23877387812963,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45d43dbeb90165f50bfa906bdd6a97f7180458dc_f3a1177d-9394-4021-b72e-4a0d459969e0.webp?v=1714722094"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/45d43dbeb90165f50bfa906bdd6a97f7180458dc_f3a1177d-9394-4021-b72e-4a0d459969e0.webp?v=1714722094","width":2000},{"alt":null,"id":23877388501091,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab08b881e7b0032930ca908eb288ae499fa5d45f_b15cba0e-8862-4760-8886-a3bc29c14e86.webp?v=1714722096"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab08b881e7b0032930ca908eb288ae499fa5d45f_b15cba0e-8862-4760-8886-a3bc29c14e86.webp?v=1714722096","width":2000},{"alt":null,"id":23877388992611,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73ccce46cad6e186ffb6af86bf1115742e54382b_f8293f36-c0b4-4f3a-9e81-fa2f28406ddc.webp?v=1714722099"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73ccce46cad6e186ffb6af86bf1115742e54382b_f8293f36-c0b4-4f3a-9e81-fa2f28406ddc.webp?v=1714722099","width":2000},{"alt":null,"id":23877389647971,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1345c68709207de2f86e1a129d3fd134ed073f33_b5ae8804-b7ca-430a-9299-1a88d2735f41.webp?v=1714722101"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1345c68709207de2f86e1a129d3fd134ed073f33_b5ae8804-b7ca-430a-9299-1a88d2735f41.webp?v=1714722101","width":2000},{"alt":null,"id":23877390073955,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d3afc0c1eb8aede6743a0d118d9cf8a67d3e008_2620f629-65eb-4a98-a255-cf2a9f5339e8.webp?v=1714722103"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d3afc0c1eb8aede6743a0d118d9cf8a67d3e008_2620f629-65eb-4a98-a255-cf2a9f5339e8.webp?v=1714722103","width":2000},{"alt":null,"id":23877390729315,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd1465754dcd568cca4db1ffa59af0b19514799a_e1106d47-48f9-461c-bd45-1cfaba896136.webp?v=1714722106"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd1465754dcd568cca4db1ffa59af0b19514799a_e1106d47-48f9-461c-bd45-1cfaba896136.webp?v=1714722106","width":2000},{"alt":null,"id":23877391089763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1a3784d45966ee2c6fe844c57984f668b2753fe_6d2c9308-818e-43b5-a17c-fc24720ff797.webp?v=1714722108"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1a3784d45966ee2c6fe844c57984f668b2753fe_6d2c9308-818e-43b5-a17c-fc24720ff797.webp?v=1714722108","width":2000},{"alt":null,"id":23877391745123,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/179a2e782ecaf09f546fb1d2fdac3236aced2b6e_a2fdf525-559f-48c2-957f-7b7daf21e9b5.webp?v=1714722111"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/179a2e782ecaf09f546fb1d2fdac3236aced2b6e_a2fdf525-559f-48c2-957f-7b7daf21e9b5.webp?v=1714722111","width":2000},{"alt":null,"id":23877392269411,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/becbaa71baa25097457d9001672b1f97e5e39028_e0d52143-258d-461d-8c17-aa14193674db.webp?v=1714722113"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/becbaa71baa25097457d9001672b1f97e5e39028_e0d52143-258d-461d-8c17-aa14193674db.webp?v=1714722113","width":2000},{"alt":null,"id":23877392924771,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f973886f6b14109ef2d9f65cf55555059c22f442_d30cc862-c2e4-4b97-8a9a-60c002f251c7.webp?v=1714722116"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f973886f6b14109ef2d9f65cf55555059c22f442_d30cc862-c2e4-4b97-8a9a-60c002f251c7.webp?v=1714722116","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41886345527395,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AE05","requires_shipping":true,"taxable":true,"featured_image":{"id":31472471769187,"product_id":7408513843299,"position":4,"created_at":"2024-05-03T15:41:39+08:00","updated_at":"2024-05-03T15:41:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73ccce46cad6e186ffb6af86bf1115742e54382b_f8293f36-c0b4-4f3a-9e81-fa2f28406ddc.webp?v=1714722099","variant_ids":[41886345527395]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【獨家設計款】 - 來自空中的情書(底片版) - 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-AE05","featured_media":{"alt":null,"id":23877388992611,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73ccce46cad6e186ffb6af86bf1115742e54382b_f8293f36-c0b4-4f3a-9e81-fa2f28406ddc.webp?v=1714722099"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41886345527395,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AE05","requires_shipping":true,"taxable":true,"featured_image":{"id":31472471769187,"product_id":7408513843299,"position":4,"created_at":"2024-05-03T15:41:39+08:00","updated_at":"2024-05-03T15:41:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73ccce46cad6e186ffb6af86bf1115742e54382b_f8293f36-c0b4-4f3a-9e81-fa2f28406ddc.webp?v=1714722099","variant_ids":[41886345527395]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【獨家設計款】 - 來自空中的情書(底片版) - 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-AE05","featured_media":{"alt":null,"id":23877388992611,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73ccce46cad6e186ffb6af86bf1115742e54382b_f8293f36-c0b4-4f3a-9e81-fa2f28406ddc.webp?v=1714722099"}},"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: "停產"
}