Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 柴語錄 Shiba Says - 超不穩的疊疊樂
$product = {"id":7415075209315,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 柴語錄 Shiba Says - 超不穩的疊疊樂","handle":"iphone-12-mini-mod-nx-magsafe-printable-fz05","description":null,"published_at":"2024-06-11T17:57:18+08:00","created_at":"2024-05-05T20:17:59+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區柴語錄 Shiba Says","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-shiba-says","device-iPhone 12 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-shiba-says","Top50","type-Mod NX Printable MagSafe Printable"],"price":110000,"price_min":110000,"price_max":110000,"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":41911603495011,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-FZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31488094601315,"product_id":7415075209315,"position":11,"created_at":"2024-05-05T20:18:25+08:00","updated_at":"2024-05-05T20:18:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1f50b3d27d29bf04ced7e74fe656bad78b612dd_e2bad01f-0008-4f6a-9d7c-2031c80e5097.webp?v=1714911505","variant_ids":[41911603495011]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 柴語錄 Shiba Says - 超不穩的疊疊樂 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-FZ05","featured_media":{"alt":null,"id":23893439152227,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1f50b3d27d29bf04ced7e74fe656bad78b612dd_e2bad01f-0008-4f6a-9d7c-2031c80e5097.webp?v=1714911505"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a0f59e67bf171295b1b96a4c6552ce3c4e55308_2c890f7a-b58d-4c2b-a81e-c8fd4d770267.webp?v=1714911482","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a26b2f9c1103a1cddbfbe79cb05dc2485d09f067_0b5f5cc7-e550-48af-a2a4-f2612b1f59e0.webp?v=1714911484","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ac3700ff73702caa4794a4e1b280279d1a9aa6_a6fab6a0-614f-48c0-aac4-218de214fa72.webp?v=1714911486","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2342a0726ff70bd71664c96a92f7d9b865b43581_91247043-1eba-4e89-896c-71ccb21e13e1.webp?v=1714911489","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cbac5b03456aed13b5195661df7191520ff990f_ae76b937-9b49-42dd-bd51-ec46265b5d0d.webp?v=1714911491","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8551eacf2c07ac42d152aa9ca8aedae2fd9ecff9_9cca6f87-b37e-48f4-89ed-256d3e0a08c6.webp?v=1714911493","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee16ff8a9cf11f8abd24b230c18b60d7fb29bd17_5f8c4740-70f5-4be1-9b32-b3034b7fc851.webp?v=1714911495","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8edae239c047c3b7a6ef0209d5954ad0e566d2e6_18b0a327-9323-4b89-ba91-a71829992e4b.webp?v=1714911498","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b38483d4d21d2710568aded3eb779807d082e434_c5358bfa-3a8e-4631-ae2f-86f4d424859b.webp?v=1714911500","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/823e0d170fc04aa70cf6318b9d431ce88ac7ff3d_404c3879-c93b-4e67-81ab-1c8be0de318e.webp?v=1714911502","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1f50b3d27d29bf04ced7e74fe656bad78b612dd_e2bad01f-0008-4f6a-9d7c-2031c80e5097.webp?v=1714911505"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a0f59e67bf171295b1b96a4c6552ce3c4e55308_2c890f7a-b58d-4c2b-a81e-c8fd4d770267.webp?v=1714911482","options":["color"],"media":[{"alt":null,"id":23893432959075,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a0f59e67bf171295b1b96a4c6552ce3c4e55308_2c890f7a-b58d-4c2b-a81e-c8fd4d770267.webp?v=1714911482"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a0f59e67bf171295b1b96a4c6552ce3c4e55308_2c890f7a-b58d-4c2b-a81e-c8fd4d770267.webp?v=1714911482","width":2000},{"alt":null,"id":23893433778275,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a26b2f9c1103a1cddbfbe79cb05dc2485d09f067_0b5f5cc7-e550-48af-a2a4-f2612b1f59e0.webp?v=1714911484"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a26b2f9c1103a1cddbfbe79cb05dc2485d09f067_0b5f5cc7-e550-48af-a2a4-f2612b1f59e0.webp?v=1714911484","width":2000},{"alt":null,"id":23893434400867,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ac3700ff73702caa4794a4e1b280279d1a9aa6_a6fab6a0-614f-48c0-aac4-218de214fa72.webp?v=1714911486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43ac3700ff73702caa4794a4e1b280279d1a9aa6_a6fab6a0-614f-48c0-aac4-218de214fa72.webp?v=1714911486","width":2000},{"alt":null,"id":23893435056227,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2342a0726ff70bd71664c96a92f7d9b865b43581_91247043-1eba-4e89-896c-71ccb21e13e1.webp?v=1714911489"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2342a0726ff70bd71664c96a92f7d9b865b43581_91247043-1eba-4e89-896c-71ccb21e13e1.webp?v=1714911489","width":2000},{"alt":null,"id":23893435416675,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cbac5b03456aed13b5195661df7191520ff990f_ae76b937-9b49-42dd-bd51-ec46265b5d0d.webp?v=1714911491"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cbac5b03456aed13b5195661df7191520ff990f_ae76b937-9b49-42dd-bd51-ec46265b5d0d.webp?v=1714911491","width":2000},{"alt":null,"id":23893436498019,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8551eacf2c07ac42d152aa9ca8aedae2fd9ecff9_9cca6f87-b37e-48f4-89ed-256d3e0a08c6.webp?v=1714911493"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8551eacf2c07ac42d152aa9ca8aedae2fd9ecff9_9cca6f87-b37e-48f4-89ed-256d3e0a08c6.webp?v=1714911493","width":2000},{"alt":null,"id":23893436956771,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee16ff8a9cf11f8abd24b230c18b60d7fb29bd17_5f8c4740-70f5-4be1-9b32-b3034b7fc851.webp?v=1714911495"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee16ff8a9cf11f8abd24b230c18b60d7fb29bd17_5f8c4740-70f5-4be1-9b32-b3034b7fc851.webp?v=1714911495","width":2000},{"alt":null,"id":23893437349987,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8edae239c047c3b7a6ef0209d5954ad0e566d2e6_18b0a327-9323-4b89-ba91-a71829992e4b.webp?v=1714911498"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8edae239c047c3b7a6ef0209d5954ad0e566d2e6_18b0a327-9323-4b89-ba91-a71829992e4b.webp?v=1714911498","width":2000},{"alt":null,"id":23893437874275,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b38483d4d21d2710568aded3eb779807d082e434_c5358bfa-3a8e-4631-ae2f-86f4d424859b.webp?v=1714911500"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b38483d4d21d2710568aded3eb779807d082e434_c5358bfa-3a8e-4631-ae2f-86f4d424859b.webp?v=1714911500","width":2000},{"alt":null,"id":23893438464099,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/823e0d170fc04aa70cf6318b9d431ce88ac7ff3d_404c3879-c93b-4e67-81ab-1c8be0de318e.webp?v=1714911502"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/823e0d170fc04aa70cf6318b9d431ce88ac7ff3d_404c3879-c93b-4e67-81ab-1c8be0de318e.webp?v=1714911502","width":2000},{"alt":null,"id":23893439152227,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1f50b3d27d29bf04ced7e74fe656bad78b612dd_e2bad01f-0008-4f6a-9d7c-2031c80e5097.webp?v=1714911505"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1f50b3d27d29bf04ced7e74fe656bad78b612dd_e2bad01f-0008-4f6a-9d7c-2031c80e5097.webp?v=1714911505","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41911603495011,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-FZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31488094601315,"product_id":7415075209315,"position":11,"created_at":"2024-05-05T20:18:25+08:00","updated_at":"2024-05-05T20:18:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1f50b3d27d29bf04ced7e74fe656bad78b612dd_e2bad01f-0008-4f6a-9d7c-2031c80e5097.webp?v=1714911505","variant_ids":[41911603495011]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 柴語錄 Shiba Says - 超不穩的疊疊樂 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-FZ05","featured_media":{"alt":null,"id":23893439152227,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1f50b3d27d29bf04ced7e74fe656bad78b612dd_e2bad01f-0008-4f6a-9d7c-2031c80e5097.webp?v=1714911505"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41911603495011,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-FZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31488094601315,"product_id":7415075209315,"position":11,"created_at":"2024-05-05T20:18:25+08:00","updated_at":"2024-05-05T20:18:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1f50b3d27d29bf04ced7e74fe656bad78b612dd_e2bad01f-0008-4f6a-9d7c-2031c80e5097.webp?v=1714911505","variant_ids":[41911603495011]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - 柴語錄 Shiba Says - 超不穩的疊疊樂 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1380,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-FZ05","featured_media":{"alt":null,"id":23893439152227,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1f50b3d27d29bf04ced7e74fe656bad78b612dd_e2bad01f-0008-4f6a-9d7c-2031c80e5097.webp?v=1714911505"}},"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: "停產"
}