Home
›
犀牛盾SolidSuit手機殼 - iPhone XS Max - 【聯名設計款】 - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險
$product = {"id":6978218754147,"title":"犀牛盾SolidSuit手機殼 - iPhone XS Max - 【聯名設計款】 - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險","handle":"iphone-xs-max-solidsuit-classic-sz05","description":null,"published_at":"2024-02-26T10:45:49+08:00","created_at":"2023-07-22T23:30:55+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit專區華納兄弟百年慶典 Warner Bros 100th Anniversary","tags":["20%","20240304-reseller-\u003ereplace_to-","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-warnerbros100","device-iPhone XS Max","merge","reseller-solidsuit-warnerbros100","solidsuit","Top50","type-Solidsuit"],"price":98000,"price_min":98000,"price_max":98000,"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":40570188005475,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0108652-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":30976140738659,"product_id":6978218754147,"position":4,"created_at":"2024-02-26T10:08:46+08:00","updated_at":"2024-02-26T10:08:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/510b03258f671e8c6891ce3cd2e03ea3beda1197.webp?v=1708913326","variant_ids":[40570188005475]},"available":true,"name":"犀牛盾SolidSuit手機殼 - iPhone XS Max - 【聯名設計款】 - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Black","public_title":"Black","options":["Black"],"price":98000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0108652-SZ05","featured_media":{"alt":null,"id":23352518344803,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/510b03258f671e8c6891ce3cd2e03ea3beda1197.webp?v=1708913326"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/672bad7564850c7888c1ca9d69145fccaf782789.webp?v=1708913319","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c037760876a58bcb56904c4f03353f157ff33d59.webp?v=1708913321","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db13b0e058110d0bf65f12a5b25305be7e266c78.webp?v=1708913324","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/510b03258f671e8c6891ce3cd2e03ea3beda1197.webp?v=1708913326","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20ca5c0ebebc652be7ec32c363f5b7e2e87f858f.webp?v=1708913329","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8af6c02766c7682f05d7074869183a4e6ef277b.webp?v=1708913331","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/110702ed19f1f588030f5a80fb5e70ce4adf939a.webp?v=1708913334"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/672bad7564850c7888c1ca9d69145fccaf782789.webp?v=1708913319","options":["color"],"media":[{"alt":null,"id":23352516771939,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/672bad7564850c7888c1ca9d69145fccaf782789.webp?v=1708913319"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/672bad7564850c7888c1ca9d69145fccaf782789.webp?v=1708913319","width":2000},{"alt":null,"id":23352517132387,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c037760876a58bcb56904c4f03353f157ff33d59.webp?v=1708913321"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c037760876a58bcb56904c4f03353f157ff33d59.webp?v=1708913321","width":2000},{"alt":null,"id":23352517754979,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db13b0e058110d0bf65f12a5b25305be7e266c78.webp?v=1708913324"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db13b0e058110d0bf65f12a5b25305be7e266c78.webp?v=1708913324","width":2000},{"alt":null,"id":23352518344803,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/510b03258f671e8c6891ce3cd2e03ea3beda1197.webp?v=1708913326"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/510b03258f671e8c6891ce3cd2e03ea3beda1197.webp?v=1708913326","width":2000},{"alt":null,"id":23352518869091,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20ca5c0ebebc652be7ec32c363f5b7e2e87f858f.webp?v=1708913329"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20ca5c0ebebc652be7ec32c363f5b7e2e87f858f.webp?v=1708913329","width":2000},{"alt":null,"id":23352519426147,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8af6c02766c7682f05d7074869183a4e6ef277b.webp?v=1708913331"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8af6c02766c7682f05d7074869183a4e6ef277b.webp?v=1708913331","width":2000},{"alt":null,"id":23352519819363,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/110702ed19f1f588030f5a80fb5e70ce4adf939a.webp?v=1708913334"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/110702ed19f1f588030f5a80fb5e70ce4adf939a.webp?v=1708913334","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":40570188005475,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0108652-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":30976140738659,"product_id":6978218754147,"position":4,"created_at":"2024-02-26T10:08:46+08:00","updated_at":"2024-02-26T10:08:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/510b03258f671e8c6891ce3cd2e03ea3beda1197.webp?v=1708913326","variant_ids":[40570188005475]},"available":true,"name":"犀牛盾SolidSuit手機殼 - iPhone XS Max - 【聯名設計款】 - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Black","public_title":"Black","options":["Black"],"price":98000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0108652-SZ05","featured_media":{"alt":null,"id":23352518344803,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/510b03258f671e8c6891ce3cd2e03ea3beda1197.webp?v=1708913326"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":40570188005475,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0108652-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":30976140738659,"product_id":6978218754147,"position":4,"created_at":"2024-02-26T10:08:46+08:00","updated_at":"2024-02-26T10:08:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/510b03258f671e8c6891ce3cd2e03ea3beda1197.webp?v=1708913326","variant_ids":[40570188005475]},"available":true,"name":"犀牛盾SolidSuit手機殼 - iPhone XS Max - 【聯名設計款】 - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Black","public_title":"Black","options":["Black"],"price":98000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0108652-SZ05","featured_media":{"alt":null,"id":23352518344803,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/510b03258f671e8c6891ce3cd2e03ea3beda1197.webp?v=1708913326"}},"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: "停產"
}