Home
›
犀牛盾Mod NX手機殼 - iPhone XS - 【聯名設計款】 - 1G - J個好
$product = {"id":7415931371619,"title":"犀牛盾Mod NX手機殼 - iPhone XS - 【聯名設計款】 - 1G - J個好","handle":"iphone-xs-mod-nx-printable-iv08","description":null,"published_at":"2024-06-11T16:48:14+08:00","created_at":"2024-05-06T12:27:07+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-1G","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-1chun","device-iPhone XS","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-1chun","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":41915654570083,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108424-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":31490767683683,"product_id":7415931371619,"position":5,"created_at":"2024-05-06T12:27:19+08:00","updated_at":"2024-05-06T12:27:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec65887eab6fd3295b1b3ffbb72d5051b6d97071_3f4a8e62-abb5-47c5-adf1-61fc43be72e8.webp?v=1714969639","variant_ids":[41915654570083]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS - 【聯名設計款】 - 1G - J個好 - 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":"NPB0108424-IV08","featured_media":{"alt":null,"id":23896174493795,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec65887eab6fd3295b1b3ffbb72d5051b6d97071_3f4a8e62-abb5-47c5-adf1-61fc43be72e8.webp?v=1714969639"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69498d502eb4416d3c0ebb078f1e8d05e899d591_42b735d8-d707-4b3f-8435-958e53c897fa.webp?v=1714969629","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c379603d60abba2d2befd4696f6dc25bac44c23_6c585629-9bee-42d2-9065-7de92f79fb5d.webp?v=1714969632","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edb6917fde4887591835f0e1b50b364a2e6fe758_a45a9448-3628-4520-909d-edc6bb583711.webp?v=1714969634","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7faeb48ba3a49fe77cc8884e236251f3c196b8_1dac4436-cc3c-4c5c-b6aa-7146f256cb41.webp?v=1714969636","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec65887eab6fd3295b1b3ffbb72d5051b6d97071_3f4a8e62-abb5-47c5-adf1-61fc43be72e8.webp?v=1714969639","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d8f240e25c1e41cc839268374638fdf093fdaa8_7b23a66e-0457-4de1-9dae-e172b151f1da.webp?v=1714969641","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecdf38ea5e2c0b788b2292ba0d430fda5863e9a7_c877953f-5683-4084-acbc-353406720d6a.webp?v=1714969644","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a496354e08180369683bc4a929056b305f7108e_99b51f18-792a-4e29-af0f-3f26ee921e54.webp?v=1714969646","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6b27c028ebcfd849e8a14267b4ee82858198efb_371e9fa2-3da5-47a7-a469-d824cb57ca8b.webp?v=1714969649","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6424aa327912749468efb2efdf5d5310756e2f0_c9fd8541-02ef-42d0-a2fc-541502825a5f.webp?v=1714969651"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69498d502eb4416d3c0ebb078f1e8d05e899d591_42b735d8-d707-4b3f-8435-958e53c897fa.webp?v=1714969629","options":["color"],"media":[{"alt":null,"id":23896172888163,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69498d502eb4416d3c0ebb078f1e8d05e899d591_42b735d8-d707-4b3f-8435-958e53c897fa.webp?v=1714969629"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69498d502eb4416d3c0ebb078f1e8d05e899d591_42b735d8-d707-4b3f-8435-958e53c897fa.webp?v=1714969629","width":2000},{"alt":null,"id":23896173281379,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c379603d60abba2d2befd4696f6dc25bac44c23_6c585629-9bee-42d2-9065-7de92f79fb5d.webp?v=1714969632"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c379603d60abba2d2befd4696f6dc25bac44c23_6c585629-9bee-42d2-9065-7de92f79fb5d.webp?v=1714969632","width":2000},{"alt":null,"id":23896173641827,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edb6917fde4887591835f0e1b50b364a2e6fe758_a45a9448-3628-4520-909d-edc6bb583711.webp?v=1714969634"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edb6917fde4887591835f0e1b50b364a2e6fe758_a45a9448-3628-4520-909d-edc6bb583711.webp?v=1714969634","width":2000},{"alt":null,"id":23896173969507,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7faeb48ba3a49fe77cc8884e236251f3c196b8_1dac4436-cc3c-4c5c-b6aa-7146f256cb41.webp?v=1714969636"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce7faeb48ba3a49fe77cc8884e236251f3c196b8_1dac4436-cc3c-4c5c-b6aa-7146f256cb41.webp?v=1714969636","width":2000},{"alt":null,"id":23896174493795,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec65887eab6fd3295b1b3ffbb72d5051b6d97071_3f4a8e62-abb5-47c5-adf1-61fc43be72e8.webp?v=1714969639"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec65887eab6fd3295b1b3ffbb72d5051b6d97071_3f4a8e62-abb5-47c5-adf1-61fc43be72e8.webp?v=1714969639","width":2000},{"alt":null,"id":23896175149155,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d8f240e25c1e41cc839268374638fdf093fdaa8_7b23a66e-0457-4de1-9dae-e172b151f1da.webp?v=1714969641"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d8f240e25c1e41cc839268374638fdf093fdaa8_7b23a66e-0457-4de1-9dae-e172b151f1da.webp?v=1714969641","width":2000},{"alt":null,"id":23896175837283,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecdf38ea5e2c0b788b2292ba0d430fda5863e9a7_c877953f-5683-4084-acbc-353406720d6a.webp?v=1714969644"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecdf38ea5e2c0b788b2292ba0d430fda5863e9a7_c877953f-5683-4084-acbc-353406720d6a.webp?v=1714969644","width":2000},{"alt":null,"id":23896176230499,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a496354e08180369683bc4a929056b305f7108e_99b51f18-792a-4e29-af0f-3f26ee921e54.webp?v=1714969646"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a496354e08180369683bc4a929056b305f7108e_99b51f18-792a-4e29-af0f-3f26ee921e54.webp?v=1714969646","width":2000},{"alt":null,"id":23896176820323,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6b27c028ebcfd849e8a14267b4ee82858198efb_371e9fa2-3da5-47a7-a469-d824cb57ca8b.webp?v=1714969649"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a6b27c028ebcfd849e8a14267b4ee82858198efb_371e9fa2-3da5-47a7-a469-d824cb57ca8b.webp?v=1714969649","width":2000},{"alt":null,"id":23896177279075,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6424aa327912749468efb2efdf5d5310756e2f0_c9fd8541-02ef-42d0-a2fc-541502825a5f.webp?v=1714969651"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6424aa327912749468efb2efdf5d5310756e2f0_c9fd8541-02ef-42d0-a2fc-541502825a5f.webp?v=1714969651","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":41915654570083,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108424-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":31490767683683,"product_id":7415931371619,"position":5,"created_at":"2024-05-06T12:27:19+08:00","updated_at":"2024-05-06T12:27:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec65887eab6fd3295b1b3ffbb72d5051b6d97071_3f4a8e62-abb5-47c5-adf1-61fc43be72e8.webp?v=1714969639","variant_ids":[41915654570083]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS - 【聯名設計款】 - 1G - J個好 - 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":"NPB0108424-IV08","featured_media":{"alt":null,"id":23896174493795,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec65887eab6fd3295b1b3ffbb72d5051b6d97071_3f4a8e62-abb5-47c5-adf1-61fc43be72e8.webp?v=1714969639"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41915654570083,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108424-IV08","requires_shipping":true,"taxable":true,"featured_image":{"id":31490767683683,"product_id":7415931371619,"position":5,"created_at":"2024-05-06T12:27:19+08:00","updated_at":"2024-05-06T12:27:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec65887eab6fd3295b1b3ffbb72d5051b6d97071_3f4a8e62-abb5-47c5-adf1-61fc43be72e8.webp?v=1714969639","variant_ids":[41915654570083]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS - 【聯名設計款】 - 1G - J個好 - 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":"NPB0108424-IV08","featured_media":{"alt":null,"id":23896174493795,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec65887eab6fd3295b1b3ffbb72d5051b6d97071_3f4a8e62-abb5-47c5-adf1-61fc43be72e8.webp?v=1714969639"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(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: "停產"
}