Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 史迪奇 - 經典系列-Ohana是家人
$product = {"id":7408404496483,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 史迪奇 - 經典系列-Ohana是家人","handle":"iphone-12-mini-mod-nx-printable-yf10","description":null,"published_at":"2024-06-11T16:36:19+08:00","created_at":"2024-05-03T15:20:00+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-史迪奇","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-stitch","device-iPhone 12 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-stitch","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":41885107257443,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31472178987107,"product_id":7408404496483,"position":7,"created_at":"2024-05-03T15:20:17+08:00","updated_at":"2024-05-03T15:20:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d4184ae75706cdf04186c0e56b5414ebd1e7e77_4515bbed-de66-4e9f-8d92-35f6521f6325.webp?v=1714720817","variant_ids":[41885107257443]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 史迪奇 - 經典系列-Ohana是家人 - 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-YF10","featured_media":{"alt":null,"id":23877094768739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d4184ae75706cdf04186c0e56b5414ebd1e7e77_4515bbed-de66-4e9f-8d92-35f6521f6325.webp?v=1714720817"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c357ec4a1228273893afc7b32e891a51c2520e87_1c97ecb0-0a0b-42e9-bec4-c9ea1cc29249.webp?v=1714720803","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45d1e37844d0c282df5d8069c1276e7748faa00_b4652442-5e4c-4cf4-b247-433d56f15a1d.webp?v=1714720805","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e440a4f27f51a00118d657de7e9ae2f7612ac34_07556c5c-782b-4eba-8a36-84c9dac92877.webp?v=1714720807","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf4a0e44d003f746b2554809ca8ed7bd8ab1679_9088b89d-5d2e-46db-b3bc-7c6fd445567e.webp?v=1714720810","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c37a56c43766f14628b18d7da42ba42c84838151_5c03b238-9974-4264-be3a-132bdf8efeaf.webp?v=1714720812","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c2e20079b5028ba42e0445ffffb689649c5be15_43667e8a-d32a-4003-883f-f04ca8794689.webp?v=1714720814","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d4184ae75706cdf04186c0e56b5414ebd1e7e77_4515bbed-de66-4e9f-8d92-35f6521f6325.webp?v=1714720817","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7449c0fe798bbda79836e36dc335b10c3c54c0c2_053d21ef-bd23-40e5-9d50-69ca9700341c.webp?v=1714720819","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2feb6c4bb73f59c835a86982e2f6500b705842d_a758c37f-46fb-406c-83ad-c98781628c7a.webp?v=1714720821","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b1588b1b2f38630b14b9a7f7a142accea941163_fcb162e7-0e3d-4630-9630-a66b56cda1fb.webp?v=1714720824","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c07893ab4a04921f8c5735b01f2b1922f1fa7aac_b7369178-c795-4da6-a81d-c4ecb1e18341.webp?v=1714720826"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c357ec4a1228273893afc7b32e891a51c2520e87_1c97ecb0-0a0b-42e9-bec4-c9ea1cc29249.webp?v=1714720803","options":["color"],"media":[{"alt":null,"id":23877090902115,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c357ec4a1228273893afc7b32e891a51c2520e87_1c97ecb0-0a0b-42e9-bec4-c9ea1cc29249.webp?v=1714720803"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c357ec4a1228273893afc7b32e891a51c2520e87_1c97ecb0-0a0b-42e9-bec4-c9ea1cc29249.webp?v=1714720803","width":2000},{"alt":null,"id":23877091328099,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45d1e37844d0c282df5d8069c1276e7748faa00_b4652442-5e4c-4cf4-b247-433d56f15a1d.webp?v=1714720805"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a45d1e37844d0c282df5d8069c1276e7748faa00_b4652442-5e4c-4cf4-b247-433d56f15a1d.webp?v=1714720805","width":2000},{"alt":null,"id":23877091917923,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e440a4f27f51a00118d657de7e9ae2f7612ac34_07556c5c-782b-4eba-8a36-84c9dac92877.webp?v=1714720807"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e440a4f27f51a00118d657de7e9ae2f7612ac34_07556c5c-782b-4eba-8a36-84c9dac92877.webp?v=1714720807","width":2000},{"alt":null,"id":23877092442211,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf4a0e44d003f746b2554809ca8ed7bd8ab1679_9088b89d-5d2e-46db-b3bc-7c6fd445567e.webp?v=1714720810"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eaf4a0e44d003f746b2554809ca8ed7bd8ab1679_9088b89d-5d2e-46db-b3bc-7c6fd445567e.webp?v=1714720810","width":2000},{"alt":null,"id":23877093392483,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c37a56c43766f14628b18d7da42ba42c84838151_5c03b238-9974-4264-be3a-132bdf8efeaf.webp?v=1714720812"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c37a56c43766f14628b18d7da42ba42c84838151_5c03b238-9974-4264-be3a-132bdf8efeaf.webp?v=1714720812","width":2000},{"alt":null,"id":23877093884003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c2e20079b5028ba42e0445ffffb689649c5be15_43667e8a-d32a-4003-883f-f04ca8794689.webp?v=1714720814"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c2e20079b5028ba42e0445ffffb689649c5be15_43667e8a-d32a-4003-883f-f04ca8794689.webp?v=1714720814","width":2000},{"alt":null,"id":23877094768739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d4184ae75706cdf04186c0e56b5414ebd1e7e77_4515bbed-de66-4e9f-8d92-35f6521f6325.webp?v=1714720817"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d4184ae75706cdf04186c0e56b5414ebd1e7e77_4515bbed-de66-4e9f-8d92-35f6521f6325.webp?v=1714720817","width":2000},{"alt":null,"id":23877096177763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7449c0fe798bbda79836e36dc335b10c3c54c0c2_053d21ef-bd23-40e5-9d50-69ca9700341c.webp?v=1714720819"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7449c0fe798bbda79836e36dc335b10c3c54c0c2_053d21ef-bd23-40e5-9d50-69ca9700341c.webp?v=1714720819","width":2000},{"alt":null,"id":23877096603747,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2feb6c4bb73f59c835a86982e2f6500b705842d_a758c37f-46fb-406c-83ad-c98781628c7a.webp?v=1714720821"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2feb6c4bb73f59c835a86982e2f6500b705842d_a758c37f-46fb-406c-83ad-c98781628c7a.webp?v=1714720821","width":2000},{"alt":null,"id":23877097422947,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b1588b1b2f38630b14b9a7f7a142accea941163_fcb162e7-0e3d-4630-9630-a66b56cda1fb.webp?v=1714720824"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b1588b1b2f38630b14b9a7f7a142accea941163_fcb162e7-0e3d-4630-9630-a66b56cda1fb.webp?v=1714720824","width":2000},{"alt":null,"id":23877097783395,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c07893ab4a04921f8c5735b01f2b1922f1fa7aac_b7369178-c795-4da6-a81d-c4ecb1e18341.webp?v=1714720826"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c07893ab4a04921f8c5735b01f2b1922f1fa7aac_b7369178-c795-4da6-a81d-c4ecb1e18341.webp?v=1714720826","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41885107257443,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31472178987107,"product_id":7408404496483,"position":7,"created_at":"2024-05-03T15:20:17+08:00","updated_at":"2024-05-03T15:20:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d4184ae75706cdf04186c0e56b5414ebd1e7e77_4515bbed-de66-4e9f-8d92-35f6521f6325.webp?v=1714720817","variant_ids":[41885107257443]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 史迪奇 - 經典系列-Ohana是家人 - 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-YF10","featured_media":{"alt":null,"id":23877094768739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d4184ae75706cdf04186c0e56b5414ebd1e7e77_4515bbed-de66-4e9f-8d92-35f6521f6325.webp?v=1714720817"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41885107257443,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YF10","requires_shipping":true,"taxable":true,"featured_image":{"id":31472178987107,"product_id":7408404496483,"position":7,"created_at":"2024-05-03T15:20:17+08:00","updated_at":"2024-05-03T15:20:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d4184ae75706cdf04186c0e56b5414ebd1e7e77_4515bbed-de66-4e9f-8d92-35f6521f6325.webp?v=1714720817","variant_ids":[41885107257443]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 史迪奇 - 經典系列-Ohana是家人 - 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-YF10","featured_media":{"alt":null,"id":23877094768739,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5d4184ae75706cdf04186c0e56b5414ebd1e7e77_4515bbed-de66-4e9f-8d92-35f6521f6325.webp?v=1714720817"}},"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: "停產"
}