Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 史迪奇 - 搞怪系列-怪可愛
$product = {"id":7408480452707,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 史迪奇 - 搞怪系列-怪可愛","handle":"iphone-12-mini-mod-nx-printable-yf02","description":null,"published_at":"2024-06-11T16:38:25+08:00","created_at":"2024-05-03T15:34:59+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":41885964664931,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31472388866147,"product_id":7408480452707,"position":10,"created_at":"2024-05-03T15:35:24+08:00","updated_at":"2024-05-03T15:35:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c0a326edd4b6af2b9ba9612f55e72b6a38d6b01_926b04e8-f317-4c01-b782-de5d746d3322.webp?v=1714721724","variant_ids":[41885964664931]},"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-YF02","featured_media":{"alt":null,"id":23877305827427,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c0a326edd4b6af2b9ba9612f55e72b6a38d6b01_926b04e8-f317-4c01-b782-de5d746d3322.webp?v=1714721724"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa4cad85fb29ddcdc8d0fe8ae845cf673384352d_7bbc9ac5-c20d-4ba8-9055-362a9214d2d4.webp?v=1714721702","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37cbe257e67603e907ce5c561d0ce05a34a862a0_39cbe74d-eed2-4b65-913b-4919bf9f348a.webp?v=1714721704","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d1b5cd347ca7d3dd2d19458d239ee5d98585cc7_6b59dbc9-bedc-4564-9ec1-bfca2dd80c6d.webp?v=1714721706","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b140a633b6bd60debf95028778aeed167882537_b833346f-2bd3-4f5c-b847-08b049da4039.webp?v=1714721709","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1483401e00b88d3a871d118ae1591b62ce1c3d82_6eb66281-c491-4b66-af9b-a24bd3da823e.webp?v=1714721711","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47c3d06831a1d6d231d36e8cb29288e58f2baa73_d67e7f61-5f8d-40ec-bcd4-faa625c495f4.webp?v=1714721714","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c0ea2bff86b6e2fd9c65c956c8b80a8c0101691_be8cd9ef-2c6b-4022-88ec-020e05d80f20.webp?v=1714721717","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d92fd36b2ef1bb36aae6925e49f4976b2ef504_bcd54fac-e646-4ded-8214-d8a94ebed952.webp?v=1714721719","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ba5a2ea9699d9948d630f0833aa70cd25d8529_0d4e765f-951a-4d8c-b4f3-75b084f58b1d.webp?v=1714721721","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c0a326edd4b6af2b9ba9612f55e72b6a38d6b01_926b04e8-f317-4c01-b782-de5d746d3322.webp?v=1714721724","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a61bc2ac2fb8d159e0fdbff9f8bd522074d24557_5c7ece3c-821b-4474-b7fb-c018d0ad142f.webp?v=1714721726"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa4cad85fb29ddcdc8d0fe8ae845cf673384352d_7bbc9ac5-c20d-4ba8-9055-362a9214d2d4.webp?v=1714721702","options":["color"],"media":[{"alt":null,"id":23877301665891,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa4cad85fb29ddcdc8d0fe8ae845cf673384352d_7bbc9ac5-c20d-4ba8-9055-362a9214d2d4.webp?v=1714721702"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa4cad85fb29ddcdc8d0fe8ae845cf673384352d_7bbc9ac5-c20d-4ba8-9055-362a9214d2d4.webp?v=1714721702","width":2000},{"alt":null,"id":23877302157411,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37cbe257e67603e907ce5c561d0ce05a34a862a0_39cbe74d-eed2-4b65-913b-4919bf9f348a.webp?v=1714721704"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37cbe257e67603e907ce5c561d0ce05a34a862a0_39cbe74d-eed2-4b65-913b-4919bf9f348a.webp?v=1714721704","width":2000},{"alt":null,"id":23877302648931,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d1b5cd347ca7d3dd2d19458d239ee5d98585cc7_6b59dbc9-bedc-4564-9ec1-bfca2dd80c6d.webp?v=1714721706"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d1b5cd347ca7d3dd2d19458d239ee5d98585cc7_6b59dbc9-bedc-4564-9ec1-bfca2dd80c6d.webp?v=1714721706","width":2000},{"alt":null,"id":23877303140451,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b140a633b6bd60debf95028778aeed167882537_b833346f-2bd3-4f5c-b847-08b049da4039.webp?v=1714721709"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b140a633b6bd60debf95028778aeed167882537_b833346f-2bd3-4f5c-b847-08b049da4039.webp?v=1714721709","width":2000},{"alt":null,"id":23877303599203,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1483401e00b88d3a871d118ae1591b62ce1c3d82_6eb66281-c491-4b66-af9b-a24bd3da823e.webp?v=1714721711"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1483401e00b88d3a871d118ae1591b62ce1c3d82_6eb66281-c491-4b66-af9b-a24bd3da823e.webp?v=1714721711","width":2000},{"alt":null,"id":23877304189027,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47c3d06831a1d6d231d36e8cb29288e58f2baa73_d67e7f61-5f8d-40ec-bcd4-faa625c495f4.webp?v=1714721714"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47c3d06831a1d6d231d36e8cb29288e58f2baa73_d67e7f61-5f8d-40ec-bcd4-faa625c495f4.webp?v=1714721714","width":2000},{"alt":null,"id":23877304582243,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c0ea2bff86b6e2fd9c65c956c8b80a8c0101691_be8cd9ef-2c6b-4022-88ec-020e05d80f20.webp?v=1714721717"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c0ea2bff86b6e2fd9c65c956c8b80a8c0101691_be8cd9ef-2c6b-4022-88ec-020e05d80f20.webp?v=1714721717","width":2000},{"alt":null,"id":23877305073763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d92fd36b2ef1bb36aae6925e49f4976b2ef504_bcd54fac-e646-4ded-8214-d8a94ebed952.webp?v=1714721719"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19d92fd36b2ef1bb36aae6925e49f4976b2ef504_bcd54fac-e646-4ded-8214-d8a94ebed952.webp?v=1714721719","width":2000},{"alt":null,"id":23877305466979,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ba5a2ea9699d9948d630f0833aa70cd25d8529_0d4e765f-951a-4d8c-b4f3-75b084f58b1d.webp?v=1714721721"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90ba5a2ea9699d9948d630f0833aa70cd25d8529_0d4e765f-951a-4d8c-b4f3-75b084f58b1d.webp?v=1714721721","width":2000},{"alt":null,"id":23877305827427,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c0a326edd4b6af2b9ba9612f55e72b6a38d6b01_926b04e8-f317-4c01-b782-de5d746d3322.webp?v=1714721724"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c0a326edd4b6af2b9ba9612f55e72b6a38d6b01_926b04e8-f317-4c01-b782-de5d746d3322.webp?v=1714721724","width":2000},{"alt":null,"id":23877306253411,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a61bc2ac2fb8d159e0fdbff9f8bd522074d24557_5c7ece3c-821b-4474-b7fb-c018d0ad142f.webp?v=1714721726"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a61bc2ac2fb8d159e0fdbff9f8bd522074d24557_5c7ece3c-821b-4474-b7fb-c018d0ad142f.webp?v=1714721726","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41885964664931,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31472388866147,"product_id":7408480452707,"position":10,"created_at":"2024-05-03T15:35:24+08:00","updated_at":"2024-05-03T15:35:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c0a326edd4b6af2b9ba9612f55e72b6a38d6b01_926b04e8-f317-4c01-b782-de5d746d3322.webp?v=1714721724","variant_ids":[41885964664931]},"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-YF02","featured_media":{"alt":null,"id":23877305827427,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c0a326edd4b6af2b9ba9612f55e72b6a38d6b01_926b04e8-f317-4c01-b782-de5d746d3322.webp?v=1714721724"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41885964664931,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YF02","requires_shipping":true,"taxable":true,"featured_image":{"id":31472388866147,"product_id":7408480452707,"position":10,"created_at":"2024-05-03T15:35:24+08:00","updated_at":"2024-05-03T15:35:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c0a326edd4b6af2b9ba9612f55e72b6a38d6b01_926b04e8-f317-4c01-b782-de5d746d3322.webp?v=1714721724","variant_ids":[41885964664931]},"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-YF02","featured_media":{"alt":null,"id":23877305827427,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c0a326edd4b6af2b9ba9612f55e72b6a38d6b01_926b04e8-f317-4c01-b782-de5d746d3322.webp?v=1714721724"}},"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: "停產"
}