Home
›
犀牛盾Clear (MagSafe 兼容)防摔背蓋手機殼 - iPhone 15 - 【獨家設計款】 - 星雨夜空
$product = {"id":7159163388003,"title":"犀牛盾Clear (MagSafe 兼容)防摔背蓋手機殼 - iPhone 15 - 【獨家設計款】 - 星雨夜空","handle":"iphone-15-jellytint-magsafe-a046","description":null,"published_at":"2024-02-01T16:02:39+08:00","created_at":"2024-01-26T17:38:35+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"JellyTint 客製款","tags":["20%","20240304-reseller-\u003ereplace_to-","25%","30%","35%","40%","45%","50%","aaaaa","b2b","brand-Apple","designer","device-iPhone 15","discountable-item","member","merge","reseller","reseller-jellytint","Top50","type-jellytint"],"price":148000,"price_min":148000,"price_max":148000,"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":41213522509923,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012950G-A046","requires_shipping":true,"taxable":true,"featured_image":{"id":30868893368419,"product_id":7159163388003,"position":1,"created_at":"2024-01-30T23:27:17+08:00","updated_at":"2024-01-30T23:27:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5c2ae5bfbc496a21b6ce82f16388611e699c987_91ac90c3-e2bd-424e-b96f-2aaeb94b049b.webp?v=1706628437","variant_ids":[41213522509923]},"available":true,"name":"犀牛盾Clear (MagSafe 兼容)防摔背蓋手機殼 - iPhone 15 - 【獨家設計款】 - 星雨夜空 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012950G-A046","featured_media":{"alt":null,"id":23240284307555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5c2ae5bfbc496a21b6ce82f16388611e699c987_91ac90c3-e2bd-424e-b96f-2aaeb94b049b.webp?v=1706628437"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41213522542691,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MCN012950H-A046","requires_shipping":true,"taxable":true,"featured_image":{"id":30868896743523,"product_id":7159163388003,"position":5,"created_at":"2024-01-30T23:27:27+08:00","updated_at":"2024-01-30T23:27:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcc77e5d8dfc368ad98e46b40f898ace6c40b396_be882960-3133-4fd8-85d3-ac8743fef5e4.webp?v=1706628447","variant_ids":[41213522542691]},"available":true,"name":"犀牛盾Clear (MagSafe 兼容)防摔背蓋手機殼 - iPhone 15 - 【獨家設計款】 - 星雨夜空 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":148000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012950H-A046","featured_media":{"alt":null,"id":23240287682659,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcc77e5d8dfc368ad98e46b40f898ace6c40b396_be882960-3133-4fd8-85d3-ac8743fef5e4.webp?v=1706628447"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41213522608227,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-A046","requires_shipping":true,"taxable":true,"featured_image":{"id":30868897497187,"product_id":7159163388003,"position":6,"created_at":"2024-01-30T23:27:30+08:00","updated_at":"2024-01-30T23:27:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28d783fae9d1e76c149645dfc5df761306916325_1cba7abb-de82-4cc6-8edc-25144a67903c.webp?v=1706628450","variant_ids":[41213522608227]},"available":true,"name":"犀牛盾Clear (MagSafe 兼容)防摔背蓋手機殼 - iPhone 15 - 【獨家設計款】 - 星雨夜空 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":148000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012950J-A046","featured_media":{"alt":null,"id":23240288436323,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28d783fae9d1e76c149645dfc5df761306916325_1cba7abb-de82-4cc6-8edc-25144a67903c.webp?v=1706628450"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5c2ae5bfbc496a21b6ce82f16388611e699c987_91ac90c3-e2bd-424e-b96f-2aaeb94b049b.webp?v=1706628437","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8b737c454f504b719c814961b3725a58a8b187_c3421c7b-3b85-4257-af57-08cdb00b5f73.webp?v=1706628439","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c43a3df59667c5e5238233375a1bedd89461574b_fa7b3923-a30a-4437-a778-8f9e42f32ea2.webp?v=1706628442","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a386e41a8c00214d6d23c79bafe33ad425feb3e_8d543e31-5bb8-4a93-a991-af859eecd06e.webp?v=1706628444","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcc77e5d8dfc368ad98e46b40f898ace6c40b396_be882960-3133-4fd8-85d3-ac8743fef5e4.webp?v=1706628447","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28d783fae9d1e76c149645dfc5df761306916325_1cba7abb-de82-4cc6-8edc-25144a67903c.webp?v=1706628450","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/827960b44c05c3906d616d3e1f4cf2939a7b6b16_ccce0888-3414-4a3d-ba6a-8af66cebb4f2.webp?v=1706628453","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f4c1257730a780ebd40218d66b0f57d7cea46f4_6e3a4ddc-3065-4812-a057-857321ef3304.webp?v=1706628456"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5c2ae5bfbc496a21b6ce82f16388611e699c987_91ac90c3-e2bd-424e-b96f-2aaeb94b049b.webp?v=1706628437","options":["color"],"media":[{"alt":null,"id":23240284307555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5c2ae5bfbc496a21b6ce82f16388611e699c987_91ac90c3-e2bd-424e-b96f-2aaeb94b049b.webp?v=1706628437"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5c2ae5bfbc496a21b6ce82f16388611e699c987_91ac90c3-e2bd-424e-b96f-2aaeb94b049b.webp?v=1706628437","width":2000},{"alt":null,"id":23240285028451,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8b737c454f504b719c814961b3725a58a8b187_c3421c7b-3b85-4257-af57-08cdb00b5f73.webp?v=1706628439"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8b737c454f504b719c814961b3725a58a8b187_c3421c7b-3b85-4257-af57-08cdb00b5f73.webp?v=1706628439","width":2000},{"alt":null,"id":23240286077027,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c43a3df59667c5e5238233375a1bedd89461574b_fa7b3923-a30a-4437-a778-8f9e42f32ea2.webp?v=1706628442"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c43a3df59667c5e5238233375a1bedd89461574b_fa7b3923-a30a-4437-a778-8f9e42f32ea2.webp?v=1706628442","width":2000},{"alt":null,"id":23240286863459,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a386e41a8c00214d6d23c79bafe33ad425feb3e_8d543e31-5bb8-4a93-a991-af859eecd06e.webp?v=1706628444"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a386e41a8c00214d6d23c79bafe33ad425feb3e_8d543e31-5bb8-4a93-a991-af859eecd06e.webp?v=1706628444","width":2000},{"alt":null,"id":23240287682659,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcc77e5d8dfc368ad98e46b40f898ace6c40b396_be882960-3133-4fd8-85d3-ac8743fef5e4.webp?v=1706628447"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcc77e5d8dfc368ad98e46b40f898ace6c40b396_be882960-3133-4fd8-85d3-ac8743fef5e4.webp?v=1706628447","width":2000},{"alt":null,"id":23240288436323,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28d783fae9d1e76c149645dfc5df761306916325_1cba7abb-de82-4cc6-8edc-25144a67903c.webp?v=1706628450"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28d783fae9d1e76c149645dfc5df761306916325_1cba7abb-de82-4cc6-8edc-25144a67903c.webp?v=1706628450","width":2000},{"alt":null,"id":23240289419363,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/827960b44c05c3906d616d3e1f4cf2939a7b6b16_ccce0888-3414-4a3d-ba6a-8af66cebb4f2.webp?v=1706628453"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/827960b44c05c3906d616d3e1f4cf2939a7b6b16_ccce0888-3414-4a3d-ba6a-8af66cebb4f2.webp?v=1706628453","width":2000},{"alt":null,"id":23240290140259,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f4c1257730a780ebd40218d66b0f57d7cea46f4_6e3a4ddc-3065-4812-a057-857321ef3304.webp?v=1706628456"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3f4c1257730a780ebd40218d66b0f57d7cea46f4_6e3a4ddc-3065-4812-a057-857321ef3304.webp?v=1706628456","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41213522509923,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012950G-A046","requires_shipping":true,"taxable":true,"featured_image":{"id":30868893368419,"product_id":7159163388003,"position":1,"created_at":"2024-01-30T23:27:17+08:00","updated_at":"2024-01-30T23:27:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5c2ae5bfbc496a21b6ce82f16388611e699c987_91ac90c3-e2bd-424e-b96f-2aaeb94b049b.webp?v=1706628437","variant_ids":[41213522509923]},"available":true,"name":"犀牛盾Clear (MagSafe 兼容)防摔背蓋手機殼 - iPhone 15 - 【獨家設計款】 - 星雨夜空 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012950G-A046","featured_media":{"alt":null,"id":23240284307555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5c2ae5bfbc496a21b6ce82f16388611e699c987_91ac90c3-e2bd-424e-b96f-2aaeb94b049b.webp?v=1706628437"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41213522542691,"title":"Moody Green","option1":"Moody Green","option2":null,"option3":null,"sku":"MCN012950H-A046","requires_shipping":true,"taxable":true,"featured_image":{"id":30868896743523,"product_id":7159163388003,"position":5,"created_at":"2024-01-30T23:27:27+08:00","updated_at":"2024-01-30T23:27:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcc77e5d8dfc368ad98e46b40f898ace6c40b396_be882960-3133-4fd8-85d3-ac8743fef5e4.webp?v=1706628447","variant_ids":[41213522542691]},"available":true,"name":"犀牛盾Clear (MagSafe 兼容)防摔背蓋手機殼 - iPhone 15 - 【獨家設計款】 - 星雨夜空 - Moody Green","public_title":"Moody Green","options":["Moody Green"],"price":148000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012950H-A046","featured_media":{"alt":null,"id":23240287682659,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcc77e5d8dfc368ad98e46b40f898ace6c40b396_be882960-3133-4fd8-85d3-ac8743fef5e4.webp?v=1706628447"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41213522608227,"title":"Fancy Pink","option1":"Fancy Pink","option2":null,"option3":null,"sku":"MCN012950J-A046","requires_shipping":true,"taxable":true,"featured_image":{"id":30868897497187,"product_id":7159163388003,"position":6,"created_at":"2024-01-30T23:27:30+08:00","updated_at":"2024-01-30T23:27:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28d783fae9d1e76c149645dfc5df761306916325_1cba7abb-de82-4cc6-8edc-25144a67903c.webp?v=1706628450","variant_ids":[41213522608227]},"available":true,"name":"犀牛盾Clear (MagSafe 兼容)防摔背蓋手機殼 - iPhone 15 - 【獨家設計款】 - 星雨夜空 - Fancy Pink","public_title":"Fancy Pink","options":["Fancy Pink"],"price":148000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012950J-A046","featured_media":{"alt":null,"id":23240288436323,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/28d783fae9d1e76c149645dfc5df761306916325_1cba7abb-de82-4cc6-8edc-25144a67903c.webp?v=1706628450"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41213522509923,"title":"Ash Black","option1":"Ash Black","option2":null,"option3":null,"sku":"MCN012950G-A046","requires_shipping":true,"taxable":true,"featured_image":{"id":30868893368419,"product_id":7159163388003,"position":1,"created_at":"2024-01-30T23:27:17+08:00","updated_at":"2024-01-30T23:27:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5c2ae5bfbc496a21b6ce82f16388611e699c987_91ac90c3-e2bd-424e-b96f-2aaeb94b049b.webp?v=1706628437","variant_ids":[41213522509923]},"available":true,"name":"犀牛盾Clear (MagSafe 兼容)防摔背蓋手機殼 - iPhone 15 - 【獨家設計款】 - 星雨夜空 - Ash Black","public_title":"Ash Black","options":["Ash Black"],"price":148000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"CCN012950G-A046","featured_media":{"alt":null,"id":23240284307555,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5c2ae5bfbc496a21b6ce82f16388611e699c987_91ac90c3-e2bd-424e-b96f-2aaeb94b049b.webp?v=1706628437"}},"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: "停產"
}