Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 史迪奇 - 經典系列-Aloha!
$product = {"id":7415892082787,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 史迪奇 - 經典系列-Aloha!","handle":"iphone-xs-max-mod-nx-printable-yf08","description":null,"published_at":"2024-06-11T16:47:12+08:00","created_at":"2024-05-06T12:19:36+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 XS Max","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":41915255881827,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31490670297187,"product_id":7415892082787,"position":1,"created_at":"2024-05-06T12:19:39+08:00","updated_at":"2024-05-06T12:19:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b84486d62f8624926159be2dc99682a70574be_01069fac-c8d8-4e5a-9748-21da410a45ec.webp?v=1714969179","variant_ids":[41915255881827]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 史迪奇 - 經典系列-Aloha! - 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":"NPB0108624-YF08","featured_media":{"alt":null,"id":23896077008995,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b84486d62f8624926159be2dc99682a70574be_01069fac-c8d8-4e5a-9748-21da410a45ec.webp?v=1714969179"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b84486d62f8624926159be2dc99682a70574be_01069fac-c8d8-4e5a-9748-21da410a45ec.webp?v=1714969179","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b65c091e9d9fdbf1b8e95946195837550ccaf33e_0161c0a1-009b-4edc-8028-fbd618af5e3b.webp?v=1714969181","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ce38ceddb021ab6ccfaa46dd2f14e56caa37015_e5e27dd6-cc4a-4879-8d24-aefd324577e4.webp?v=1714969184","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34d54d81b18a00f5c49569cd27be989a5126deff_e7fc260e-989b-4443-b105-f4730c08d988.webp?v=1714969187","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9575b9997816a9558309f9e5d0b44f3bab6cb27_df1a87ee-ab3d-48b6-b369-dae280edeb5e.webp?v=1714969189","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52a37b1d23650ab3a1a923c26bad8f7dbcc43ec6_0592e54e-15cc-44bb-95a8-3628e63f8566.webp?v=1714969192","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7da2b516944aaa983b40fa51316a48983d301ce_ab3850e4-8450-4f4b-838c-ba49a2a315ce.webp?v=1714969194","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/423516014cedd53a34772fe43a3044f0cb6f54e1_43be57d5-31e5-4974-ab70-8ed62dcbccf7.webp?v=1714969196","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a727b2b397b06fe71dea5782747f7845da55d4e9_380c1d7e-3680-4b5f-95df-018a0a3a8e41.webp?v=1714969199","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82d51f7d5e10cef7a57ddf5105c4dcc93db02784_f85091f6-4c25-41bb-8b23-6a6851eca196.webp?v=1714969201"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b84486d62f8624926159be2dc99682a70574be_01069fac-c8d8-4e5a-9748-21da410a45ec.webp?v=1714969179","options":["color"],"media":[{"alt":null,"id":23896077008995,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b84486d62f8624926159be2dc99682a70574be_01069fac-c8d8-4e5a-9748-21da410a45ec.webp?v=1714969179"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b84486d62f8624926159be2dc99682a70574be_01069fac-c8d8-4e5a-9748-21da410a45ec.webp?v=1714969179","width":2000},{"alt":null,"id":23896077402211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b65c091e9d9fdbf1b8e95946195837550ccaf33e_0161c0a1-009b-4edc-8028-fbd618af5e3b.webp?v=1714969181"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b65c091e9d9fdbf1b8e95946195837550ccaf33e_0161c0a1-009b-4edc-8028-fbd618af5e3b.webp?v=1714969181","width":2000},{"alt":null,"id":23896077959267,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ce38ceddb021ab6ccfaa46dd2f14e56caa37015_e5e27dd6-cc4a-4879-8d24-aefd324577e4.webp?v=1714969184"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ce38ceddb021ab6ccfaa46dd2f14e56caa37015_e5e27dd6-cc4a-4879-8d24-aefd324577e4.webp?v=1714969184","width":2000},{"alt":null,"id":23896078286947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34d54d81b18a00f5c49569cd27be989a5126deff_e7fc260e-989b-4443-b105-f4730c08d988.webp?v=1714969187"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34d54d81b18a00f5c49569cd27be989a5126deff_e7fc260e-989b-4443-b105-f4730c08d988.webp?v=1714969187","width":2000},{"alt":null,"id":23896078745699,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9575b9997816a9558309f9e5d0b44f3bab6cb27_df1a87ee-ab3d-48b6-b369-dae280edeb5e.webp?v=1714969189"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9575b9997816a9558309f9e5d0b44f3bab6cb27_df1a87ee-ab3d-48b6-b369-dae280edeb5e.webp?v=1714969189","width":2000},{"alt":null,"id":23896079564899,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52a37b1d23650ab3a1a923c26bad8f7dbcc43ec6_0592e54e-15cc-44bb-95a8-3628e63f8566.webp?v=1714969192"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52a37b1d23650ab3a1a923c26bad8f7dbcc43ec6_0592e54e-15cc-44bb-95a8-3628e63f8566.webp?v=1714969192","width":2000},{"alt":null,"id":23896079958115,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7da2b516944aaa983b40fa51316a48983d301ce_ab3850e4-8450-4f4b-838c-ba49a2a315ce.webp?v=1714969194"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7da2b516944aaa983b40fa51316a48983d301ce_ab3850e4-8450-4f4b-838c-ba49a2a315ce.webp?v=1714969194","width":2000},{"alt":null,"id":23896080318563,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/423516014cedd53a34772fe43a3044f0cb6f54e1_43be57d5-31e5-4974-ab70-8ed62dcbccf7.webp?v=1714969196"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/423516014cedd53a34772fe43a3044f0cb6f54e1_43be57d5-31e5-4974-ab70-8ed62dcbccf7.webp?v=1714969196","width":2000},{"alt":null,"id":23896080842851,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a727b2b397b06fe71dea5782747f7845da55d4e9_380c1d7e-3680-4b5f-95df-018a0a3a8e41.webp?v=1714969199"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a727b2b397b06fe71dea5782747f7845da55d4e9_380c1d7e-3680-4b5f-95df-018a0a3a8e41.webp?v=1714969199","width":2000},{"alt":null,"id":23896081334371,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82d51f7d5e10cef7a57ddf5105c4dcc93db02784_f85091f6-4c25-41bb-8b23-6a6851eca196.webp?v=1714969201"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82d51f7d5e10cef7a57ddf5105c4dcc93db02784_f85091f6-4c25-41bb-8b23-6a6851eca196.webp?v=1714969201","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41915255881827,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31490670297187,"product_id":7415892082787,"position":1,"created_at":"2024-05-06T12:19:39+08:00","updated_at":"2024-05-06T12:19:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b84486d62f8624926159be2dc99682a70574be_01069fac-c8d8-4e5a-9748-21da410a45ec.webp?v=1714969179","variant_ids":[41915255881827]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 史迪奇 - 經典系列-Aloha! - 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":"NPB0108624-YF08","featured_media":{"alt":null,"id":23896077008995,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b84486d62f8624926159be2dc99682a70574be_01069fac-c8d8-4e5a-9748-21da410a45ec.webp?v=1714969179"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41915255881827,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-YF08","requires_shipping":true,"taxable":true,"featured_image":{"id":31490670297187,"product_id":7415892082787,"position":1,"created_at":"2024-05-06T12:19:39+08:00","updated_at":"2024-05-06T12:19:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b84486d62f8624926159be2dc99682a70574be_01069fac-c8d8-4e5a-9748-21da410a45ec.webp?v=1714969179","variant_ids":[41915255881827]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 史迪奇 - 經典系列-Aloha! - 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":"NPB0108624-YF08","featured_media":{"alt":null,"id":23896077008995,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b84486d62f8624926159be2dc99682a70574be_01069fac-c8d8-4e5a-9748-21da410a45ec.webp?v=1714969179"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(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: "停產"
}