Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Weiweiboy - 可愛大王上甜點
$product = {"id":7415109091427,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Weiweiboy - 可愛大王上甜點","handle":"iphone-12-mini-mod-nx-magsafe-printable-eo04","description":null,"published_at":"2024-06-11T17:58:12+08:00","created_at":"2024-05-05T20:24:35+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Weiweiboy","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-weiweiboy","device-iPhone 12 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-weiweiboy","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":41911973576803,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-EO04","requires_shipping":true,"taxable":true,"featured_image":{"id":31488185892963,"product_id":7415109091427,"position":4,"created_at":"2024-05-05T20:24:48+08:00","updated_at":"2024-05-05T20:24:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4519a45bdebb9a8ed0937c024222381a06cb50b7_b2c2330e-67da-4ed8-8817-6ceb067d5213.webp?v=1714911888","variant_ids":[41911973576803]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Weiweiboy - 可愛大王上甜點 - 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-EO04","featured_media":{"alt":null,"id":23893530574947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4519a45bdebb9a8ed0937c024222381a06cb50b7_b2c2330e-67da-4ed8-8817-6ceb067d5213.webp?v=1714911888"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdb377e26289b794536920b716c12d857130c888_39fe4e7b-beee-4d04-862e-bed212ccde0d.webp?v=1714911877","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f0fd4681554c2ac4a4983190bfc84cbaa55aa45_9ffba862-0d31-4581-ba26-37e7d227ce03.webp?v=1714911880","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f25b3897cd7f5ff4761c96bf9330759cf47d752_53e89773-2d87-47e0-a3a1-a33ac20d3403.webp?v=1714911882","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4519a45bdebb9a8ed0937c024222381a06cb50b7_b2c2330e-67da-4ed8-8817-6ceb067d5213.webp?v=1714911888","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3e5cdbf5c3bdc33cb89f0c4208e09f724afc683_ed4a27ac-df29-44d3-be8a-0cb19cd76d8f.webp?v=1714911891","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dc51b7fbb81054570f4c8c32afe29aa9154ec7a_afe94e12-46e0-486d-b293-d2383a4a3c81.webp?v=1714911893","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3a60ceaac0ce51eb1045143f0487986ab772eaf_c0419b9d-0e0e-484f-b71c-1b0486d1be03.webp?v=1714911896","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47b9298ad73dfa6ceafe01ca3621771aae9b3066_a7d5e3c6-8c64-4f83-b081-f196a941f132.webp?v=1714911898","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a96894d3f05e7145f32fee785735cca4443192e5_3c255257-0d9c-46f0-aade-dd93ddb50586.webp?v=1714911901","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75cc49e362636c3237d3318f62dc5836387533d4_17bb4719-f12e-44c3-bdb5-83d3c7c5d8a8.webp?v=1714911903","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5f4716fbf47051c86185986cf4abf0a0d54315b_429a39dd-3ba1-42d3-a23d-cbf82f22ffe6.webp?v=1714911905"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdb377e26289b794536920b716c12d857130c888_39fe4e7b-beee-4d04-862e-bed212ccde0d.webp?v=1714911877","options":["color"],"media":[{"alt":null,"id":23893528182883,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdb377e26289b794536920b716c12d857130c888_39fe4e7b-beee-4d04-862e-bed212ccde0d.webp?v=1714911877"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdb377e26289b794536920b716c12d857130c888_39fe4e7b-beee-4d04-862e-bed212ccde0d.webp?v=1714911877","width":2000},{"alt":null,"id":23893528576099,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f0fd4681554c2ac4a4983190bfc84cbaa55aa45_9ffba862-0d31-4581-ba26-37e7d227ce03.webp?v=1714911880"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f0fd4681554c2ac4a4983190bfc84cbaa55aa45_9ffba862-0d31-4581-ba26-37e7d227ce03.webp?v=1714911880","width":2000},{"alt":null,"id":23893529296995,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f25b3897cd7f5ff4761c96bf9330759cf47d752_53e89773-2d87-47e0-a3a1-a33ac20d3403.webp?v=1714911882"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f25b3897cd7f5ff4761c96bf9330759cf47d752_53e89773-2d87-47e0-a3a1-a33ac20d3403.webp?v=1714911882","width":2000},{"alt":null,"id":23893530574947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4519a45bdebb9a8ed0937c024222381a06cb50b7_b2c2330e-67da-4ed8-8817-6ceb067d5213.webp?v=1714911888"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4519a45bdebb9a8ed0937c024222381a06cb50b7_b2c2330e-67da-4ed8-8817-6ceb067d5213.webp?v=1714911888","width":2000},{"alt":null,"id":23893531000931,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3e5cdbf5c3bdc33cb89f0c4208e09f724afc683_ed4a27ac-df29-44d3-be8a-0cb19cd76d8f.webp?v=1714911891"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3e5cdbf5c3bdc33cb89f0c4208e09f724afc683_ed4a27ac-df29-44d3-be8a-0cb19cd76d8f.webp?v=1714911891","width":2000},{"alt":null,"id":23893531459683,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dc51b7fbb81054570f4c8c32afe29aa9154ec7a_afe94e12-46e0-486d-b293-d2383a4a3c81.webp?v=1714911893"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dc51b7fbb81054570f4c8c32afe29aa9154ec7a_afe94e12-46e0-486d-b293-d2383a4a3c81.webp?v=1714911893","width":2000},{"alt":null,"id":23893532082275,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3a60ceaac0ce51eb1045143f0487986ab772eaf_c0419b9d-0e0e-484f-b71c-1b0486d1be03.webp?v=1714911896"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3a60ceaac0ce51eb1045143f0487986ab772eaf_c0419b9d-0e0e-484f-b71c-1b0486d1be03.webp?v=1714911896","width":2000},{"alt":null,"id":23893532803171,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47b9298ad73dfa6ceafe01ca3621771aae9b3066_a7d5e3c6-8c64-4f83-b081-f196a941f132.webp?v=1714911898"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47b9298ad73dfa6ceafe01ca3621771aae9b3066_a7d5e3c6-8c64-4f83-b081-f196a941f132.webp?v=1714911898","width":2000},{"alt":null,"id":23893533327459,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a96894d3f05e7145f32fee785735cca4443192e5_3c255257-0d9c-46f0-aade-dd93ddb50586.webp?v=1714911901"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a96894d3f05e7145f32fee785735cca4443192e5_3c255257-0d9c-46f0-aade-dd93ddb50586.webp?v=1714911901","width":2000},{"alt":null,"id":23893534113891,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75cc49e362636c3237d3318f62dc5836387533d4_17bb4719-f12e-44c3-bdb5-83d3c7c5d8a8.webp?v=1714911903"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75cc49e362636c3237d3318f62dc5836387533d4_17bb4719-f12e-44c3-bdb5-83d3c7c5d8a8.webp?v=1714911903","width":2000},{"alt":null,"id":23893535031395,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5f4716fbf47051c86185986cf4abf0a0d54315b_429a39dd-3ba1-42d3-a23d-cbf82f22ffe6.webp?v=1714911905"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5f4716fbf47051c86185986cf4abf0a0d54315b_429a39dd-3ba1-42d3-a23d-cbf82f22ffe6.webp?v=1714911905","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41911973576803,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-EO04","requires_shipping":true,"taxable":true,"featured_image":{"id":31488185892963,"product_id":7415109091427,"position":4,"created_at":"2024-05-05T20:24:48+08:00","updated_at":"2024-05-05T20:24:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4519a45bdebb9a8ed0937c024222381a06cb50b7_b2c2330e-67da-4ed8-8817-6ceb067d5213.webp?v=1714911888","variant_ids":[41911973576803]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Weiweiboy - 可愛大王上甜點 - 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-EO04","featured_media":{"alt":null,"id":23893530574947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4519a45bdebb9a8ed0937c024222381a06cb50b7_b2c2330e-67da-4ed8-8817-6ceb067d5213.webp?v=1714911888"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41911973576803,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-EO04","requires_shipping":true,"taxable":true,"featured_image":{"id":31488185892963,"product_id":7415109091427,"position":4,"created_at":"2024-05-05T20:24:48+08:00","updated_at":"2024-05-05T20:24:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4519a45bdebb9a8ed0937c024222381a06cb50b7_b2c2330e-67da-4ed8-8817-6ceb067d5213.webp?v=1714911888","variant_ids":[41911973576803]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Weiweiboy - 可愛大王上甜點 - 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-EO04","featured_media":{"alt":null,"id":23893530574947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4519a45bdebb9a8ed0937c024222381a06cb50b7_b2c2330e-67da-4ed8-8817-6ceb067d5213.webp?v=1714911888"}},"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: "停產"
}