Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Snoopy 史努比 - 開心小花
$product = {"id":7369212067939,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Snoopy 史努比 - 開心小花","handle":"iphone-12-mini-mod-nx-magsafe-printable-pl65","description":null,"published_at":"2024-06-11T17:31:33+08:00","created_at":"2024-04-23T15:45:34+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Snoopy 史努比","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-snoopy","device-iPhone 12 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-snoopy","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":41793665040483,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-PL65","requires_shipping":true,"taxable":true,"featured_image":{"id":31387084292195,"product_id":7369212067939,"position":10,"created_at":"2024-04-23T15:46:00+08:00","updated_at":"2024-04-23T15:46:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df6a3b4aebc991b8df9d69ba10b4071b0979f0fe_8e53b5f8-921b-4516-992f-8153cce74de8.webp?v=1713858360","variant_ids":[41793665040483]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Snoopy 史努比 - 開心小花 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-PL65","featured_media":{"alt":null,"id":23789322960995,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df6a3b4aebc991b8df9d69ba10b4071b0979f0fe_8e53b5f8-921b-4516-992f-8153cce74de8.webp?v=1713858360"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8808ce5b302d24a0b1a31c43144c5f228dcbdb6_97be710b-32e1-4025-859c-32c90f5bd094.webp?v=1713858337","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d0509092979f84f26c99d3b3d43dc9b2e82dbce_6b45bd7f-ddd7-4ccc-992b-6e43dac38deb.webp?v=1713858339","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99fc9ec43ca1c22acac8ca91815b63b4b089e660_3774c594-a0f0-4237-bc2a-2296be160279.webp?v=1713858341","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc4ee7716e9b0759e86df683b0d4d7596ac7e37c_3f29c44e-a1f1-465c-95c6-40e68751fd90.webp?v=1713858344","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c68544041412dc1588e88303a5d0173827366463_c1ce05e5-3a51-4216-ad05-5bf92a54d5c5.webp?v=1713858347","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54383b75a4d1edc7a6961e36e96a482b9484effe_fc11ac08-3fa1-497f-8393-f6c6b8e08650.webp?v=1713858350","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed156eecf6130fd490412c32bf7f2f0add1d38fd_3a65a95e-49a1-4a46-9ea3-d9eb547d17f7.webp?v=1713858352","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddb0f0bba5d8031273dbc12fd1515631898b5f9d_d3b59f96-1aba-431a-8407-fae88ac5d74c.webp?v=1713858355","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9651becae84055b5fd91bbb59f05163f2c796b8a_8ce68c08-8929-4fb1-a69a-ee9889d658ce.webp?v=1713858357","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df6a3b4aebc991b8df9d69ba10b4071b0979f0fe_8e53b5f8-921b-4516-992f-8153cce74de8.webp?v=1713858360","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34f65f3ea996bb29c7f598c8bd8f79e764864668_ae759a18-c3a4-4b58-ab9a-44b61790b61f.webp?v=1713858362"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8808ce5b302d24a0b1a31c43144c5f228dcbdb6_97be710b-32e1-4025-859c-32c90f5bd094.webp?v=1713858337","options":["color"],"media":[{"alt":null,"id":23789317488739,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8808ce5b302d24a0b1a31c43144c5f228dcbdb6_97be710b-32e1-4025-859c-32c90f5bd094.webp?v=1713858337"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8808ce5b302d24a0b1a31c43144c5f228dcbdb6_97be710b-32e1-4025-859c-32c90f5bd094.webp?v=1713858337","width":2000},{"alt":null,"id":23789317980259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d0509092979f84f26c99d3b3d43dc9b2e82dbce_6b45bd7f-ddd7-4ccc-992b-6e43dac38deb.webp?v=1713858339"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d0509092979f84f26c99d3b3d43dc9b2e82dbce_6b45bd7f-ddd7-4ccc-992b-6e43dac38deb.webp?v=1713858339","width":2000},{"alt":null,"id":23789318537315,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99fc9ec43ca1c22acac8ca91815b63b4b089e660_3774c594-a0f0-4237-bc2a-2296be160279.webp?v=1713858341"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/99fc9ec43ca1c22acac8ca91815b63b4b089e660_3774c594-a0f0-4237-bc2a-2296be160279.webp?v=1713858341","width":2000},{"alt":null,"id":23789319258211,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc4ee7716e9b0759e86df683b0d4d7596ac7e37c_3f29c44e-a1f1-465c-95c6-40e68751fd90.webp?v=1713858344"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cc4ee7716e9b0759e86df683b0d4d7596ac7e37c_3f29c44e-a1f1-465c-95c6-40e68751fd90.webp?v=1713858344","width":2000},{"alt":null,"id":23789319716963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c68544041412dc1588e88303a5d0173827366463_c1ce05e5-3a51-4216-ad05-5bf92a54d5c5.webp?v=1713858347"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c68544041412dc1588e88303a5d0173827366463_c1ce05e5-3a51-4216-ad05-5bf92a54d5c5.webp?v=1713858347","width":2000},{"alt":null,"id":23789320437859,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54383b75a4d1edc7a6961e36e96a482b9484effe_fc11ac08-3fa1-497f-8393-f6c6b8e08650.webp?v=1713858350"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54383b75a4d1edc7a6961e36e96a482b9484effe_fc11ac08-3fa1-497f-8393-f6c6b8e08650.webp?v=1713858350","width":2000},{"alt":null,"id":23789320962147,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed156eecf6130fd490412c32bf7f2f0add1d38fd_3a65a95e-49a1-4a46-9ea3-d9eb547d17f7.webp?v=1713858352"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed156eecf6130fd490412c32bf7f2f0add1d38fd_3a65a95e-49a1-4a46-9ea3-d9eb547d17f7.webp?v=1713858352","width":2000},{"alt":null,"id":23789321519203,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddb0f0bba5d8031273dbc12fd1515631898b5f9d_d3b59f96-1aba-431a-8407-fae88ac5d74c.webp?v=1713858355"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ddb0f0bba5d8031273dbc12fd1515631898b5f9d_d3b59f96-1aba-431a-8407-fae88ac5d74c.webp?v=1713858355","width":2000},{"alt":null,"id":23789322174563,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9651becae84055b5fd91bbb59f05163f2c796b8a_8ce68c08-8929-4fb1-a69a-ee9889d658ce.webp?v=1713858357"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9651becae84055b5fd91bbb59f05163f2c796b8a_8ce68c08-8929-4fb1-a69a-ee9889d658ce.webp?v=1713858357","width":2000},{"alt":null,"id":23789322960995,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df6a3b4aebc991b8df9d69ba10b4071b0979f0fe_8e53b5f8-921b-4516-992f-8153cce74de8.webp?v=1713858360"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df6a3b4aebc991b8df9d69ba10b4071b0979f0fe_8e53b5f8-921b-4516-992f-8153cce74de8.webp?v=1713858360","width":2000},{"alt":null,"id":23789323419747,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34f65f3ea996bb29c7f598c8bd8f79e764864668_ae759a18-c3a4-4b58-ab9a-44b61790b61f.webp?v=1713858362"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/34f65f3ea996bb29c7f598c8bd8f79e764864668_ae759a18-c3a4-4b58-ab9a-44b61790b61f.webp?v=1713858362","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41793665040483,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-PL65","requires_shipping":true,"taxable":true,"featured_image":{"id":31387084292195,"product_id":7369212067939,"position":10,"created_at":"2024-04-23T15:46:00+08:00","updated_at":"2024-04-23T15:46:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df6a3b4aebc991b8df9d69ba10b4071b0979f0fe_8e53b5f8-921b-4516-992f-8153cce74de8.webp?v=1713858360","variant_ids":[41793665040483]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Snoopy 史努比 - 開心小花 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-PL65","featured_media":{"alt":null,"id":23789322960995,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df6a3b4aebc991b8df9d69ba10b4071b0979f0fe_8e53b5f8-921b-4516-992f-8153cce74de8.webp?v=1713858360"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41793665040483,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-PL65","requires_shipping":true,"taxable":true,"featured_image":{"id":31387084292195,"product_id":7369212067939,"position":10,"created_at":"2024-04-23T15:46:00+08:00","updated_at":"2024-04-23T15:46:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df6a3b4aebc991b8df9d69ba10b4071b0979f0fe_8e53b5f8-921b-4516-992f-8153cce74de8.webp?v=1713858360","variant_ids":[41793665040483]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Snoopy 史努比 - 開心小花 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118424-PL65","featured_media":{"alt":null,"id":23789322960995,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df6a3b4aebc991b8df9d69ba10b4071b0979f0fe_8e53b5f8-921b-4516-992f-8153cce74de8.webp?v=1713858360"}},"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: "停產"
}