Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列
$product = {"id":7408406429795,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列","handle":"iphone-12-mini-mod-nx-printable-pb78","description":null,"published_at":"2024-06-11T16:36:22+08:00","created_at":"2024-05-03T15:20:22+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 12 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-star-wars","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":41885128196195,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PB78","requires_shipping":true,"taxable":true,"featured_image":{"id":31472182296675,"product_id":7408406429795,"position":2,"created_at":"2024-05-03T15:20:27+08:00","updated_at":"2024-05-03T15:20:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9f3433aaa2166b45f51e02c5b007b90f208da5d_e9f8bb6d-8a7c-42f1-a9d5-d573c7ea4a75.webp?v=1714720827","variant_ids":[41885128196195]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列 - 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-PB78","featured_media":{"alt":null,"id":23877098078307,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9f3433aaa2166b45f51e02c5b007b90f208da5d_e9f8bb6d-8a7c-42f1-a9d5-d573c7ea4a75.webp?v=1714720827"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/437f381f28202c30cb4528383158767773cba2f6_96baa006-8bae-40ca-869a-5b7daccf90a6.webp?v=1714720825","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9f3433aaa2166b45f51e02c5b007b90f208da5d_e9f8bb6d-8a7c-42f1-a9d5-d573c7ea4a75.webp?v=1714720827","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7d04420864e21f8cc09666f44ea3600e2b325a3_b0735386-0957-4776-97b0-ccfbfcdd5df3.webp?v=1714720830","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4713a5314f4c51fbc8940cd8b3c7f25e7a2199c2_ae5bc861-ea69-4869-92af-9b5bcde45c20.webp?v=1714720832","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11c6089d68490c0720211ef1340293195558608e_e595c9ea-7b29-4c55-9076-615fd5a2dede.webp?v=1714720834","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59a58cbad405c528a607b4845fc254897e3b2caf_69e1896d-c153-4280-9d5c-4c5751f60abe.webp?v=1714720836","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/236efa73e937da23d037d41f2cd87f6e318dd921_d242c2c9-be6a-41dd-81a8-d3af5cc52608.webp?v=1714720839","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1100b848b55fbadfc56b6c1a3eda675bb2303e7_76a329bf-f4f2-469c-b962-5657f64d1fba.webp?v=1714720841","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bbcc3b51be7f4a32c74a294d5e3ecf5178d72e7_65fbcef4-cf4a-4306-9cd2-cff6324ec428.webp?v=1714720844","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e52f178527f7cba5bf603be0cd963a8ba8164785_c8d58fbe-72ab-459f-88b3-6b9ebb4116f9.webp?v=1714720846","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac8af4361068f3401c5fae66c01e2f7d9c150385_40fcbba1-1521-4f7f-9081-82ae993d14a5.webp?v=1714720848"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/437f381f28202c30cb4528383158767773cba2f6_96baa006-8bae-40ca-869a-5b7daccf90a6.webp?v=1714720825","options":["color"],"media":[{"alt":null,"id":23877097652323,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/437f381f28202c30cb4528383158767773cba2f6_96baa006-8bae-40ca-869a-5b7daccf90a6.webp?v=1714720825"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/437f381f28202c30cb4528383158767773cba2f6_96baa006-8bae-40ca-869a-5b7daccf90a6.webp?v=1714720825","width":2000},{"alt":null,"id":23877098078307,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9f3433aaa2166b45f51e02c5b007b90f208da5d_e9f8bb6d-8a7c-42f1-a9d5-d573c7ea4a75.webp?v=1714720827"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9f3433aaa2166b45f51e02c5b007b90f208da5d_e9f8bb6d-8a7c-42f1-a9d5-d573c7ea4a75.webp?v=1714720827","width":2000},{"alt":null,"id":23877098864739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7d04420864e21f8cc09666f44ea3600e2b325a3_b0735386-0957-4776-97b0-ccfbfcdd5df3.webp?v=1714720830"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b7d04420864e21f8cc09666f44ea3600e2b325a3_b0735386-0957-4776-97b0-ccfbfcdd5df3.webp?v=1714720830","width":2000},{"alt":null,"id":23877099389027,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4713a5314f4c51fbc8940cd8b3c7f25e7a2199c2_ae5bc861-ea69-4869-92af-9b5bcde45c20.webp?v=1714720832"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4713a5314f4c51fbc8940cd8b3c7f25e7a2199c2_ae5bc861-ea69-4869-92af-9b5bcde45c20.webp?v=1714720832","width":2000},{"alt":null,"id":23877100339299,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11c6089d68490c0720211ef1340293195558608e_e595c9ea-7b29-4c55-9076-615fd5a2dede.webp?v=1714720834"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11c6089d68490c0720211ef1340293195558608e_e595c9ea-7b29-4c55-9076-615fd5a2dede.webp?v=1714720834","width":2000},{"alt":null,"id":23877101322339,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59a58cbad405c528a607b4845fc254897e3b2caf_69e1896d-c153-4280-9d5c-4c5751f60abe.webp?v=1714720836"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59a58cbad405c528a607b4845fc254897e3b2caf_69e1896d-c153-4280-9d5c-4c5751f60abe.webp?v=1714720836","width":2000},{"alt":null,"id":23877102108771,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/236efa73e937da23d037d41f2cd87f6e318dd921_d242c2c9-be6a-41dd-81a8-d3af5cc52608.webp?v=1714720839"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/236efa73e937da23d037d41f2cd87f6e318dd921_d242c2c9-be6a-41dd-81a8-d3af5cc52608.webp?v=1714720839","width":2000},{"alt":null,"id":23877102796899,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1100b848b55fbadfc56b6c1a3eda675bb2303e7_76a329bf-f4f2-469c-b962-5657f64d1fba.webp?v=1714720841"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1100b848b55fbadfc56b6c1a3eda675bb2303e7_76a329bf-f4f2-469c-b962-5657f64d1fba.webp?v=1714720841","width":2000},{"alt":null,"id":23877103517795,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bbcc3b51be7f4a32c74a294d5e3ecf5178d72e7_65fbcef4-cf4a-4306-9cd2-cff6324ec428.webp?v=1714720844"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bbcc3b51be7f4a32c74a294d5e3ecf5178d72e7_65fbcef4-cf4a-4306-9cd2-cff6324ec428.webp?v=1714720844","width":2000},{"alt":null,"id":23877103943779,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e52f178527f7cba5bf603be0cd963a8ba8164785_c8d58fbe-72ab-459f-88b3-6b9ebb4116f9.webp?v=1714720846"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e52f178527f7cba5bf603be0cd963a8ba8164785_c8d58fbe-72ab-459f-88b3-6b9ebb4116f9.webp?v=1714720846","width":2000},{"alt":null,"id":23877104369763,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac8af4361068f3401c5fae66c01e2f7d9c150385_40fcbba1-1521-4f7f-9081-82ae993d14a5.webp?v=1714720848"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac8af4361068f3401c5fae66c01e2f7d9c150385_40fcbba1-1521-4f7f-9081-82ae993d14a5.webp?v=1714720848","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41885128196195,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PB78","requires_shipping":true,"taxable":true,"featured_image":{"id":31472182296675,"product_id":7408406429795,"position":2,"created_at":"2024-05-03T15:20:27+08:00","updated_at":"2024-05-03T15:20:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9f3433aaa2166b45f51e02c5b007b90f208da5d_e9f8bb6d-8a7c-42f1-a9d5-d573c7ea4a75.webp?v=1714720827","variant_ids":[41885128196195]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列 - 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-PB78","featured_media":{"alt":null,"id":23877098078307,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9f3433aaa2166b45f51e02c5b007b90f208da5d_e9f8bb6d-8a7c-42f1-a9d5-d573c7ea4a75.webp?v=1714720827"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41885128196195,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PB78","requires_shipping":true,"taxable":true,"featured_image":{"id":31472182296675,"product_id":7408406429795,"position":2,"created_at":"2024-05-03T15:20:27+08:00","updated_at":"2024-05-03T15:20:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9f3433aaa2166b45f51e02c5b007b90f208da5d_e9f8bb6d-8a7c-42f1-a9d5-d573c7ea4a75.webp?v=1714720827","variant_ids":[41885128196195]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士-大臉系列 - 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-PB78","featured_media":{"alt":null,"id":23877098078307,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9f3433aaa2166b45f51e02c5b007b90f208da5d_e9f8bb6d-8a7c-42f1-a9d5-d573c7ea4a75.webp?v=1714720827"}},"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: "停產"
}