Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Care Bears - 粉紫樂園
$product = {"id":7408457842787,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - Care Bears - 粉紫樂園","handle":"iphone-12-mini-mod-nx-printable-yb13","description":null,"published_at":"2024-06-11T16:37:46+08:00","created_at":"2024-05-03T15:30:30+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":41885702357091,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31472333095011,"product_id":7408457842787,"position":9,"created_at":"2024-05-03T15:30:52+08:00","updated_at":"2024-05-03T15:30:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0922cb9a939874805cd2bab404397d0cd9198e9c_b01bc8ea-88a3-4b6c-9152-5ddf524e94fd.webp?v=1714721452","variant_ids":[41885702357091]},"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-YB13","featured_media":{"alt":null,"id":23877249663075,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0922cb9a939874805cd2bab404397d0cd9198e9c_b01bc8ea-88a3-4b6c-9152-5ddf524e94fd.webp?v=1714721452"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecf3f67e97403d9f6ebdcff981998c37b9b88512_bbbf1c09-7380-4854-9f43-e2d22f1b04f1.webp?v=1714721433","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e82e2e7a39d7cbc670946584cce14852dbf20c3_3825c1f3-0935-41af-bf12-a5cf24d17f40.webp?v=1714721435","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/314ab7f49c09b1c78b486602f4531c9dbc6a0aa5_788c812b-0284-4c30-b1da-b9c090940ef0.webp?v=1714721438","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/087637e2832e6222d8154a523938bcefe7267cec_132a2160-2f6d-4071-aed4-22c19f1cfb16.webp?v=1714721440","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8977223984e319ef55205296cdddea2363471fc_f85b5dff-13f1-4759-a70a-87534b728625.webp?v=1714721442","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a322bd2130c472d5c2c0957f5233a880f3ed9dc_8f8eae5a-b71d-4a02-b253-30629fe718d6.webp?v=1714721445","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d59dd3a3bcb79d75f48e71f721500c977583464a_f5f372e1-68ad-433e-a6f6-8a724e215395.webp?v=1714721448","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bae88077d2b4176c36bf204abe12d4e87a440dd_8d79aca2-058d-40c7-9aee-f79ea02c672c.webp?v=1714721450","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0922cb9a939874805cd2bab404397d0cd9198e9c_b01bc8ea-88a3-4b6c-9152-5ddf524e94fd.webp?v=1714721452","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/461345c328e404c7a329af153edb392fab9ced6f_63e31220-aee3-45b8-9d79-e04f1a62da1b.webp?v=1714721455","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78de5cf4bdd170a5c77c9eb29c06616bea38b559_1daebef8-d2bf-46fa-87f2-bb98994f2c99.webp?v=1714721457"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecf3f67e97403d9f6ebdcff981998c37b9b88512_bbbf1c09-7380-4854-9f43-e2d22f1b04f1.webp?v=1714721433","options":["color"],"media":[{"alt":null,"id":23877245698147,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecf3f67e97403d9f6ebdcff981998c37b9b88512_bbbf1c09-7380-4854-9f43-e2d22f1b04f1.webp?v=1714721433"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecf3f67e97403d9f6ebdcff981998c37b9b88512_bbbf1c09-7380-4854-9f43-e2d22f1b04f1.webp?v=1714721433","width":2000},{"alt":null,"id":23877246156899,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e82e2e7a39d7cbc670946584cce14852dbf20c3_3825c1f3-0935-41af-bf12-a5cf24d17f40.webp?v=1714721435"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e82e2e7a39d7cbc670946584cce14852dbf20c3_3825c1f3-0935-41af-bf12-a5cf24d17f40.webp?v=1714721435","width":2000},{"alt":null,"id":23877246746723,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/314ab7f49c09b1c78b486602f4531c9dbc6a0aa5_788c812b-0284-4c30-b1da-b9c090940ef0.webp?v=1714721438"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/314ab7f49c09b1c78b486602f4531c9dbc6a0aa5_788c812b-0284-4c30-b1da-b9c090940ef0.webp?v=1714721438","width":2000},{"alt":null,"id":23877247172707,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/087637e2832e6222d8154a523938bcefe7267cec_132a2160-2f6d-4071-aed4-22c19f1cfb16.webp?v=1714721440"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/087637e2832e6222d8154a523938bcefe7267cec_132a2160-2f6d-4071-aed4-22c19f1cfb16.webp?v=1714721440","width":2000},{"alt":null,"id":23877247696995,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8977223984e319ef55205296cdddea2363471fc_f85b5dff-13f1-4759-a70a-87534b728625.webp?v=1714721442"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e8977223984e319ef55205296cdddea2363471fc_f85b5dff-13f1-4759-a70a-87534b728625.webp?v=1714721442","width":2000},{"alt":null,"id":23877248286819,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a322bd2130c472d5c2c0957f5233a880f3ed9dc_8f8eae5a-b71d-4a02-b253-30629fe718d6.webp?v=1714721445"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a322bd2130c472d5c2c0957f5233a880f3ed9dc_8f8eae5a-b71d-4a02-b253-30629fe718d6.webp?v=1714721445","width":2000},{"alt":null,"id":23877248811107,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d59dd3a3bcb79d75f48e71f721500c977583464a_f5f372e1-68ad-433e-a6f6-8a724e215395.webp?v=1714721448"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d59dd3a3bcb79d75f48e71f721500c977583464a_f5f372e1-68ad-433e-a6f6-8a724e215395.webp?v=1714721448","width":2000},{"alt":null,"id":23877249106019,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bae88077d2b4176c36bf204abe12d4e87a440dd_8d79aca2-058d-40c7-9aee-f79ea02c672c.webp?v=1714721450"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bae88077d2b4176c36bf204abe12d4e87a440dd_8d79aca2-058d-40c7-9aee-f79ea02c672c.webp?v=1714721450","width":2000},{"alt":null,"id":23877249663075,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0922cb9a939874805cd2bab404397d0cd9198e9c_b01bc8ea-88a3-4b6c-9152-5ddf524e94fd.webp?v=1714721452"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0922cb9a939874805cd2bab404397d0cd9198e9c_b01bc8ea-88a3-4b6c-9152-5ddf524e94fd.webp?v=1714721452","width":2000},{"alt":null,"id":23877249990755,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/461345c328e404c7a329af153edb392fab9ced6f_63e31220-aee3-45b8-9d79-e04f1a62da1b.webp?v=1714721455"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/461345c328e404c7a329af153edb392fab9ced6f_63e31220-aee3-45b8-9d79-e04f1a62da1b.webp?v=1714721455","width":2000},{"alt":null,"id":23877250482275,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78de5cf4bdd170a5c77c9eb29c06616bea38b559_1daebef8-d2bf-46fa-87f2-bb98994f2c99.webp?v=1714721457"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78de5cf4bdd170a5c77c9eb29c06616bea38b559_1daebef8-d2bf-46fa-87f2-bb98994f2c99.webp?v=1714721457","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41885702357091,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31472333095011,"product_id":7408457842787,"position":9,"created_at":"2024-05-03T15:30:52+08:00","updated_at":"2024-05-03T15:30:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0922cb9a939874805cd2bab404397d0cd9198e9c_b01bc8ea-88a3-4b6c-9152-5ddf524e94fd.webp?v=1714721452","variant_ids":[41885702357091]},"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-YB13","featured_media":{"alt":null,"id":23877249663075,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0922cb9a939874805cd2bab404397d0cd9198e9c_b01bc8ea-88a3-4b6c-9152-5ddf524e94fd.webp?v=1714721452"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41885702357091,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31472333095011,"product_id":7408457842787,"position":9,"created_at":"2024-05-03T15:30:52+08:00","updated_at":"2024-05-03T15:30:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0922cb9a939874805cd2bab404397d0cd9198e9c_b01bc8ea-88a3-4b6c-9152-5ddf524e94fd.webp?v=1714721452","variant_ids":[41885702357091]},"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-YB13","featured_media":{"alt":null,"id":23877249663075,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0922cb9a939874805cd2bab404397d0cd9198e9c_b01bc8ea-88a3-4b6c-9152-5ddf524e94fd.webp?v=1714721452"}},"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: "停產"
}