Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 星球大戰-貼紙系列
$product = {"id":7408375758947,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 星球大戰-貼紙系列","handle":"iphone-12-mini-mod-nx-printable-pb98","description":null,"published_at":"2024-06-11T16:35:31+08:00","created_at":"2024-05-03T15:14:20+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":41884793602147,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31472105816163,"product_id":7408375758947,"position":10,"created_at":"2024-05-03T15:14:46+08:00","updated_at":"2024-05-03T15:14:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c32bf76bd4b765b8a0148650660081e99827cf0_00c09ae9-17d3-470d-8aa6-0bba1f48dd87.webp?v=1714720486","variant_ids":[41884793602147]},"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-PB98","featured_media":{"alt":null,"id":23877021204579,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c32bf76bd4b765b8a0148650660081e99827cf0_00c09ae9-17d3-470d-8aa6-0bba1f48dd87.webp?v=1714720486"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0666e0196ca5d628a7e883d00ba32afd73c4e63d_4d9d7062-d749-4a34-8c10-196b511ef7db.webp?v=1714720463","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e38af9e2164fa860a0f571e9dafb5c6b0314d38f_cacdaddf-0bc3-45d7-a216-536819a343e3.webp?v=1714720465","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72434169bd95494c59c94eb02a378c9c9ade27e6_74f712df-701a-4c06-a3ed-fa813428ffce.webp?v=1714720468","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c7346679c2aa5b601b718a230c423134c550e17_8f23dcf4-b760-4328-be67-9ee2b75af27c.webp?v=1714720471","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79c6c22ff07782c76abdbe2d6cc0ce64c719cce6_97ef5823-adc3-4c75-adca-5622cf4326c5.webp?v=1714720473","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/304df7b312b02b63291a51b5e72471f3bfdedbb9_325e44bd-9a95-43e6-8011-f8c4fb5d579c.webp?v=1714720476","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d489f6b714252df290f16328a01d91356fd6f62_24b3158d-a558-4c1c-9125-a9ad518fb56b.webp?v=1714720478","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eecdcaf479a2bb075f1a6998facb57a4d00e3eae_1d7da31c-ee7f-4a36-bf71-a4fef3ffa8cc.webp?v=1714720481","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ddee1d8ec48fe8ece2446f15ccfaa944ce1ac75_3745c154-e5e9-40a5-b64a-2a04e280d411.webp?v=1714720483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c32bf76bd4b765b8a0148650660081e99827cf0_00c09ae9-17d3-470d-8aa6-0bba1f48dd87.webp?v=1714720486","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dbf60dc1654ccf28ab1b4a676fc1696b36bbb1c_57ddf20d-7c99-4f87-93cb-e7f5ef734c5f.webp?v=1714720488"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0666e0196ca5d628a7e883d00ba32afd73c4e63d_4d9d7062-d749-4a34-8c10-196b511ef7db.webp?v=1714720463","options":["color"],"media":[{"alt":null,"id":23877016027235,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0666e0196ca5d628a7e883d00ba32afd73c4e63d_4d9d7062-d749-4a34-8c10-196b511ef7db.webp?v=1714720463"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0666e0196ca5d628a7e883d00ba32afd73c4e63d_4d9d7062-d749-4a34-8c10-196b511ef7db.webp?v=1714720463","width":2000},{"alt":null,"id":23877016420451,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e38af9e2164fa860a0f571e9dafb5c6b0314d38f_cacdaddf-0bc3-45d7-a216-536819a343e3.webp?v=1714720465"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e38af9e2164fa860a0f571e9dafb5c6b0314d38f_cacdaddf-0bc3-45d7-a216-536819a343e3.webp?v=1714720465","width":2000},{"alt":null,"id":23877016944739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72434169bd95494c59c94eb02a378c9c9ade27e6_74f712df-701a-4c06-a3ed-fa813428ffce.webp?v=1714720468"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72434169bd95494c59c94eb02a378c9c9ade27e6_74f712df-701a-4c06-a3ed-fa813428ffce.webp?v=1714720468","width":2000},{"alt":null,"id":23877017567331,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c7346679c2aa5b601b718a230c423134c550e17_8f23dcf4-b760-4328-be67-9ee2b75af27c.webp?v=1714720471"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2c7346679c2aa5b601b718a230c423134c550e17_8f23dcf4-b760-4328-be67-9ee2b75af27c.webp?v=1714720471","width":2000},{"alt":null,"id":23877018157155,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79c6c22ff07782c76abdbe2d6cc0ce64c719cce6_97ef5823-adc3-4c75-adca-5622cf4326c5.webp?v=1714720473"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79c6c22ff07782c76abdbe2d6cc0ce64c719cce6_97ef5823-adc3-4c75-adca-5622cf4326c5.webp?v=1714720473","width":2000},{"alt":null,"id":23877019041891,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/304df7b312b02b63291a51b5e72471f3bfdedbb9_325e44bd-9a95-43e6-8011-f8c4fb5d579c.webp?v=1714720476"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/304df7b312b02b63291a51b5e72471f3bfdedbb9_325e44bd-9a95-43e6-8011-f8c4fb5d579c.webp?v=1714720476","width":2000},{"alt":null,"id":23877019533411,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d489f6b714252df290f16328a01d91356fd6f62_24b3158d-a558-4c1c-9125-a9ad518fb56b.webp?v=1714720478"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d489f6b714252df290f16328a01d91356fd6f62_24b3158d-a558-4c1c-9125-a9ad518fb56b.webp?v=1714720478","width":2000},{"alt":null,"id":23877020057699,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eecdcaf479a2bb075f1a6998facb57a4d00e3eae_1d7da31c-ee7f-4a36-bf71-a4fef3ffa8cc.webp?v=1714720481"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eecdcaf479a2bb075f1a6998facb57a4d00e3eae_1d7da31c-ee7f-4a36-bf71-a4fef3ffa8cc.webp?v=1714720481","width":2000},{"alt":null,"id":23877020713059,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ddee1d8ec48fe8ece2446f15ccfaa944ce1ac75_3745c154-e5e9-40a5-b64a-2a04e280d411.webp?v=1714720483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ddee1d8ec48fe8ece2446f15ccfaa944ce1ac75_3745c154-e5e9-40a5-b64a-2a04e280d411.webp?v=1714720483","width":2000},{"alt":null,"id":23877021204579,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c32bf76bd4b765b8a0148650660081e99827cf0_00c09ae9-17d3-470d-8aa6-0bba1f48dd87.webp?v=1714720486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c32bf76bd4b765b8a0148650660081e99827cf0_00c09ae9-17d3-470d-8aa6-0bba1f48dd87.webp?v=1714720486","width":2000},{"alt":null,"id":23877021827171,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dbf60dc1654ccf28ab1b4a676fc1696b36bbb1c_57ddf20d-7c99-4f87-93cb-e7f5ef734c5f.webp?v=1714720488"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dbf60dc1654ccf28ab1b4a676fc1696b36bbb1c_57ddf20d-7c99-4f87-93cb-e7f5ef734c5f.webp?v=1714720488","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41884793602147,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31472105816163,"product_id":7408375758947,"position":10,"created_at":"2024-05-03T15:14:46+08:00","updated_at":"2024-05-03T15:14:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c32bf76bd4b765b8a0148650660081e99827cf0_00c09ae9-17d3-470d-8aa6-0bba1f48dd87.webp?v=1714720486","variant_ids":[41884793602147]},"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-PB98","featured_media":{"alt":null,"id":23877021204579,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c32bf76bd4b765b8a0148650660081e99827cf0_00c09ae9-17d3-470d-8aa6-0bba1f48dd87.webp?v=1714720486"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41884793602147,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PB98","requires_shipping":true,"taxable":true,"featured_image":{"id":31472105816163,"product_id":7408375758947,"position":10,"created_at":"2024-05-03T15:14:46+08:00","updated_at":"2024-05-03T15:14:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c32bf76bd4b765b8a0148650660081e99827cf0_00c09ae9-17d3-470d-8aa6-0bba1f48dd87.webp?v=1714720486","variant_ids":[41884793602147]},"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-PB98","featured_media":{"alt":null,"id":23877021204579,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c32bf76bd4b765b8a0148650660081e99827cf0_00c09ae9-17d3-470d-8aa6-0bba1f48dd87.webp?v=1714720486"}},"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: "停產"
}