Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 死星-線稿風格
$product = {"id":7408421339235,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 死星-線稿風格","handle":"iphone-12-mini-mod-nx-printable-pb75","description":null,"published_at":"2024-06-11T16:36:46+08:00","created_at":"2024-05-03T15:23:18+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":41885288628323,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PB75","requires_shipping":true,"taxable":true,"featured_image":{"id":31472231972963,"product_id":7408421339235,"position":7,"created_at":"2024-05-03T15:23:36+08:00","updated_at":"2024-05-03T15:23:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff80a52b3885c897ae626bbc0f9ef0d15e865a78_6ab3acab-e449-4a4b-8624-a86e8a82058f.webp?v=1714721016","variant_ids":[41885288628323]},"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-PB75","featured_media":{"alt":null,"id":23877148082275,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff80a52b3885c897ae626bbc0f9ef0d15e865a78_6ab3acab-e449-4a4b-8624-a86e8a82058f.webp?v=1714721016"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e472b9b724f0bc1d2f2dc54ae82493c867cd8a49_8bb33a97-d83c-40d0-a353-6de9166c27ad.webp?v=1714721001","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6eac359f6afb7f719bc2c8d64af753063d5ac41_351a1c8b-273f-4898-a2ba-dc197cdb2354.webp?v=1714721003","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2044776517f7ce8ac282f986087477ff4c9cee0_9dedc5d0-60ac-4d89-a687-9daafbe881af.webp?v=1714721006","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cf1c3795b3ff07d90201d0a634242ddd7744acc_84e93ea5-071e-492c-b98b-1373f0c91168.webp?v=1714721009","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a355ace3b8c0374cbced9d55efe21abe5ab42e05_e0a8995b-bdc6-431f-bebb-aad7ec7f12d5.webp?v=1714721011","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d410cb589f8ab72c74c518bb9bffb51994021d1_628a156f-8602-4d44-be6e-73532d229354.webp?v=1714721014","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff80a52b3885c897ae626bbc0f9ef0d15e865a78_6ab3acab-e449-4a4b-8624-a86e8a82058f.webp?v=1714721016","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4dba43459095f2f790c643c4532c77c54090ab7_cee43d9c-5019-48ac-9478-799b31d6f01b.webp?v=1714721019","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87750843fa521f452dad81941e956d5232a7a90a_4e8d6660-4948-43d4-a9ea-944b74092b2d.webp?v=1714721021","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22b4d6d4e694200eae048c93b9eb43464cede780_4a50521f-624b-4019-9ab9-267601b6ce21.webp?v=1714721024","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6ad118b2b25cd507dc742eefa57a938e797398c_f858fa82-9be2-4418-a2ec-4b74e6524690.webp?v=1714721026"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e472b9b724f0bc1d2f2dc54ae82493c867cd8a49_8bb33a97-d83c-40d0-a353-6de9166c27ad.webp?v=1714721001","options":["color"],"media":[{"alt":null,"id":23877142904931,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e472b9b724f0bc1d2f2dc54ae82493c867cd8a49_8bb33a97-d83c-40d0-a353-6de9166c27ad.webp?v=1714721001"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e472b9b724f0bc1d2f2dc54ae82493c867cd8a49_8bb33a97-d83c-40d0-a353-6de9166c27ad.webp?v=1714721001","width":2000},{"alt":null,"id":23877143265379,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6eac359f6afb7f719bc2c8d64af753063d5ac41_351a1c8b-273f-4898-a2ba-dc197cdb2354.webp?v=1714721003"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6eac359f6afb7f719bc2c8d64af753063d5ac41_351a1c8b-273f-4898-a2ba-dc197cdb2354.webp?v=1714721003","width":2000},{"alt":null,"id":23877144019043,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2044776517f7ce8ac282f986087477ff4c9cee0_9dedc5d0-60ac-4d89-a687-9daafbe881af.webp?v=1714721006"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b2044776517f7ce8ac282f986087477ff4c9cee0_9dedc5d0-60ac-4d89-a687-9daafbe881af.webp?v=1714721006","width":2000},{"alt":null,"id":23877144641635,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cf1c3795b3ff07d90201d0a634242ddd7744acc_84e93ea5-071e-492c-b98b-1373f0c91168.webp?v=1714721009"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1cf1c3795b3ff07d90201d0a634242ddd7744acc_84e93ea5-071e-492c-b98b-1373f0c91168.webp?v=1714721009","width":2000},{"alt":null,"id":23877145624675,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a355ace3b8c0374cbced9d55efe21abe5ab42e05_e0a8995b-bdc6-431f-bebb-aad7ec7f12d5.webp?v=1714721011"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a355ace3b8c0374cbced9d55efe21abe5ab42e05_e0a8995b-bdc6-431f-bebb-aad7ec7f12d5.webp?v=1714721011","width":2000},{"alt":null,"id":23877147099235,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d410cb589f8ab72c74c518bb9bffb51994021d1_628a156f-8602-4d44-be6e-73532d229354.webp?v=1714721014"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d410cb589f8ab72c74c518bb9bffb51994021d1_628a156f-8602-4d44-be6e-73532d229354.webp?v=1714721014","width":2000},{"alt":null,"id":23877148082275,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff80a52b3885c897ae626bbc0f9ef0d15e865a78_6ab3acab-e449-4a4b-8624-a86e8a82058f.webp?v=1714721016"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff80a52b3885c897ae626bbc0f9ef0d15e865a78_6ab3acab-e449-4a4b-8624-a86e8a82058f.webp?v=1714721016","width":2000},{"alt":null,"id":23877148639331,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4dba43459095f2f790c643c4532c77c54090ab7_cee43d9c-5019-48ac-9478-799b31d6f01b.webp?v=1714721019"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4dba43459095f2f790c643c4532c77c54090ab7_cee43d9c-5019-48ac-9478-799b31d6f01b.webp?v=1714721019","width":2000},{"alt":null,"id":23877149098083,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87750843fa521f452dad81941e956d5232a7a90a_4e8d6660-4948-43d4-a9ea-944b74092b2d.webp?v=1714721021"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87750843fa521f452dad81941e956d5232a7a90a_4e8d6660-4948-43d4-a9ea-944b74092b2d.webp?v=1714721021","width":2000},{"alt":null,"id":23877149687907,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22b4d6d4e694200eae048c93b9eb43464cede780_4a50521f-624b-4019-9ab9-267601b6ce21.webp?v=1714721024"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22b4d6d4e694200eae048c93b9eb43464cede780_4a50521f-624b-4019-9ab9-267601b6ce21.webp?v=1714721024","width":2000},{"alt":null,"id":23877150212195,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6ad118b2b25cd507dc742eefa57a938e797398c_f858fa82-9be2-4418-a2ec-4b74e6524690.webp?v=1714721026"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6ad118b2b25cd507dc742eefa57a938e797398c_f858fa82-9be2-4418-a2ec-4b74e6524690.webp?v=1714721026","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41885288628323,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PB75","requires_shipping":true,"taxable":true,"featured_image":{"id":31472231972963,"product_id":7408421339235,"position":7,"created_at":"2024-05-03T15:23:36+08:00","updated_at":"2024-05-03T15:23:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff80a52b3885c897ae626bbc0f9ef0d15e865a78_6ab3acab-e449-4a4b-8624-a86e8a82058f.webp?v=1714721016","variant_ids":[41885288628323]},"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-PB75","featured_media":{"alt":null,"id":23877148082275,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff80a52b3885c897ae626bbc0f9ef0d15e865a78_6ab3acab-e449-4a4b-8624-a86e8a82058f.webp?v=1714721016"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41885288628323,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PB75","requires_shipping":true,"taxable":true,"featured_image":{"id":31472231972963,"product_id":7408421339235,"position":7,"created_at":"2024-05-03T15:23:36+08:00","updated_at":"2024-05-03T15:23:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff80a52b3885c897ae626bbc0f9ef0d15e865a78_6ab3acab-e449-4a4b-8624-a86e8a82058f.webp?v=1714721016","variant_ids":[41885288628323]},"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-PB75","featured_media":{"alt":null,"id":23877148082275,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ff80a52b3885c897ae626bbc0f9ef0d15e865a78_6ab3acab-e449-4a4b-8624-a86e8a82058f.webp?v=1714721016"}},"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: "停產"
}