Home
›
犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Care Bears - 粉紫樂園
$product = {"id":7416065687651,"title":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Care Bears - 粉紫樂園","handle":"iphone-xs-max-mod-nx-printable-yb13","description":null,"published_at":"2024-06-11T16:51:49+08:00","created_at":"2024-05-06T12:51:43+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Care Bears","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-carebears","device-iPhone XS Max","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-carebears","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":41917072867427,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31491128262755,"product_id":7416065687651,"position":8,"created_at":"2024-05-06T12:52:03+08:00","updated_at":"2024-05-06T12:52:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3413cb4f0d4b222fa4f041fe5a3a357f3271b5ed_63912786-2f88-421b-86bb-70d94135aa0d.webp?v=1714971123","variant_ids":[41917072867427]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Care Bears - 粉紫樂園 - 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-YB13","featured_media":{"alt":null,"id":23896535695459,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3413cb4f0d4b222fa4f041fe5a3a357f3271b5ed_63912786-2f88-421b-86bb-70d94135aa0d.webp?v=1714971123"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/164fd548be7fda3f2ef614dd8ab3e8ba5c8692fd_4baad159-5f2c-491e-be4e-bc680d17c8c1.webp?v=1714971105","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8642c3c7bf15849fb8733bf5c34907437dc60d2_df22060a-0023-41d6-8d0f-cb9bff161f39.webp?v=1714971108","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a995646d0d5b4d600cb874180064339f5b394292_2dff6e90-6616-4ca7-b027-7d5b7e752d71.webp?v=1714971110","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eef807ab229fc8da8412785f729d435032de081_491bff35-386e-4f64-86c6-e0d2a0403489.webp?v=1714971113","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15874eb2930f3b81fbf65a147a5cd3bf5db60f25_9fa495d4-400d-49f6-a607-aeab0ed6358f.webp?v=1714971115","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e4fa275b87b0ac97793f77522cfe6f0536bdc15_a3bbc3f0-62df-4845-8b2b-eb57ec7516ca.webp?v=1714971117","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f9396ee577df6eb2b2c450098c969f75825eae6_ccd5cb77-7799-4991-99f8-3dcc1042a9d4.webp?v=1714971120","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3413cb4f0d4b222fa4f041fe5a3a357f3271b5ed_63912786-2f88-421b-86bb-70d94135aa0d.webp?v=1714971123","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bb0abae890eed33a9719950a5c07e209f86092a_a0b6f601-8966-4ba9-87f2-f4156fb97070.webp?v=1714971125","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f257b6df4826ca5ee38bf3aeef2bbfa03b9a53a2_cd20762d-3158-4737-86f7-6d7d4b56f5f8.webp?v=1714971127"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/164fd548be7fda3f2ef614dd8ab3e8ba5c8692fd_4baad159-5f2c-491e-be4e-bc680d17c8c1.webp?v=1714971105","options":["color"],"media":[{"alt":null,"id":23896529731683,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/164fd548be7fda3f2ef614dd8ab3e8ba5c8692fd_4baad159-5f2c-491e-be4e-bc680d17c8c1.webp?v=1714971105"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/164fd548be7fda3f2ef614dd8ab3e8ba5c8692fd_4baad159-5f2c-491e-be4e-bc680d17c8c1.webp?v=1714971105","width":2000},{"alt":null,"id":23896530288739,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8642c3c7bf15849fb8733bf5c34907437dc60d2_df22060a-0023-41d6-8d0f-cb9bff161f39.webp?v=1714971108"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b8642c3c7bf15849fb8733bf5c34907437dc60d2_df22060a-0023-41d6-8d0f-cb9bff161f39.webp?v=1714971108","width":2000},{"alt":null,"id":23896530714723,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a995646d0d5b4d600cb874180064339f5b394292_2dff6e90-6616-4ca7-b027-7d5b7e752d71.webp?v=1714971110"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a995646d0d5b4d600cb874180064339f5b394292_2dff6e90-6616-4ca7-b027-7d5b7e752d71.webp?v=1714971110","width":2000},{"alt":null,"id":23896532254819,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eef807ab229fc8da8412785f729d435032de081_491bff35-386e-4f64-86c6-e0d2a0403489.webp?v=1714971113"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eef807ab229fc8da8412785f729d435032de081_491bff35-386e-4f64-86c6-e0d2a0403489.webp?v=1714971113","width":2000},{"alt":null,"id":23896532648035,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15874eb2930f3b81fbf65a147a5cd3bf5db60f25_9fa495d4-400d-49f6-a607-aeab0ed6358f.webp?v=1714971115"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15874eb2930f3b81fbf65a147a5cd3bf5db60f25_9fa495d4-400d-49f6-a607-aeab0ed6358f.webp?v=1714971115","width":2000},{"alt":null,"id":23896534220899,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e4fa275b87b0ac97793f77522cfe6f0536bdc15_a3bbc3f0-62df-4845-8b2b-eb57ec7516ca.webp?v=1714971117"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e4fa275b87b0ac97793f77522cfe6f0536bdc15_a3bbc3f0-62df-4845-8b2b-eb57ec7516ca.webp?v=1714971117","width":2000},{"alt":null,"id":23896534876259,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f9396ee577df6eb2b2c450098c969f75825eae6_ccd5cb77-7799-4991-99f8-3dcc1042a9d4.webp?v=1714971120"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f9396ee577df6eb2b2c450098c969f75825eae6_ccd5cb77-7799-4991-99f8-3dcc1042a9d4.webp?v=1714971120","width":2000},{"alt":null,"id":23896535695459,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3413cb4f0d4b222fa4f041fe5a3a357f3271b5ed_63912786-2f88-421b-86bb-70d94135aa0d.webp?v=1714971123"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3413cb4f0d4b222fa4f041fe5a3a357f3271b5ed_63912786-2f88-421b-86bb-70d94135aa0d.webp?v=1714971123","width":2000},{"alt":null,"id":23896536383587,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bb0abae890eed33a9719950a5c07e209f86092a_a0b6f601-8966-4ba9-87f2-f4156fb97070.webp?v=1714971125"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7bb0abae890eed33a9719950a5c07e209f86092a_a0b6f601-8966-4ba9-87f2-f4156fb97070.webp?v=1714971125","width":2000},{"alt":null,"id":23896537038947,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f257b6df4826ca5ee38bf3aeef2bbfa03b9a53a2_cd20762d-3158-4737-86f7-6d7d4b56f5f8.webp?v=1714971127"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f257b6df4826ca5ee38bf3aeef2bbfa03b9a53a2_cd20762d-3158-4737-86f7-6d7d4b56f5f8.webp?v=1714971127","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41917072867427,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31491128262755,"product_id":7416065687651,"position":8,"created_at":"2024-05-06T12:52:03+08:00","updated_at":"2024-05-06T12:52:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3413cb4f0d4b222fa4f041fe5a3a357f3271b5ed_63912786-2f88-421b-86bb-70d94135aa0d.webp?v=1714971123","variant_ids":[41917072867427]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Care Bears - 粉紫樂園 - 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-YB13","featured_media":{"alt":null,"id":23896535695459,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3413cb4f0d4b222fa4f041fe5a3a357f3271b5ed_63912786-2f88-421b-86bb-70d94135aa0d.webp?v=1714971123"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41917072867427,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0108624-YB13","requires_shipping":true,"taxable":true,"featured_image":{"id":31491128262755,"product_id":7416065687651,"position":8,"created_at":"2024-05-06T12:52:03+08:00","updated_at":"2024-05-06T12:52:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3413cb4f0d4b222fa4f041fe5a3a357f3271b5ed_63912786-2f88-421b-86bb-70d94135aa0d.webp?v=1714971123","variant_ids":[41917072867427]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone XS Max - 【聯名設計款】 - Care Bears - 粉紫樂園 - 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-YB13","featured_media":{"alt":null,"id":23896535695459,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3413cb4f0d4b222fa4f041fe5a3a357f3271b5ed_63912786-2f88-421b-86bb-70d94135aa0d.webp?v=1714971123"}},"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: "停產"
}