Home
›
犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Care Bears - 粉紫樂園
$product = {"id":7415031169123,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Care Bears - 粉紫樂園","handle":"iphone-12-mini-mod-nx-magsafe-printable-yb13","description":null,"published_at":"2024-06-11T17:56:07+08:00","created_at":"2024-05-05T20:09:50+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區Care Bears","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-carebears","device-iPhone 12 mini","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-carebears","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":41911129014371,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31487974965347,"product_id":7415031169123,"position":5,"created_at":"2024-05-05T20:10:02+08:00","updated_at":"2024-05-05T20:10:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ee1f7e7fe8f0baa3c0e0df31b945e93368817c3_0f8f595a-decf-469b-9d1c-11527c6b9617.webp?v=1714911002","variant_ids":[41911129014371]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Care Bears - 粉紫樂園 - 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-YB13","featured_media":{"alt":null,"id":23893319221347,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ee1f7e7fe8f0baa3c0e0df31b945e93368817c3_0f8f595a-decf-469b-9d1c-11527c6b9617.webp?v=1714911002"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58df21cf0ebb190b0babb49a1c5bc93d9536b9ac_d7d024c2-9507-4b34-8f93-735c8ef1fd4e.webp?v=1714910992","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87c3d4340cd2d76224a8e3b329c7e7ae821c6f61_ceea23b3-f500-4dc1-8a8b-894cc4054b23.webp?v=1714910994","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/977b6c983f5a52e57f8a431809de67f370b20b45_431670a5-c41d-4828-a252-41a1e3d42229.webp?v=1714910997","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7223a87c4f71719512f1ddec8f1e3915f63a6f4a_15fb4c37-a352-4571-8c27-87facc80eb6c.webp?v=1714910999","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ee1f7e7fe8f0baa3c0e0df31b945e93368817c3_0f8f595a-decf-469b-9d1c-11527c6b9617.webp?v=1714911002","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c536bd1925fb41f7e5d224464b724452873b9ba0_32b92a9e-73c9-4c61-b8f5-fc1b4d8f60cc.webp?v=1714911004","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb661ed8da592cc6e5487711b3bcc40615ad9f8e_03519846-da99-4416-b4fb-747a4a3c6e37.webp?v=1714911006","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ac2d8c8727bcc339e086d3e7777c637a0a023f4_0ea3165e-d5d6-46aa-a6c5-9542397d5225.webp?v=1714911009","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ffac8edcc7e7d6bf156046741740a41e1fe048_92708223-9399-4cc9-916d-f26ae3d9cc82.webp?v=1714911011","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf68ffbae7d79039b08ee55fccf664563772d1ab_b92bbd50-aef5-4f64-8398-7aa663c31bbe.webp?v=1714911014","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5088f6bec6644e8dd83f0e39a0275f1dd9bbeda2_e406ee00-cb68-403c-bb1c-92de2dec2d57.webp?v=1714911016"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58df21cf0ebb190b0babb49a1c5bc93d9536b9ac_d7d024c2-9507-4b34-8f93-735c8ef1fd4e.webp?v=1714910992","options":["color"],"media":[{"alt":null,"id":23893316796515,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58df21cf0ebb190b0babb49a1c5bc93d9536b9ac_d7d024c2-9507-4b34-8f93-735c8ef1fd4e.webp?v=1714910992"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58df21cf0ebb190b0babb49a1c5bc93d9536b9ac_d7d024c2-9507-4b34-8f93-735c8ef1fd4e.webp?v=1714910992","width":2000},{"alt":null,"id":23893317550179,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87c3d4340cd2d76224a8e3b329c7e7ae821c6f61_ceea23b3-f500-4dc1-8a8b-894cc4054b23.webp?v=1714910994"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87c3d4340cd2d76224a8e3b329c7e7ae821c6f61_ceea23b3-f500-4dc1-8a8b-894cc4054b23.webp?v=1714910994","width":2000},{"alt":null,"id":23893318008931,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/977b6c983f5a52e57f8a431809de67f370b20b45_431670a5-c41d-4828-a252-41a1e3d42229.webp?v=1714910997"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/977b6c983f5a52e57f8a431809de67f370b20b45_431670a5-c41d-4828-a252-41a1e3d42229.webp?v=1714910997","width":2000},{"alt":null,"id":23893318762595,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7223a87c4f71719512f1ddec8f1e3915f63a6f4a_15fb4c37-a352-4571-8c27-87facc80eb6c.webp?v=1714910999"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7223a87c4f71719512f1ddec8f1e3915f63a6f4a_15fb4c37-a352-4571-8c27-87facc80eb6c.webp?v=1714910999","width":2000},{"alt":null,"id":23893319221347,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ee1f7e7fe8f0baa3c0e0df31b945e93368817c3_0f8f595a-decf-469b-9d1c-11527c6b9617.webp?v=1714911002"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ee1f7e7fe8f0baa3c0e0df31b945e93368817c3_0f8f595a-decf-469b-9d1c-11527c6b9617.webp?v=1714911002","width":2000},{"alt":null,"id":23893320073315,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c536bd1925fb41f7e5d224464b724452873b9ba0_32b92a9e-73c9-4c61-b8f5-fc1b4d8f60cc.webp?v=1714911004"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c536bd1925fb41f7e5d224464b724452873b9ba0_32b92a9e-73c9-4c61-b8f5-fc1b4d8f60cc.webp?v=1714911004","width":2000},{"alt":null,"id":23893320400995,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb661ed8da592cc6e5487711b3bcc40615ad9f8e_03519846-da99-4416-b4fb-747a4a3c6e37.webp?v=1714911006"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb661ed8da592cc6e5487711b3bcc40615ad9f8e_03519846-da99-4416-b4fb-747a4a3c6e37.webp?v=1714911006","width":2000},{"alt":null,"id":23893321023587,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ac2d8c8727bcc339e086d3e7777c637a0a023f4_0ea3165e-d5d6-46aa-a6c5-9542397d5225.webp?v=1714911009"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ac2d8c8727bcc339e086d3e7777c637a0a023f4_0ea3165e-d5d6-46aa-a6c5-9542397d5225.webp?v=1714911009","width":2000},{"alt":null,"id":23893321449571,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ffac8edcc7e7d6bf156046741740a41e1fe048_92708223-9399-4cc9-916d-f26ae3d9cc82.webp?v=1714911011"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6ffac8edcc7e7d6bf156046741740a41e1fe048_92708223-9399-4cc9-916d-f26ae3d9cc82.webp?v=1714911011","width":2000},{"alt":null,"id":23893322006627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf68ffbae7d79039b08ee55fccf664563772d1ab_b92bbd50-aef5-4f64-8398-7aa663c31bbe.webp?v=1714911014"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf68ffbae7d79039b08ee55fccf664563772d1ab_b92bbd50-aef5-4f64-8398-7aa663c31bbe.webp?v=1714911014","width":2000},{"alt":null,"id":23893322825827,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5088f6bec6644e8dd83f0e39a0275f1dd9bbeda2_e406ee00-cb68-403c-bb1c-92de2dec2d57.webp?v=1714911016"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5088f6bec6644e8dd83f0e39a0275f1dd9bbeda2_e406ee00-cb68-403c-bb1c-92de2dec2d57.webp?v=1714911016","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41911129014371,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31487974965347,"product_id":7415031169123,"position":5,"created_at":"2024-05-05T20:10:02+08:00","updated_at":"2024-05-05T20:10:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ee1f7e7fe8f0baa3c0e0df31b945e93368817c3_0f8f595a-decf-469b-9d1c-11527c6b9617.webp?v=1714911002","variant_ids":[41911129014371]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Care Bears - 粉紫樂園 - 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-YB13","featured_media":{"alt":null,"id":23893319221347,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ee1f7e7fe8f0baa3c0e0df31b945e93368817c3_0f8f595a-decf-469b-9d1c-11527c6b9617.webp?v=1714911002"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41911129014371,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118424-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31487974965347,"product_id":7415031169123,"position":5,"created_at":"2024-05-05T20:10:02+08:00","updated_at":"2024-05-05T20:10:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ee1f7e7fe8f0baa3c0e0df31b945e93368817c3_0f8f595a-decf-469b-9d1c-11527c6b9617.webp?v=1714911002","variant_ids":[41911129014371]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 mini - Care Bears - 粉紫樂園 - 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-YB13","featured_media":{"alt":null,"id":23893319221347,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ee1f7e7fe8f0baa3c0e0df31b945e93368817c3_0f8f595a-decf-469b-9d1c-11527c6b9617.webp?v=1714911002"}},"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: "停產"
}