Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【獨家設計款】 - 願傷疤開花(花蓮)
$product = {"id":7408502603875,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【獨家設計款】 - 願傷疤開花(花蓮)","handle":"iphone-12-mini-mod-nx-printable-ae02","description":null,"published_at":"2024-06-11T16:39:03+08:00","created_at":"2024-05-03T15:39:17+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"MOD NX 客製化","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","device-iPhone 12 mini","discountable-item","member","merge","mod-nx-printable","new-modnx-sku","reseller","reseller-modnx-chi-po-lin-series","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":41886216290403,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AE02","requires_shipping":true,"taxable":true,"featured_image":{"id":31472445325411,"product_id":7408502603875,"position":9,"created_at":"2024-05-03T15:39:40+08:00","updated_at":"2024-05-03T15:39:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f3d7676596e53f84d2f2450698d244b59ef5fa3_80c50947-0502-474c-8983-f93b0c13361f.webp?v=1714721980","variant_ids":[41886216290403]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【獨家設計款】 - 願傷疤開花(花蓮) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-AE02","featured_media":{"alt":null,"id":23877362319459,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f3d7676596e53f84d2f2450698d244b59ef5fa3_80c50947-0502-474c-8983-f93b0c13361f.webp?v=1714721980"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4f8a4c51bf3b41fa196edf4296200b9e0f5b99d_c8d28e4a-e5ee-4a6c-a72b-56bc6c4875fe.webp?v=1714721960","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8161c3886f45b8af5acec3037f79481cf64da05f_33ff2479-c6c6-4680-b551-1cc1296ec63e.webp?v=1714721963","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7636b1e0a7b27c5fefba92308c39b9cbc1301067_47e8645b-0835-4cc0-9599-1735c9425e3f.webp?v=1714721965","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b8af22869526756ec8fce2f60da613c87d89911_08ab826b-96ba-44f5-add6-8e56dd66f10b.webp?v=1714721968","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5151d74bb86f4c986b5181e8caf5ce023b0d262_9eb8d7cf-7e0a-4db2-840d-bc4ac5a7d527.webp?v=1714721970","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba6aa69ab11d2eaacc3f80ed416f0c1824bdca8f_cce4e6af-b747-4f20-9be8-1f4c73b26d12.webp?v=1714721973","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97a5c0c6b02b30c7047347d735ac11a94f5e9e89_0f8195a2-ccbd-4660-98da-870c117ac848.webp?v=1714721975","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/060b1e358ba8df5afb2713e0a03059e460d48bf4_0aab89ad-172f-4910-a98f-70285173943d.webp?v=1714721977","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f3d7676596e53f84d2f2450698d244b59ef5fa3_80c50947-0502-474c-8983-f93b0c13361f.webp?v=1714721980","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe2259d305798307fd6770def06c8d0755b9a04d_1aeb2aff-cee6-44b3-b66b-7b0b7e3ff6d7.webp?v=1714721982","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f16d068035a338e8080f6dfbeadcc6a55fc5d91f_e64bc47c-ee4e-4030-8a45-1727201c7e98.webp?v=1714721985"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4f8a4c51bf3b41fa196edf4296200b9e0f5b99d_c8d28e4a-e5ee-4a6c-a72b-56bc6c4875fe.webp?v=1714721960","options":["color"],"media":[{"alt":null,"id":23877357928547,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4f8a4c51bf3b41fa196edf4296200b9e0f5b99d_c8d28e4a-e5ee-4a6c-a72b-56bc6c4875fe.webp?v=1714721960"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4f8a4c51bf3b41fa196edf4296200b9e0f5b99d_c8d28e4a-e5ee-4a6c-a72b-56bc6c4875fe.webp?v=1714721960","width":2000},{"alt":null,"id":23877358518371,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8161c3886f45b8af5acec3037f79481cf64da05f_33ff2479-c6c6-4680-b551-1cc1296ec63e.webp?v=1714721963"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8161c3886f45b8af5acec3037f79481cf64da05f_33ff2479-c6c6-4680-b551-1cc1296ec63e.webp?v=1714721963","width":2000},{"alt":null,"id":23877359009891,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7636b1e0a7b27c5fefba92308c39b9cbc1301067_47e8645b-0835-4cc0-9599-1735c9425e3f.webp?v=1714721965"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7636b1e0a7b27c5fefba92308c39b9cbc1301067_47e8645b-0835-4cc0-9599-1735c9425e3f.webp?v=1714721965","width":2000},{"alt":null,"id":23877359566947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b8af22869526756ec8fce2f60da613c87d89911_08ab826b-96ba-44f5-add6-8e56dd66f10b.webp?v=1714721968"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b8af22869526756ec8fce2f60da613c87d89911_08ab826b-96ba-44f5-add6-8e56dd66f10b.webp?v=1714721968","width":2000},{"alt":null,"id":23877360091235,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5151d74bb86f4c986b5181e8caf5ce023b0d262_9eb8d7cf-7e0a-4db2-840d-bc4ac5a7d527.webp?v=1714721970"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5151d74bb86f4c986b5181e8caf5ce023b0d262_9eb8d7cf-7e0a-4db2-840d-bc4ac5a7d527.webp?v=1714721970","width":2000},{"alt":null,"id":23877360582755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba6aa69ab11d2eaacc3f80ed416f0c1824bdca8f_cce4e6af-b747-4f20-9be8-1f4c73b26d12.webp?v=1714721973"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba6aa69ab11d2eaacc3f80ed416f0c1824bdca8f_cce4e6af-b747-4f20-9be8-1f4c73b26d12.webp?v=1714721973","width":2000},{"alt":null,"id":23877361107043,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97a5c0c6b02b30c7047347d735ac11a94f5e9e89_0f8195a2-ccbd-4660-98da-870c117ac848.webp?v=1714721975"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97a5c0c6b02b30c7047347d735ac11a94f5e9e89_0f8195a2-ccbd-4660-98da-870c117ac848.webp?v=1714721975","width":2000},{"alt":null,"id":23877361729635,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/060b1e358ba8df5afb2713e0a03059e460d48bf4_0aab89ad-172f-4910-a98f-70285173943d.webp?v=1714721977"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/060b1e358ba8df5afb2713e0a03059e460d48bf4_0aab89ad-172f-4910-a98f-70285173943d.webp?v=1714721977","width":2000},{"alt":null,"id":23877362319459,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f3d7676596e53f84d2f2450698d244b59ef5fa3_80c50947-0502-474c-8983-f93b0c13361f.webp?v=1714721980"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f3d7676596e53f84d2f2450698d244b59ef5fa3_80c50947-0502-474c-8983-f93b0c13361f.webp?v=1714721980","width":2000},{"alt":null,"id":23877363007587,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe2259d305798307fd6770def06c8d0755b9a04d_1aeb2aff-cee6-44b3-b66b-7b0b7e3ff6d7.webp?v=1714721982"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe2259d305798307fd6770def06c8d0755b9a04d_1aeb2aff-cee6-44b3-b66b-7b0b7e3ff6d7.webp?v=1714721982","width":2000},{"alt":null,"id":23877363630179,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f16d068035a338e8080f6dfbeadcc6a55fc5d91f_e64bc47c-ee4e-4030-8a45-1727201c7e98.webp?v=1714721985"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f16d068035a338e8080f6dfbeadcc6a55fc5d91f_e64bc47c-ee4e-4030-8a45-1727201c7e98.webp?v=1714721985","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":41886216290403,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AE02","requires_shipping":true,"taxable":true,"featured_image":{"id":31472445325411,"product_id":7408502603875,"position":9,"created_at":"2024-05-03T15:39:40+08:00","updated_at":"2024-05-03T15:39:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f3d7676596e53f84d2f2450698d244b59ef5fa3_80c50947-0502-474c-8983-f93b0c13361f.webp?v=1714721980","variant_ids":[41886216290403]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【獨家設計款】 - 願傷疤開花(花蓮) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-AE02","featured_media":{"alt":null,"id":23877362319459,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f3d7676596e53f84d2f2450698d244b59ef5fa3_80c50947-0502-474c-8983-f93b0c13361f.webp?v=1714721980"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41886216290403,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-AE02","requires_shipping":true,"taxable":true,"featured_image":{"id":31472445325411,"product_id":7408502603875,"position":9,"created_at":"2024-05-03T15:39:40+08:00","updated_at":"2024-05-03T15:39:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f3d7676596e53f84d2f2450698d244b59ef5fa3_80c50947-0502-474c-8983-f93b0c13361f.webp?v=1714721980","variant_ids":[41886216290403]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【獨家設計款】 - 願傷疤開花(花蓮) - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118424-AE02","featured_media":{"alt":null,"id":23877362319459,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f3d7676596e53f84d2f2450698d244b59ef5fa3_80c50947-0502-474c-8983-f93b0c13361f.webp?v=1714721980"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(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: "停產"
}