Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 史迪奇 - 貼紙系列-夏威夷舞蹈
$product = {"id":7408556605539,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 史迪奇 - 貼紙系列-夏威夷舞蹈","handle":"iphone-12-mini-mod-nx-printable-yf07","description":null,"published_at":"2024-06-11T16:40:37+08:00","created_at":"2024-05-03T15:50:06+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":41886841798755,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31472583442531,"product_id":7408556605539,"position":4,"created_at":"2024-05-03T15:50:16+08:00","updated_at":"2024-05-03T15:50:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65eff225fef865cfdfc3c9a893e226f74a4f3d65_3032800b-9b6c-4661-ac5f-aca786ad810a.webp?v=1714722616","variant_ids":[41886841798755]},"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-YF07","featured_media":{"alt":null,"id":23877500797027,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65eff225fef865cfdfc3c9a893e226f74a4f3d65_3032800b-9b6c-4661-ac5f-aca786ad810a.webp?v=1714722616"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/497e91252cc86deb0241524547b1677a70433d0d_15198aa7-6bf9-4ef4-8d8a-5e535a6a78f7.webp?v=1714722609","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f506382c67e330d87b2679c66621fd471edd2dd5_fe911469-cdd4-4aee-be5e-8ec2f4e261d7.webp?v=1714722611","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9dcf1718145c835ea2a7aac33d603bc8f2b46b8_ca7be228-e16d-4427-9baf-47841ad23cc2.webp?v=1714722614","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65eff225fef865cfdfc3c9a893e226f74a4f3d65_3032800b-9b6c-4661-ac5f-aca786ad810a.webp?v=1714722616","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dde652d1b58f1f069cd56f88782092463d0ec22_f75a5fe8-b9da-4daf-bf67-ea7a9ec7159c.webp?v=1714722618","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51207e5fb496155dee43585386cfe719c2d12d20_03d9164f-c3b4-499f-82e2-dd79cea5b6f4.webp?v=1714722621","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cc47e80fc8e873b4086d65aa132f4ee4fbe5a27_7309b708-e60e-49c9-908b-ef8255c29c39.webp?v=1714722624","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dca9a76d7241798fb8e8c52ead1c2d21b962bc8_4e47e1de-d3a6-4043-9ccb-d2bbb3b97c32.webp?v=1714722626","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/086ec84424f07a97bdeda0535f30ce2dc886f947_8eb33aed-640d-4a5a-9d8b-c4302b6e8aa3.webp?v=1714722628","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7cb0097dc06ca3df4718973848f6778384dd4a5_84ff9b0c-6694-45e3-9057-26611c03e04e.webp?v=1714722631","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b424b83b9a83eef3806c7f0529d6e83f4640692e_0a165fdb-2d57-4a22-8ccb-e34999b10188.webp?v=1714722633"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/497e91252cc86deb0241524547b1677a70433d0d_15198aa7-6bf9-4ef4-8d8a-5e535a6a78f7.webp?v=1714722609","options":["color"],"media":[{"alt":null,"id":23877499191395,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/497e91252cc86deb0241524547b1677a70433d0d_15198aa7-6bf9-4ef4-8d8a-5e535a6a78f7.webp?v=1714722609"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/497e91252cc86deb0241524547b1677a70433d0d_15198aa7-6bf9-4ef4-8d8a-5e535a6a78f7.webp?v=1714722609","width":2000},{"alt":null,"id":23877499748451,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f506382c67e330d87b2679c66621fd471edd2dd5_fe911469-cdd4-4aee-be5e-8ec2f4e261d7.webp?v=1714722611"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f506382c67e330d87b2679c66621fd471edd2dd5_fe911469-cdd4-4aee-be5e-8ec2f4e261d7.webp?v=1714722611","width":2000},{"alt":null,"id":23877500502115,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9dcf1718145c835ea2a7aac33d603bc8f2b46b8_ca7be228-e16d-4427-9baf-47841ad23cc2.webp?v=1714722614"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e9dcf1718145c835ea2a7aac33d603bc8f2b46b8_ca7be228-e16d-4427-9baf-47841ad23cc2.webp?v=1714722614","width":2000},{"alt":null,"id":23877500797027,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65eff225fef865cfdfc3c9a893e226f74a4f3d65_3032800b-9b6c-4661-ac5f-aca786ad810a.webp?v=1714722616"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65eff225fef865cfdfc3c9a893e226f74a4f3d65_3032800b-9b6c-4661-ac5f-aca786ad810a.webp?v=1714722616","width":2000},{"alt":null,"id":23877501321315,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dde652d1b58f1f069cd56f88782092463d0ec22_f75a5fe8-b9da-4daf-bf67-ea7a9ec7159c.webp?v=1714722618"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dde652d1b58f1f069cd56f88782092463d0ec22_f75a5fe8-b9da-4daf-bf67-ea7a9ec7159c.webp?v=1714722618","width":2000},{"alt":null,"id":23877501648995,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51207e5fb496155dee43585386cfe719c2d12d20_03d9164f-c3b4-499f-82e2-dd79cea5b6f4.webp?v=1714722621"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51207e5fb496155dee43585386cfe719c2d12d20_03d9164f-c3b4-499f-82e2-dd79cea5b6f4.webp?v=1714722621","width":2000},{"alt":null,"id":23877502500963,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cc47e80fc8e873b4086d65aa132f4ee4fbe5a27_7309b708-e60e-49c9-908b-ef8255c29c39.webp?v=1714722624"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4cc47e80fc8e873b4086d65aa132f4ee4fbe5a27_7309b708-e60e-49c9-908b-ef8255c29c39.webp?v=1714722624","width":2000},{"alt":null,"id":23877502795875,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dca9a76d7241798fb8e8c52ead1c2d21b962bc8_4e47e1de-d3a6-4043-9ccb-d2bbb3b97c32.webp?v=1714722626"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5dca9a76d7241798fb8e8c52ead1c2d21b962bc8_4e47e1de-d3a6-4043-9ccb-d2bbb3b97c32.webp?v=1714722626","width":2000},{"alt":null,"id":23877503385699,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/086ec84424f07a97bdeda0535f30ce2dc886f947_8eb33aed-640d-4a5a-9d8b-c4302b6e8aa3.webp?v=1714722628"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/086ec84424f07a97bdeda0535f30ce2dc886f947_8eb33aed-640d-4a5a-9d8b-c4302b6e8aa3.webp?v=1714722628","width":2000},{"alt":null,"id":23877503811683,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7cb0097dc06ca3df4718973848f6778384dd4a5_84ff9b0c-6694-45e3-9057-26611c03e04e.webp?v=1714722631"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f7cb0097dc06ca3df4718973848f6778384dd4a5_84ff9b0c-6694-45e3-9057-26611c03e04e.webp?v=1714722631","width":2000},{"alt":null,"id":23877504303203,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b424b83b9a83eef3806c7f0529d6e83f4640692e_0a165fdb-2d57-4a22-8ccb-e34999b10188.webp?v=1714722633"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b424b83b9a83eef3806c7f0529d6e83f4640692e_0a165fdb-2d57-4a22-8ccb-e34999b10188.webp?v=1714722633","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41886841798755,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31472583442531,"product_id":7408556605539,"position":4,"created_at":"2024-05-03T15:50:16+08:00","updated_at":"2024-05-03T15:50:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65eff225fef865cfdfc3c9a893e226f74a4f3d65_3032800b-9b6c-4661-ac5f-aca786ad810a.webp?v=1714722616","variant_ids":[41886841798755]},"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-YF07","featured_media":{"alt":null,"id":23877500797027,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65eff225fef865cfdfc3c9a893e226f74a4f3d65_3032800b-9b6c-4661-ac5f-aca786ad810a.webp?v=1714722616"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41886841798755,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31472583442531,"product_id":7408556605539,"position":4,"created_at":"2024-05-03T15:50:16+08:00","updated_at":"2024-05-03T15:50:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65eff225fef865cfdfc3c9a893e226f74a4f3d65_3032800b-9b6c-4661-ac5f-aca786ad810a.webp?v=1714722616","variant_ids":[41886841798755]},"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-YF07","featured_media":{"alt":null,"id":23877500797027,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65eff225fef865cfdfc3c9a893e226f74a4f3d65_3032800b-9b6c-4661-ac5f-aca786ad810a.webp?v=1714722616"}},"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: "停產"
}