Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - The Powerpuff Girls - 愛心徽章
$product = {"id":7415033036899,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - The Powerpuff Girls - 愛心徽章","handle":"iphone-12-mini-mod-nx-magsafe-printable-sr02","description":null,"published_at":"2024-06-11T17:56:10+08:00","created_at":"2024-05-05T20:10:14+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區The Powerpuff Girls","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-the-power-puff-girls","device-iPhone 12 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-the-power-puff-girls","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":41911143202915,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-SR02","requires_shipping":true,"taxable":true,"featured_image":{"id":31487981355107,"product_id":7415033036899,"position":9,"created_at":"2024-05-05T20:10:36+08:00","updated_at":"2024-05-05T20:10:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69d2daca709c66ff012c8ffc181e435104cacdc0_cec3f382-a05b-4489-b077-93e377e46629.webp?v=1714911036","variant_ids":[41911143202915]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - The Powerpuff Girls - 愛心徽章 - 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-SR02","featured_media":{"alt":null,"id":23893325611107,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69d2daca709c66ff012c8ffc181e435104cacdc0_cec3f382-a05b-4489-b077-93e377e46629.webp?v=1714911036"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd8743164e45000a7dbbb0e287ad8c4b3cadd594_8093acc0-196e-44e4-b95b-a8ec382c0944.webp?v=1714911017","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eddb2a7031887554a4bb7f357237e173ed533198_d7f50e7e-1eb7-4198-8f23-b954dc60d6be.webp?v=1714911019","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56d8b846be7da528862bd002565c43ce2a3e0c30_0bf0b19e-3942-4fe3-b3ce-4b823fc9d14e.webp?v=1714911021","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff7ff5bd295b10ba3ab3b4a07365367079ce87e_ba1aebe2-086d-467e-8448-e00f179fa31d.webp?v=1714911024","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07596c0a709e11e82f6c1dec4a27b9bd917cf66e_39539bc5-e2e2-4a87-a47c-fdc4849815ad.webp?v=1714911027","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f28053fbd29400980ba1b4ea4b97cfcc9621e43_3502efaa-d7ff-4114-a8d9-28ece11100f9.webp?v=1714911029","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09f8cff438b28d2a0a066d773657f9234fa535aa_6054a58c-8147-4946-83ae-000923520e04.webp?v=1714911031","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6741afdbc3d307edd86681331a084c3868f0630_d7f4afb1-40a3-409e-8816-15d672da896b.webp?v=1714911034","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69d2daca709c66ff012c8ffc181e435104cacdc0_cec3f382-a05b-4489-b077-93e377e46629.webp?v=1714911036","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/432228fb853b6b3b0fa3fa8f20930744f5120d5e_318b8a07-2ced-447d-859b-6da93707b24e.webp?v=1714911038","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a17677ec2ef4851d094a58acfb500968b3a6542_e637948e-f30f-4eac-828c-e87a32836594.webp?v=1714911041"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd8743164e45000a7dbbb0e287ad8c4b3cadd594_8093acc0-196e-44e4-b95b-a8ec382c0944.webp?v=1714911017","options":["color"],"media":[{"alt":null,"id":23893322858595,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd8743164e45000a7dbbb0e287ad8c4b3cadd594_8093acc0-196e-44e4-b95b-a8ec382c0944.webp?v=1714911017"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fd8743164e45000a7dbbb0e287ad8c4b3cadd594_8093acc0-196e-44e4-b95b-a8ec382c0944.webp?v=1714911017","width":2000},{"alt":null,"id":23893323186275,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eddb2a7031887554a4bb7f357237e173ed533198_d7f50e7e-1eb7-4198-8f23-b954dc60d6be.webp?v=1714911019"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eddb2a7031887554a4bb7f357237e173ed533198_d7f50e7e-1eb7-4198-8f23-b954dc60d6be.webp?v=1714911019","width":2000},{"alt":null,"id":23893323415651,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56d8b846be7da528862bd002565c43ce2a3e0c30_0bf0b19e-3942-4fe3-b3ce-4b823fc9d14e.webp?v=1714911021"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56d8b846be7da528862bd002565c43ce2a3e0c30_0bf0b19e-3942-4fe3-b3ce-4b823fc9d14e.webp?v=1714911021","width":2000},{"alt":null,"id":23893323677795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff7ff5bd295b10ba3ab3b4a07365367079ce87e_ba1aebe2-086d-467e-8448-e00f179fa31d.webp?v=1714911024"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff7ff5bd295b10ba3ab3b4a07365367079ce87e_ba1aebe2-086d-467e-8448-e00f179fa31d.webp?v=1714911024","width":2000},{"alt":null,"id":23893324071011,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07596c0a709e11e82f6c1dec4a27b9bd917cf66e_39539bc5-e2e2-4a87-a47c-fdc4849815ad.webp?v=1714911027"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07596c0a709e11e82f6c1dec4a27b9bd917cf66e_39539bc5-e2e2-4a87-a47c-fdc4849815ad.webp?v=1714911027","width":2000},{"alt":null,"id":23893324365923,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f28053fbd29400980ba1b4ea4b97cfcc9621e43_3502efaa-d7ff-4114-a8d9-28ece11100f9.webp?v=1714911029"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f28053fbd29400980ba1b4ea4b97cfcc9621e43_3502efaa-d7ff-4114-a8d9-28ece11100f9.webp?v=1714911029","width":2000},{"alt":null,"id":23893324660835,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09f8cff438b28d2a0a066d773657f9234fa535aa_6054a58c-8147-4946-83ae-000923520e04.webp?v=1714911031"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09f8cff438b28d2a0a066d773657f9234fa535aa_6054a58c-8147-4946-83ae-000923520e04.webp?v=1714911031","width":2000},{"alt":null,"id":23893325086819,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6741afdbc3d307edd86681331a084c3868f0630_d7f4afb1-40a3-409e-8816-15d672da896b.webp?v=1714911034"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6741afdbc3d307edd86681331a084c3868f0630_d7f4afb1-40a3-409e-8816-15d672da896b.webp?v=1714911034","width":2000},{"alt":null,"id":23893325611107,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69d2daca709c66ff012c8ffc181e435104cacdc0_cec3f382-a05b-4489-b077-93e377e46629.webp?v=1714911036"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69d2daca709c66ff012c8ffc181e435104cacdc0_cec3f382-a05b-4489-b077-93e377e46629.webp?v=1714911036","width":2000},{"alt":null,"id":23893326069859,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/432228fb853b6b3b0fa3fa8f20930744f5120d5e_318b8a07-2ced-447d-859b-6da93707b24e.webp?v=1714911038"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/432228fb853b6b3b0fa3fa8f20930744f5120d5e_318b8a07-2ced-447d-859b-6da93707b24e.webp?v=1714911038","width":2000},{"alt":null,"id":23893326856291,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a17677ec2ef4851d094a58acfb500968b3a6542_e637948e-f30f-4eac-828c-e87a32836594.webp?v=1714911041"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a17677ec2ef4851d094a58acfb500968b3a6542_e637948e-f30f-4eac-828c-e87a32836594.webp?v=1714911041","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41911143202915,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-SR02","requires_shipping":true,"taxable":true,"featured_image":{"id":31487981355107,"product_id":7415033036899,"position":9,"created_at":"2024-05-05T20:10:36+08:00","updated_at":"2024-05-05T20:10:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69d2daca709c66ff012c8ffc181e435104cacdc0_cec3f382-a05b-4489-b077-93e377e46629.webp?v=1714911036","variant_ids":[41911143202915]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - The Powerpuff Girls - 愛心徽章 - 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-SR02","featured_media":{"alt":null,"id":23893325611107,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69d2daca709c66ff012c8ffc181e435104cacdc0_cec3f382-a05b-4489-b077-93e377e46629.webp?v=1714911036"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41911143202915,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-SR02","requires_shipping":true,"taxable":true,"featured_image":{"id":31487981355107,"product_id":7415033036899,"position":9,"created_at":"2024-05-05T20:10:36+08:00","updated_at":"2024-05-05T20:10:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69d2daca709c66ff012c8ffc181e435104cacdc0_cec3f382-a05b-4489-b077-93e377e46629.webp?v=1714911036","variant_ids":[41911143202915]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - The Powerpuff Girls - 愛心徽章 - 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-SR02","featured_media":{"alt":null,"id":23893325611107,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69d2daca709c66ff012c8ffc181e435104cacdc0_cec3f382-a05b-4489-b077-93e377e46629.webp?v=1714911036"}},"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: "停產"
}