Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Look - 大自然的傑作(大堡礁)
$product = {"id":7415044112483,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Look - 大自然的傑作(大堡礁)","handle":"iphone-12-mini-mod-nx-magsafe-printable-af11","description":null,"published_at":"2024-06-11T17:56:28+08:00","created_at":"2024-05-05T20:12:25+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Look","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-look","device-iPhone 12 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-look","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":41911276372067,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-AF11","requires_shipping":true,"taxable":true,"featured_image":{"id":31488009240675,"product_id":7415044112483,"position":3,"created_at":"2024-05-05T20:12:32+08:00","updated_at":"2024-05-05T20:12:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f395509a0d3ee38bd2359c507a2674e39aa5c861_657d7e53-adeb-42c8-ac84-177145ac4031.webp?v=1714911152","variant_ids":[41911276372067]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Look - 大自然的傑作(大堡礁) - 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-AF11","featured_media":{"alt":null,"id":23893353529443,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f395509a0d3ee38bd2359c507a2674e39aa5c861_657d7e53-adeb-42c8-ac84-177145ac4031.webp?v=1714911152"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2295a135b8713e13fb4e3b36249bacdd57a849d0_d511cbac-fddc-414e-a704-ddfda64e4918.webp?v=1714911147","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1efe14eb40944f30b18fe78319538c38f8b45381_e2f0f298-c218-4578-89b7-03d7b11ba120.webp?v=1714911149","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f395509a0d3ee38bd2359c507a2674e39aa5c861_657d7e53-adeb-42c8-ac84-177145ac4031.webp?v=1714911152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8db9d4c41f4796fda7309e4315f975f79f6ce0a6_3d31cafb-7939-4ff3-8ed1-3a79e0b94cf0.webp?v=1714911154","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f181ba54a0fe0bb1bfa3be0c1506d5403a5fed2c_ef12160c-2e01-4825-b2a9-3b348ed6aecc.webp?v=1714911157","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b16352af91b99a1da1e8ad71977d75f58892a70_d86983db-c135-40b4-badb-587f402dc425.webp?v=1714911159","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16edc60d755eb6e174bf08dd4bf79f149d20ee77_a391df33-ef78-4473-b00a-0cba101eaf19.webp?v=1714911161","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66edfcb57458951748d8b22f63d5a0438228f72e_11a0bede-ae7f-4fec-8be1-453ba3611341.webp?v=1714911164","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf73fa4bbc02b228dd8612ba3b03c00cd7b44b50_5a47070d-9664-421e-b714-2b63869014df.webp?v=1714911166","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1752efcd38c635d89a03cc02b35ddd13f648f0da_87a82d48-c2db-4b0a-810f-23fed15d2c7e.webp?v=1714911169","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd44b95754deee8d92900083060c52e705629117_fa14b7ad-fe53-4f60-a28a-9bdf90a50e44.webp?v=1714911171"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2295a135b8713e13fb4e3b36249bacdd57a849d0_d511cbac-fddc-414e-a704-ddfda64e4918.webp?v=1714911147","options":["color"],"media":[{"alt":null,"id":23893352317027,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2295a135b8713e13fb4e3b36249bacdd57a849d0_d511cbac-fddc-414e-a704-ddfda64e4918.webp?v=1714911147"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2295a135b8713e13fb4e3b36249bacdd57a849d0_d511cbac-fddc-414e-a704-ddfda64e4918.webp?v=1714911147","width":2000},{"alt":null,"id":23893353070691,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1efe14eb40944f30b18fe78319538c38f8b45381_e2f0f298-c218-4578-89b7-03d7b11ba120.webp?v=1714911149"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1efe14eb40944f30b18fe78319538c38f8b45381_e2f0f298-c218-4578-89b7-03d7b11ba120.webp?v=1714911149","width":2000},{"alt":null,"id":23893353529443,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f395509a0d3ee38bd2359c507a2674e39aa5c861_657d7e53-adeb-42c8-ac84-177145ac4031.webp?v=1714911152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f395509a0d3ee38bd2359c507a2674e39aa5c861_657d7e53-adeb-42c8-ac84-177145ac4031.webp?v=1714911152","width":2000},{"alt":null,"id":23893354512483,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8db9d4c41f4796fda7309e4315f975f79f6ce0a6_3d31cafb-7939-4ff3-8ed1-3a79e0b94cf0.webp?v=1714911154"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8db9d4c41f4796fda7309e4315f975f79f6ce0a6_3d31cafb-7939-4ff3-8ed1-3a79e0b94cf0.webp?v=1714911154","width":2000},{"alt":null,"id":23893354872931,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f181ba54a0fe0bb1bfa3be0c1506d5403a5fed2c_ef12160c-2e01-4825-b2a9-3b348ed6aecc.webp?v=1714911157"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f181ba54a0fe0bb1bfa3be0c1506d5403a5fed2c_ef12160c-2e01-4825-b2a9-3b348ed6aecc.webp?v=1714911157","width":2000},{"alt":null,"id":23893355298915,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b16352af91b99a1da1e8ad71977d75f58892a70_d86983db-c135-40b4-badb-587f402dc425.webp?v=1714911159"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b16352af91b99a1da1e8ad71977d75f58892a70_d86983db-c135-40b4-badb-587f402dc425.webp?v=1714911159","width":2000},{"alt":null,"id":23893355757667,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16edc60d755eb6e174bf08dd4bf79f149d20ee77_a391df33-ef78-4473-b00a-0cba101eaf19.webp?v=1714911161"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16edc60d755eb6e174bf08dd4bf79f149d20ee77_a391df33-ef78-4473-b00a-0cba101eaf19.webp?v=1714911161","width":2000},{"alt":null,"id":23893356281955,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66edfcb57458951748d8b22f63d5a0438228f72e_11a0bede-ae7f-4fec-8be1-453ba3611341.webp?v=1714911164"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66edfcb57458951748d8b22f63d5a0438228f72e_11a0bede-ae7f-4fec-8be1-453ba3611341.webp?v=1714911164","width":2000},{"alt":null,"id":23893357035619,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf73fa4bbc02b228dd8612ba3b03c00cd7b44b50_5a47070d-9664-421e-b714-2b63869014df.webp?v=1714911166"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf73fa4bbc02b228dd8612ba3b03c00cd7b44b50_5a47070d-9664-421e-b714-2b63869014df.webp?v=1714911166","width":2000},{"alt":null,"id":23893357363299,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1752efcd38c635d89a03cc02b35ddd13f648f0da_87a82d48-c2db-4b0a-810f-23fed15d2c7e.webp?v=1714911169"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1752efcd38c635d89a03cc02b35ddd13f648f0da_87a82d48-c2db-4b0a-810f-23fed15d2c7e.webp?v=1714911169","width":2000},{"alt":null,"id":23893358215267,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd44b95754deee8d92900083060c52e705629117_fa14b7ad-fe53-4f60-a28a-9bdf90a50e44.webp?v=1714911171"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd44b95754deee8d92900083060c52e705629117_fa14b7ad-fe53-4f60-a28a-9bdf90a50e44.webp?v=1714911171","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":41911276372067,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-AF11","requires_shipping":true,"taxable":true,"featured_image":{"id":31488009240675,"product_id":7415044112483,"position":3,"created_at":"2024-05-05T20:12:32+08:00","updated_at":"2024-05-05T20:12:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f395509a0d3ee38bd2359c507a2674e39aa5c861_657d7e53-adeb-42c8-ac84-177145ac4031.webp?v=1714911152","variant_ids":[41911276372067]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Look - 大自然的傑作(大堡礁) - 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-AF11","featured_media":{"alt":null,"id":23893353529443,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f395509a0d3ee38bd2359c507a2674e39aa5c861_657d7e53-adeb-42c8-ac84-177145ac4031.webp?v=1714911152"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41911276372067,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-AF11","requires_shipping":true,"taxable":true,"featured_image":{"id":31488009240675,"product_id":7415044112483,"position":3,"created_at":"2024-05-05T20:12:32+08:00","updated_at":"2024-05-05T20:12:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f395509a0d3ee38bd2359c507a2674e39aa5c861_657d7e53-adeb-42c8-ac84-177145ac4031.webp?v=1714911152","variant_ids":[41911276372067]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Look - 大自然的傑作(大堡礁) - 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-AF11","featured_media":{"alt":null,"id":23893353529443,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f395509a0d3ee38bd2359c507a2674e39aa5c861_657d7e53-adeb-42c8-ac84-177145ac4031.webp?v=1714911152"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(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: "停產"
}