Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Look - 人在做 大堡礁在看
$product = {"id":7415920132195,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Look - 人在做 大堡礁在看","handle":"iphone-xs-max-mod-nx-printable-af07","description":null,"published_at":"2024-06-11T16:47:57+08:00","created_at":"2024-05-06T12:25:05+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Look","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-look","device-iPhone XS Max","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-look","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":41915541291107,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-AF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31490736324707,"product_id":7415920132195,"position":2,"created_at":"2024-05-06T12:25:10+08:00","updated_at":"2024-05-06T12:25:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c5a3165a9162a7be6dcf918ca75d9cd6a74690_a72ce5a8-218a-4dca-8ab3-dea20058d4b5.webp?v=1714969510","variant_ids":[41915541291107]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Look - 人在做 大堡礁在看 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108624-AF07","featured_media":{"alt":null,"id":23896143069283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c5a3165a9162a7be6dcf918ca75d9cd6a74690_a72ce5a8-218a-4dca-8ab3-dea20058d4b5.webp?v=1714969510"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/751e3aa997cc7da1e8b847ba6ad7f45fc2582ad3_ffd39e2d-8b2f-4a42-b3fd-e161ac2b8b63.webp?v=1714969507","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c5a3165a9162a7be6dcf918ca75d9cd6a74690_a72ce5a8-218a-4dca-8ab3-dea20058d4b5.webp?v=1714969510","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3efc82acb46dbcea575e3b6b3f1d98c731b6da73_59e9ba29-aba5-4007-9c6c-19f2d2a02252.webp?v=1714969513","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11ec17ab47ad979f3494ab67d5f6615b147caa25_2676d35e-899f-4b0c-b2d4-faa5275e99c4.webp?v=1714969515","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e68de3366025d633ad03be69f4428c8f99c7259_f8e651ea-8e70-4b8b-bd7e-50a8d7449f1a.webp?v=1714969518","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/276cb6054bc6655df32040dd56f8214feb2e19d6_b4fe4a6e-aaec-4b4e-963d-77bd6dff8013.webp?v=1714969521","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/617a358187afe4e51afef4358ee0e6b13b59d670_27e5d721-7f9d-4bea-97f1-fdbdf66d38f3.webp?v=1714969524","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65da7f05d05fe2b39aa1dc4854368eda465d8739_aa74912d-0bda-48e6-90ac-478ad89d1709.webp?v=1714969526","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcc38d355290d812dd6e3eaf560b210a6889fa3e_bbc6296a-4e3d-4218-9cf6-61b501b98a3f.webp?v=1714969529","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ddc8a6b4a931942799d0714afcbdd796b3d7c5_fb50975f-c556-4e64-86a4-aba454db51ca.webp?v=1714969532"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/751e3aa997cc7da1e8b847ba6ad7f45fc2582ad3_ffd39e2d-8b2f-4a42-b3fd-e161ac2b8b63.webp?v=1714969507","options":["color"],"media":[{"alt":null,"id":23896142577763,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/751e3aa997cc7da1e8b847ba6ad7f45fc2582ad3_ffd39e2d-8b2f-4a42-b3fd-e161ac2b8b63.webp?v=1714969507"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/751e3aa997cc7da1e8b847ba6ad7f45fc2582ad3_ffd39e2d-8b2f-4a42-b3fd-e161ac2b8b63.webp?v=1714969507","width":2000},{"alt":null,"id":23896143069283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c5a3165a9162a7be6dcf918ca75d9cd6a74690_a72ce5a8-218a-4dca-8ab3-dea20058d4b5.webp?v=1714969510"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c5a3165a9162a7be6dcf918ca75d9cd6a74690_a72ce5a8-218a-4dca-8ab3-dea20058d4b5.webp?v=1714969510","width":2000},{"alt":null,"id":23896143659107,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3efc82acb46dbcea575e3b6b3f1d98c731b6da73_59e9ba29-aba5-4007-9c6c-19f2d2a02252.webp?v=1714969513"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3efc82acb46dbcea575e3b6b3f1d98c731b6da73_59e9ba29-aba5-4007-9c6c-19f2d2a02252.webp?v=1714969513","width":2000},{"alt":null,"id":23896144347235,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11ec17ab47ad979f3494ab67d5f6615b147caa25_2676d35e-899f-4b0c-b2d4-faa5275e99c4.webp?v=1714969515"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11ec17ab47ad979f3494ab67d5f6615b147caa25_2676d35e-899f-4b0c-b2d4-faa5275e99c4.webp?v=1714969515","width":2000},{"alt":null,"id":23896144674915,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e68de3366025d633ad03be69f4428c8f99c7259_f8e651ea-8e70-4b8b-bd7e-50a8d7449f1a.webp?v=1714969518"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e68de3366025d633ad03be69f4428c8f99c7259_f8e651ea-8e70-4b8b-bd7e-50a8d7449f1a.webp?v=1714969518","width":2000},{"alt":null,"id":23896145592419,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/276cb6054bc6655df32040dd56f8214feb2e19d6_b4fe4a6e-aaec-4b4e-963d-77bd6dff8013.webp?v=1714969521"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/276cb6054bc6655df32040dd56f8214feb2e19d6_b4fe4a6e-aaec-4b4e-963d-77bd6dff8013.webp?v=1714969521","width":2000},{"alt":null,"id":23896146444387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/617a358187afe4e51afef4358ee0e6b13b59d670_27e5d721-7f9d-4bea-97f1-fdbdf66d38f3.webp?v=1714969524"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/617a358187afe4e51afef4358ee0e6b13b59d670_27e5d721-7f9d-4bea-97f1-fdbdf66d38f3.webp?v=1714969524","width":2000},{"alt":null,"id":23896147034211,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65da7f05d05fe2b39aa1dc4854368eda465d8739_aa74912d-0bda-48e6-90ac-478ad89d1709.webp?v=1714969526"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65da7f05d05fe2b39aa1dc4854368eda465d8739_aa74912d-0bda-48e6-90ac-478ad89d1709.webp?v=1714969526","width":2000},{"alt":null,"id":23896147427427,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcc38d355290d812dd6e3eaf560b210a6889fa3e_bbc6296a-4e3d-4218-9cf6-61b501b98a3f.webp?v=1714969529"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcc38d355290d812dd6e3eaf560b210a6889fa3e_bbc6296a-4e3d-4218-9cf6-61b501b98a3f.webp?v=1714969529","width":2000},{"alt":null,"id":23896148246627,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ddc8a6b4a931942799d0714afcbdd796b3d7c5_fb50975f-c556-4e64-86a4-aba454db51ca.webp?v=1714969532"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/57ddc8a6b4a931942799d0714afcbdd796b3d7c5_fb50975f-c556-4e64-86a4-aba454db51ca.webp?v=1714969532","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41915541291107,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-AF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31490736324707,"product_id":7415920132195,"position":2,"created_at":"2024-05-06T12:25:10+08:00","updated_at":"2024-05-06T12:25:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c5a3165a9162a7be6dcf918ca75d9cd6a74690_a72ce5a8-218a-4dca-8ab3-dea20058d4b5.webp?v=1714969510","variant_ids":[41915541291107]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Look - 人在做 大堡礁在看 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108624-AF07","featured_media":{"alt":null,"id":23896143069283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c5a3165a9162a7be6dcf918ca75d9cd6a74690_a72ce5a8-218a-4dca-8ab3-dea20058d4b5.webp?v=1714969510"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41915541291107,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-AF07","requires_shipping":true,"taxable":true,"featured_image":{"id":31490736324707,"product_id":7415920132195,"position":2,"created_at":"2024-05-06T12:25:10+08:00","updated_at":"2024-05-06T12:25:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c5a3165a9162a7be6dcf918ca75d9cd6a74690_a72ce5a8-218a-4dca-8ab3-dea20058d4b5.webp?v=1714969510","variant_ids":[41915541291107]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Look - 人在做 大堡礁在看 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":860,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0108624-AF07","featured_media":{"alt":null,"id":23896143069283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c2c5a3165a9162a7be6dcf918ca75d9cd6a74690_a72ce5a8-218a-4dca-8ab3-dea20058d4b5.webp?v=1714969510"}},"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: "停產"
}