Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Care Bears - 雨愛灌溉
$product = {"id":7408458170467,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Care Bears - 雨愛灌溉","handle":"iphone-12-mini-mod-nx-printable-yb08","description":null,"published_at":"2024-06-11T16:37:47+08:00","created_at":"2024-05-03T15:30:35+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Care Bears","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-carebears","device-iPhone 12 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-carebears","Top50","type-Mod NX Printable"],"price":90000,"price_min":90000,"price_max":90000,"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":41885706059875,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YB08","requires_shipping":true,"taxable":true,"featured_image":{"id":31472331587683,"product_id":7408458170467,"position":4,"created_at":"2024-05-03T15:30:44+08:00","updated_at":"2024-05-03T15:30:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba60c0e2f803e8de5748fee7cfa560dbc8985e7_b5673187-62e8-45bf-9bb3-cdccaf3a5fde.webp?v=1714721444","variant_ids":[41885706059875]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Care Bears - 雨愛灌溉 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-YB08","featured_media":{"alt":null,"id":23877248024675,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba60c0e2f803e8de5748fee7cfa560dbc8985e7_b5673187-62e8-45bf-9bb3-cdccaf3a5fde.webp?v=1714721444"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7df11f688fdb6a4b06e73aac16f3b8adcc70590d_6cae0845-37d7-494c-99af-1ffa18fc712c.webp?v=1714721437","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d77974a66fd50a1bc769b3c9e960a46b2cbd8e6_ea9ed409-fedf-4d3b-8d97-fcb69db18ca3.webp?v=1714721439","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65e06a3e1195a3b916b47a605115f72b52d51248_77f16cc3-3061-4d9b-bf3a-973d38f8c62a.webp?v=1714721442","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba60c0e2f803e8de5748fee7cfa560dbc8985e7_b5673187-62e8-45bf-9bb3-cdccaf3a5fde.webp?v=1714721444","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3224ebc6a49f89abb0d02b8b1c208791c6cd5c71_d0f08569-108b-4139-8f16-22fb33c80e39.webp?v=1714721447","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d86c38bfcad1045b06699c99e358534021b655_88600959-dc5a-4164-93e8-d52d8a183906.webp?v=1714721449","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbd53f388f5ffdb51e22a60d27827216b19ab20c_a32e07a5-43fb-4e74-a46d-3250b53dc5e3.webp?v=1714721451","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53ce7ae0041adb529928ec1395df2baff6375349_fdfc1f84-6e4b-42c4-9ed5-0f2b8c6fbc4e.webp?v=1714721454","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c371ff67677260f740508c563590eed31eab85fd_cc4fe86c-1a46-4352-8859-c0b9dedab615.webp?v=1714721456","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/331767fa8355f5480e021c9a2bc6d6066711e3a3_0e1fa3aa-e90b-4eb9-9fd2-05e943ed5aad.webp?v=1714721459","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e832389df504f668b9753fe8d98e8a4f8d697fed_2bed1f11-c0ff-44f6-a70c-121a68e6c695.webp?v=1714721461"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7df11f688fdb6a4b06e73aac16f3b8adcc70590d_6cae0845-37d7-494c-99af-1ffa18fc712c.webp?v=1714721437","options":["color"],"media":[{"alt":null,"id":23877246582883,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7df11f688fdb6a4b06e73aac16f3b8adcc70590d_6cae0845-37d7-494c-99af-1ffa18fc712c.webp?v=1714721437"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7df11f688fdb6a4b06e73aac16f3b8adcc70590d_6cae0845-37d7-494c-99af-1ffa18fc712c.webp?v=1714721437","width":2000},{"alt":null,"id":23877247041635,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d77974a66fd50a1bc769b3c9e960a46b2cbd8e6_ea9ed409-fedf-4d3b-8d97-fcb69db18ca3.webp?v=1714721439"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6d77974a66fd50a1bc769b3c9e960a46b2cbd8e6_ea9ed409-fedf-4d3b-8d97-fcb69db18ca3.webp?v=1714721439","width":2000},{"alt":null,"id":23877247565923,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65e06a3e1195a3b916b47a605115f72b52d51248_77f16cc3-3061-4d9b-bf3a-973d38f8c62a.webp?v=1714721442"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65e06a3e1195a3b916b47a605115f72b52d51248_77f16cc3-3061-4d9b-bf3a-973d38f8c62a.webp?v=1714721442","width":2000},{"alt":null,"id":23877248024675,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba60c0e2f803e8de5748fee7cfa560dbc8985e7_b5673187-62e8-45bf-9bb3-cdccaf3a5fde.webp?v=1714721444"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba60c0e2f803e8de5748fee7cfa560dbc8985e7_b5673187-62e8-45bf-9bb3-cdccaf3a5fde.webp?v=1714721444","width":2000},{"alt":null,"id":23877248745571,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3224ebc6a49f89abb0d02b8b1c208791c6cd5c71_d0f08569-108b-4139-8f16-22fb33c80e39.webp?v=1714721447"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3224ebc6a49f89abb0d02b8b1c208791c6cd5c71_d0f08569-108b-4139-8f16-22fb33c80e39.webp?v=1714721447","width":2000},{"alt":null,"id":23877249073251,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d86c38bfcad1045b06699c99e358534021b655_88600959-dc5a-4164-93e8-d52d8a183906.webp?v=1714721449"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e1d86c38bfcad1045b06699c99e358534021b655_88600959-dc5a-4164-93e8-d52d8a183906.webp?v=1714721449","width":2000},{"alt":null,"id":23877249466467,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbd53f388f5ffdb51e22a60d27827216b19ab20c_a32e07a5-43fb-4e74-a46d-3250b53dc5e3.webp?v=1714721451"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbd53f388f5ffdb51e22a60d27827216b19ab20c_a32e07a5-43fb-4e74-a46d-3250b53dc5e3.webp?v=1714721451","width":2000},{"alt":null,"id":23877249892451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53ce7ae0041adb529928ec1395df2baff6375349_fdfc1f84-6e4b-42c4-9ed5-0f2b8c6fbc4e.webp?v=1714721454"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53ce7ae0041adb529928ec1395df2baff6375349_fdfc1f84-6e4b-42c4-9ed5-0f2b8c6fbc4e.webp?v=1714721454","width":2000},{"alt":null,"id":23877250187363,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c371ff67677260f740508c563590eed31eab85fd_cc4fe86c-1a46-4352-8859-c0b9dedab615.webp?v=1714721456"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c371ff67677260f740508c563590eed31eab85fd_cc4fe86c-1a46-4352-8859-c0b9dedab615.webp?v=1714721456","width":2000},{"alt":null,"id":23877250744419,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/331767fa8355f5480e021c9a2bc6d6066711e3a3_0e1fa3aa-e90b-4eb9-9fd2-05e943ed5aad.webp?v=1714721459"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/331767fa8355f5480e021c9a2bc6d6066711e3a3_0e1fa3aa-e90b-4eb9-9fd2-05e943ed5aad.webp?v=1714721459","width":2000},{"alt":null,"id":23877251170403,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e832389df504f668b9753fe8d98e8a4f8d697fed_2bed1f11-c0ff-44f6-a70c-121a68e6c695.webp?v=1714721461"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e832389df504f668b9753fe8d98e8a4f8d697fed_2bed1f11-c0ff-44f6-a70c-121a68e6c695.webp?v=1714721461","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41885706059875,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YB08","requires_shipping":true,"taxable":true,"featured_image":{"id":31472331587683,"product_id":7408458170467,"position":4,"created_at":"2024-05-03T15:30:44+08:00","updated_at":"2024-05-03T15:30:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba60c0e2f803e8de5748fee7cfa560dbc8985e7_b5673187-62e8-45bf-9bb3-cdccaf3a5fde.webp?v=1714721444","variant_ids":[41885706059875]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Care Bears - 雨愛灌溉 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-YB08","featured_media":{"alt":null,"id":23877248024675,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba60c0e2f803e8de5748fee7cfa560dbc8985e7_b5673187-62e8-45bf-9bb3-cdccaf3a5fde.webp?v=1714721444"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41885706059875,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YB08","requires_shipping":true,"taxable":true,"featured_image":{"id":31472331587683,"product_id":7408458170467,"position":4,"created_at":"2024-05-03T15:30:44+08:00","updated_at":"2024-05-03T15:30:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba60c0e2f803e8de5748fee7cfa560dbc8985e7_b5673187-62e8-45bf-9bb3-cdccaf3a5fde.webp?v=1714721444","variant_ids":[41885706059875]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Care Bears - 雨愛灌溉 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-YB08","featured_media":{"alt":null,"id":23877248024675,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bba60c0e2f803e8de5748fee7cfa560dbc8985e7_b5673187-62e8-45bf-9bb3-cdccaf3a5fde.webp?v=1714721444"}},"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: "停產"
}