Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Look - 願傷疤 有天開出花(泰國林地濫伐)
$product = {"id":7414929490019,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Look - 願傷疤 有天開出花(泰國林地濫伐)","handle":"iphone-12-mini-mod-nx-magsafe-printable-af04","description":null,"published_at":"2024-06-11T17:53:21+08:00","created_at":"2024-05-05T19:50:50+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":41910042984547,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-AF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31487706759267,"product_id":7414929490019,"position":2,"created_at":"2024-05-05T19:50:55+08:00","updated_at":"2024-05-05T19:50:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6c1408d48325348598203556193dbfcbef787b1_6074eac5-433b-4094-ab96-2ecbed185a4e.webp?v=1714909855","variant_ids":[41910042984547]},"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-AF04","featured_media":{"alt":null,"id":23893050622051,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6c1408d48325348598203556193dbfcbef787b1_6074eac5-433b-4094-ab96-2ecbed185a4e.webp?v=1714909855"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65a237799ed2bffc04bb3574786a2b104479d4a2_75d0dda7-3f4b-4873-9d7f-525d7a9c2cdc.webp?v=1714909852","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6c1408d48325348598203556193dbfcbef787b1_6074eac5-433b-4094-ab96-2ecbed185a4e.webp?v=1714909855","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39b2cad649b5aaebea43d72f98ca14d991d9d928_45a011a9-8746-4aa8-b708-b6a9cda194bc.webp?v=1714909857","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/529b82719c45c1c19fca8be82b5000d89ac06922_e70964de-f10f-4756-89d9-82589dd36ef6.webp?v=1714909860","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a1f0cdc854aa552464a532d58f3f263564e76aa_f5aa9f7d-9b0a-415b-960c-ca823c999653.webp?v=1714909862","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66ebcf298b02b1b81cf1bdcd700c4c781705637b_e86a1566-887a-434e-a58b-624f748da700.webp?v=1714909864","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c1e68626bc9662f6dc0aaf85d3308f299d357ed_0335eb1e-e4ae-440a-803b-c9d260dd7b34.webp?v=1714909867","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d793162851c16c2665a66adb1c84fea6765fa3d6_a43ed435-cfaa-4e0a-a833-00128a644e3b.webp?v=1714909869","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbbbd9099f10fa9b8f5437037bc058dcad0d64cc_73978278-fe67-4c2a-8f9c-38d372f41ef5.webp?v=1714909871","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e070f1dfc610dbef626f35d853fff0c52a61edc5_28ddb0e0-b2ad-409e-8908-8b0ca385e135.webp?v=1714909874","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff448860307c72c80a68e80fd66fd13e57c0910a_163d6d53-3443-4366-9fc3-6c632c421f9d.webp?v=1714909876"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65a237799ed2bffc04bb3574786a2b104479d4a2_75d0dda7-3f4b-4873-9d7f-525d7a9c2cdc.webp?v=1714909852","options":["color"],"media":[{"alt":null,"id":23893050228835,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65a237799ed2bffc04bb3574786a2b104479d4a2_75d0dda7-3f4b-4873-9d7f-525d7a9c2cdc.webp?v=1714909852"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65a237799ed2bffc04bb3574786a2b104479d4a2_75d0dda7-3f4b-4873-9d7f-525d7a9c2cdc.webp?v=1714909852","width":2000},{"alt":null,"id":23893050622051,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6c1408d48325348598203556193dbfcbef787b1_6074eac5-433b-4094-ab96-2ecbed185a4e.webp?v=1714909855"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6c1408d48325348598203556193dbfcbef787b1_6074eac5-433b-4094-ab96-2ecbed185a4e.webp?v=1714909855","width":2000},{"alt":null,"id":23893051375715,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39b2cad649b5aaebea43d72f98ca14d991d9d928_45a011a9-8746-4aa8-b708-b6a9cda194bc.webp?v=1714909857"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39b2cad649b5aaebea43d72f98ca14d991d9d928_45a011a9-8746-4aa8-b708-b6a9cda194bc.webp?v=1714909857","width":2000},{"alt":null,"id":23893051867235,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/529b82719c45c1c19fca8be82b5000d89ac06922_e70964de-f10f-4756-89d9-82589dd36ef6.webp?v=1714909860"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/529b82719c45c1c19fca8be82b5000d89ac06922_e70964de-f10f-4756-89d9-82589dd36ef6.webp?v=1714909860","width":2000},{"alt":null,"id":23893052522595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a1f0cdc854aa552464a532d58f3f263564e76aa_f5aa9f7d-9b0a-415b-960c-ca823c999653.webp?v=1714909862"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a1f0cdc854aa552464a532d58f3f263564e76aa_f5aa9f7d-9b0a-415b-960c-ca823c999653.webp?v=1714909862","width":2000},{"alt":null,"id":23893052883043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66ebcf298b02b1b81cf1bdcd700c4c781705637b_e86a1566-887a-434e-a58b-624f748da700.webp?v=1714909864"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/66ebcf298b02b1b81cf1bdcd700c4c781705637b_e86a1566-887a-434e-a58b-624f748da700.webp?v=1714909864","width":2000},{"alt":null,"id":23893053309027,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c1e68626bc9662f6dc0aaf85d3308f299d357ed_0335eb1e-e4ae-440a-803b-c9d260dd7b34.webp?v=1714909867"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c1e68626bc9662f6dc0aaf85d3308f299d357ed_0335eb1e-e4ae-440a-803b-c9d260dd7b34.webp?v=1714909867","width":2000},{"alt":null,"id":23893053800547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d793162851c16c2665a66adb1c84fea6765fa3d6_a43ed435-cfaa-4e0a-a833-00128a644e3b.webp?v=1714909869"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d793162851c16c2665a66adb1c84fea6765fa3d6_a43ed435-cfaa-4e0a-a833-00128a644e3b.webp?v=1714909869","width":2000},{"alt":null,"id":23893054357603,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbbbd9099f10fa9b8f5437037bc058dcad0d64cc_73978278-fe67-4c2a-8f9c-38d372f41ef5.webp?v=1714909871"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bbbbd9099f10fa9b8f5437037bc058dcad0d64cc_73978278-fe67-4c2a-8f9c-38d372f41ef5.webp?v=1714909871","width":2000},{"alt":null,"id":23893054914659,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e070f1dfc610dbef626f35d853fff0c52a61edc5_28ddb0e0-b2ad-409e-8908-8b0ca385e135.webp?v=1714909874"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e070f1dfc610dbef626f35d853fff0c52a61edc5_28ddb0e0-b2ad-409e-8908-8b0ca385e135.webp?v=1714909874","width":2000},{"alt":null,"id":23893055209571,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff448860307c72c80a68e80fd66fd13e57c0910a_163d6d53-3443-4366-9fc3-6c632c421f9d.webp?v=1714909876"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff448860307c72c80a68e80fd66fd13e57c0910a_163d6d53-3443-4366-9fc3-6c632c421f9d.webp?v=1714909876","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41910042984547,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-AF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31487706759267,"product_id":7414929490019,"position":2,"created_at":"2024-05-05T19:50:55+08:00","updated_at":"2024-05-05T19:50:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6c1408d48325348598203556193dbfcbef787b1_6074eac5-433b-4094-ab96-2ecbed185a4e.webp?v=1714909855","variant_ids":[41910042984547]},"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-AF04","featured_media":{"alt":null,"id":23893050622051,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6c1408d48325348598203556193dbfcbef787b1_6074eac5-433b-4094-ab96-2ecbed185a4e.webp?v=1714909855"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41910042984547,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-AF04","requires_shipping":true,"taxable":true,"featured_image":{"id":31487706759267,"product_id":7414929490019,"position":2,"created_at":"2024-05-05T19:50:55+08:00","updated_at":"2024-05-05T19:50:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6c1408d48325348598203556193dbfcbef787b1_6074eac5-433b-4094-ab96-2ecbed185a4e.webp?v=1714909855","variant_ids":[41910042984547]},"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-AF04","featured_media":{"alt":null,"id":23893050622051,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6c1408d48325348598203556193dbfcbef787b1_6074eac5-433b-4094-ab96-2ecbed185a4e.webp?v=1714909855"}},"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: "停產"
}