Home
›
犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8
$product = {"id":7408513253475,"title":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8","handle":"iphone-12-mini-mod-nx-printable-pc04","description":null,"published_at":"2024-06-11T16:39:21+08:00","created_at":"2024-05-03T15:41:19+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":41886335205475,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PC04","requires_shipping":true,"taxable":true,"featured_image":{"id":31472469311587,"product_id":7408513253475,"position":4,"created_at":"2024-05-03T15:41:28+08:00","updated_at":"2024-05-03T15:41:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/008b080a2c0e31c7641e242c2811d2d0e99c4d96_11808e0e-8d89-4a14-8265-06361042ec82.webp?v=1714722088","variant_ids":[41886335205475]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8 - 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-PC04","featured_media":{"alt":null,"id":23877386502243,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/008b080a2c0e31c7641e242c2811d2d0e99c4d96_11808e0e-8d89-4a14-8265-06361042ec82.webp?v=1714722088"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c3578a2fdf2ca26baaaf3092c67ce1826dba896_2a46bd73-cd62-472b-a50c-31d891d35b9d.webp?v=1714722081","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e275e249248b095c48c6c1e79532dbd852e089e_bcefcd2a-1860-43d5-b4b8-18e32c9bb7a7.webp?v=1714722084","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecc6e5969bf21d8a6863ab57339de36d68075f30_0b5ebac2-eb47-43df-ad26-384fc48e8f5a.webp?v=1714722086","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/008b080a2c0e31c7641e242c2811d2d0e99c4d96_11808e0e-8d89-4a14-8265-06361042ec82.webp?v=1714722088","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db6d08425d34e412d291f1f50045df4a1b4c84c4_b2dc0d30-3abb-4f62-b9dc-983d08f7f8cd.webp?v=1714722091","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0575fb08c6a614d185d3f39431226ca31873ddbc_704ac0ac-eaf6-49f7-8526-b92c69576c13.webp?v=1714722093","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80b1ea0300b4ce88555446b8617f68cc73187f96_e7eef1f8-5323-4ce4-b718-10dcb23eab08.webp?v=1714722095","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6358213065128162b135769e1ff046653ab3d20f_6f2774da-ac65-47cd-aa39-3efca7ce1b96.webp?v=1714722098","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb8a221aa974604ff7bf523f0e196045fb503870_b0b3e824-c659-4dbe-a767-9f55e262fcbf.webp?v=1714722100","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3f96fb396e8b4d1e84f9de12f5e198d0d50f3b0_f3f5cd9a-03c0-4c6f-8a77-3a8f3ee390e3.webp?v=1714722103","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e26f00f1aea8169e0dd237b71bbf30d5efd248f3_93cf269a-edb0-4330-83b9-3d65afb912dd.webp?v=1714722105"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c3578a2fdf2ca26baaaf3092c67ce1826dba896_2a46bd73-cd62-472b-a50c-31d891d35b9d.webp?v=1714722081","options":["color"],"media":[{"alt":null,"id":23877384732771,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c3578a2fdf2ca26baaaf3092c67ce1826dba896_2a46bd73-cd62-472b-a50c-31d891d35b9d.webp?v=1714722081"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c3578a2fdf2ca26baaaf3092c67ce1826dba896_2a46bd73-cd62-472b-a50c-31d891d35b9d.webp?v=1714722081","width":2000},{"alt":null,"id":23877385289827,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e275e249248b095c48c6c1e79532dbd852e089e_bcefcd2a-1860-43d5-b4b8-18e32c9bb7a7.webp?v=1714722084"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e275e249248b095c48c6c1e79532dbd852e089e_bcefcd2a-1860-43d5-b4b8-18e32c9bb7a7.webp?v=1714722084","width":2000},{"alt":null,"id":23877385945187,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecc6e5969bf21d8a6863ab57339de36d68075f30_0b5ebac2-eb47-43df-ad26-384fc48e8f5a.webp?v=1714722086"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecc6e5969bf21d8a6863ab57339de36d68075f30_0b5ebac2-eb47-43df-ad26-384fc48e8f5a.webp?v=1714722086","width":2000},{"alt":null,"id":23877386502243,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/008b080a2c0e31c7641e242c2811d2d0e99c4d96_11808e0e-8d89-4a14-8265-06361042ec82.webp?v=1714722088"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/008b080a2c0e31c7641e242c2811d2d0e99c4d96_11808e0e-8d89-4a14-8265-06361042ec82.webp?v=1714722088","width":2000},{"alt":null,"id":23877387092067,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db6d08425d34e412d291f1f50045df4a1b4c84c4_b2dc0d30-3abb-4f62-b9dc-983d08f7f8cd.webp?v=1714722091"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db6d08425d34e412d291f1f50045df4a1b4c84c4_b2dc0d30-3abb-4f62-b9dc-983d08f7f8cd.webp?v=1714722091","width":2000},{"alt":null,"id":23877387649123,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0575fb08c6a614d185d3f39431226ca31873ddbc_704ac0ac-eaf6-49f7-8526-b92c69576c13.webp?v=1714722093"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0575fb08c6a614d185d3f39431226ca31873ddbc_704ac0ac-eaf6-49f7-8526-b92c69576c13.webp?v=1714722093","width":2000},{"alt":null,"id":23877388271715,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80b1ea0300b4ce88555446b8617f68cc73187f96_e7eef1f8-5323-4ce4-b718-10dcb23eab08.webp?v=1714722095"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80b1ea0300b4ce88555446b8617f68cc73187f96_e7eef1f8-5323-4ce4-b718-10dcb23eab08.webp?v=1714722095","width":2000},{"alt":null,"id":23877388730467,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6358213065128162b135769e1ff046653ab3d20f_6f2774da-ac65-47cd-aa39-3efca7ce1b96.webp?v=1714722098"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6358213065128162b135769e1ff046653ab3d20f_6f2774da-ac65-47cd-aa39-3efca7ce1b96.webp?v=1714722098","width":2000},{"alt":null,"id":23877389353059,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb8a221aa974604ff7bf523f0e196045fb503870_b0b3e824-c659-4dbe-a767-9f55e262fcbf.webp?v=1714722100"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb8a221aa974604ff7bf523f0e196045fb503870_b0b3e824-c659-4dbe-a767-9f55e262fcbf.webp?v=1714722100","width":2000},{"alt":null,"id":23877389877347,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3f96fb396e8b4d1e84f9de12f5e198d0d50f3b0_f3f5cd9a-03c0-4c6f-8a77-3a8f3ee390e3.webp?v=1714722103"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3f96fb396e8b4d1e84f9de12f5e198d0d50f3b0_f3f5cd9a-03c0-4c6f-8a77-3a8f3ee390e3.webp?v=1714722103","width":2000},{"alt":null,"id":23877390532707,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e26f00f1aea8169e0dd237b71bbf30d5efd248f3_93cf269a-edb0-4330-83b9-3d65afb912dd.webp?v=1714722105"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e26f00f1aea8169e0dd237b71bbf30d5efd248f3_93cf269a-edb0-4330-83b9-3d65afb912dd.webp?v=1714722105","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41886335205475,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PC04","requires_shipping":true,"taxable":true,"featured_image":{"id":31472469311587,"product_id":7408513253475,"position":4,"created_at":"2024-05-03T15:41:28+08:00","updated_at":"2024-05-03T15:41:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/008b080a2c0e31c7641e242c2811d2d0e99c4d96_11808e0e-8d89-4a14-8265-06361042ec82.webp?v=1714722088","variant_ids":[41886335205475]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8 - 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-PC04","featured_media":{"alt":null,"id":23877386502243,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/008b080a2c0e31c7641e242c2811d2d0e99c4d96_11808e0e-8d89-4a14-8265-06361042ec82.webp?v=1714722088"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41886335205475,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0118424-PC04","requires_shipping":true,"taxable":true,"featured_image":{"id":31472469311587,"product_id":7408513253475,"position":4,"created_at":"2024-05-03T15:41:28+08:00","updated_at":"2024-05-03T15:41:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/008b080a2c0e31c7641e242c2811d2d0e99c4d96_11808e0e-8d89-4a14-8265-06361042ec82.webp?v=1714722088","variant_ids":[41886335205475]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 12 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8 - 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-PC04","featured_media":{"alt":null,"id":23877386502243,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/008b080a2c0e31c7641e242c2811d2d0e99c4d96_11808e0e-8d89-4a14-8265-06361042ec82.webp?v=1714722088"}},"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: "停產"
}