$product = {"id":7369090891875,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 Pro Max - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險","handle":"iphone-12-pro-max-mod-nx-magsafe-printable-sz05","description":null,"published_at":"2024-06-11T17:31:03+08:00","created_at":"2024-04-23T14:43:18+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區華納兄弟百年慶典 Warner Bros 100th Anniversary","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-warnerbros100","device-iPhone 12 pro max","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-warnerbros100","Top50","type-Mod NX Printable MagSafe Printable"],"price":110000,"price_min":110000,"price_max":110000,"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":41792772866147,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118724-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386658472035,"product_id":7369090891875,"position":9,"created_at":"2024-04-23T14:43:36+08:00","updated_at":"2024-04-23T14:43:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de74f09dc8bcb7a65f1331563a2b2105d4002bc7_8591ed8d-174b-4432-9407-cb2a91cabad6.webp?v=1713854616","variant_ids":[41792772866147]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 Pro Max - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-SZ05","featured_media":{"alt":null,"id":23788892192867,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de74f09dc8bcb7a65f1331563a2b2105d4002bc7_8591ed8d-174b-4432-9407-cb2a91cabad6.webp?v=1713854616"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3948a81b9b1cb852bbf2b944240314e92ffa406a_d6b70e6c-e8b3-4d48-94cc-79f08e84460f.webp?v=1713854600","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0d723b85e9a80f75def7c23aec4b2432119f65e_d07d32ea-df4b-4b06-b49d-e2f0b3ff2f9a.webp?v=1713854603","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6d2610ac110c6463645883636d0dcf718f30530_575d9d6c-b429-4779-8dcf-21f9680a9fa5.webp?v=1713854605","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5159325f60e66fdb9af46ef6cd604ed9f876baf8_eb897322-ee3a-4649-b148-403a5edfbc6d.webp?v=1713854607","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c88847a3589f6b921427a05eb682d0adb733f5d8_b6a1d264-0032-46ed-9234-7da7ade97876.webp?v=1713854608","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bfdcfceadf0dc2b98c27d35d24e65e926815d4f_f491240a-77b7-40a5-9cf6-18d1bef6d0b3.webp?v=1713854610","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67f619669289ef952554ebb60ad509265e45d46c_78b5e408-0dfc-4cac-afbb-496c8d4aa317.webp?v=1713854612","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e38a06667bf5453f98b6811359261886023bda3_fa508b11-3bde-4560-8ea0-a637fa8b15c6.webp?v=1713854614","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de74f09dc8bcb7a65f1331563a2b2105d4002bc7_8591ed8d-174b-4432-9407-cb2a91cabad6.webp?v=1713854616","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52b8f17ac90fe4649284f69faa067f8cc468f44b_d7af1640-305c-4b02-ae11-b37f316098c2.webp?v=1713854618"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3948a81b9b1cb852bbf2b944240314e92ffa406a_d6b70e6c-e8b3-4d48-94cc-79f08e84460f.webp?v=1713854600","options":["color"],"media":[{"alt":null,"id":23788888096867,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3948a81b9b1cb852bbf2b944240314e92ffa406a_d6b70e6c-e8b3-4d48-94cc-79f08e84460f.webp?v=1713854600"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3948a81b9b1cb852bbf2b944240314e92ffa406a_d6b70e6c-e8b3-4d48-94cc-79f08e84460f.webp?v=1713854600","width":2000},{"alt":null,"id":23788888981603,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0d723b85e9a80f75def7c23aec4b2432119f65e_d07d32ea-df4b-4b06-b49d-e2f0b3ff2f9a.webp?v=1713854603"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a0d723b85e9a80f75def7c23aec4b2432119f65e_d07d32ea-df4b-4b06-b49d-e2f0b3ff2f9a.webp?v=1713854603","width":2000},{"alt":null,"id":23788889505891,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6d2610ac110c6463645883636d0dcf718f30530_575d9d6c-b429-4779-8dcf-21f9680a9fa5.webp?v=1713854605"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e6d2610ac110c6463645883636d0dcf718f30530_575d9d6c-b429-4779-8dcf-21f9680a9fa5.webp?v=1713854605","width":2000},{"alt":null,"id":23788889833571,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5159325f60e66fdb9af46ef6cd604ed9f876baf8_eb897322-ee3a-4649-b148-403a5edfbc6d.webp?v=1713854607"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5159325f60e66fdb9af46ef6cd604ed9f876baf8_eb897322-ee3a-4649-b148-403a5edfbc6d.webp?v=1713854607","width":2000},{"alt":null,"id":23788890357859,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c88847a3589f6b921427a05eb682d0adb733f5d8_b6a1d264-0032-46ed-9234-7da7ade97876.webp?v=1713854608"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c88847a3589f6b921427a05eb682d0adb733f5d8_b6a1d264-0032-46ed-9234-7da7ade97876.webp?v=1713854608","width":2000},{"alt":null,"id":23788890882147,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bfdcfceadf0dc2b98c27d35d24e65e926815d4f_f491240a-77b7-40a5-9cf6-18d1bef6d0b3.webp?v=1713854610"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bfdcfceadf0dc2b98c27d35d24e65e926815d4f_f491240a-77b7-40a5-9cf6-18d1bef6d0b3.webp?v=1713854610","width":2000},{"alt":null,"id":23788891406435,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67f619669289ef952554ebb60ad509265e45d46c_78b5e408-0dfc-4cac-afbb-496c8d4aa317.webp?v=1713854612"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67f619669289ef952554ebb60ad509265e45d46c_78b5e408-0dfc-4cac-afbb-496c8d4aa317.webp?v=1713854612","width":2000},{"alt":null,"id":23788891799651,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e38a06667bf5453f98b6811359261886023bda3_fa508b11-3bde-4560-8ea0-a637fa8b15c6.webp?v=1713854614"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e38a06667bf5453f98b6811359261886023bda3_fa508b11-3bde-4560-8ea0-a637fa8b15c6.webp?v=1713854614","width":2000},{"alt":null,"id":23788892192867,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de74f09dc8bcb7a65f1331563a2b2105d4002bc7_8591ed8d-174b-4432-9407-cb2a91cabad6.webp?v=1713854616"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de74f09dc8bcb7a65f1331563a2b2105d4002bc7_8591ed8d-174b-4432-9407-cb2a91cabad6.webp?v=1713854616","width":2000},{"alt":null,"id":23788893012067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52b8f17ac90fe4649284f69faa067f8cc468f44b_d7af1640-305c-4b02-ae11-b37f316098c2.webp?v=1713854618"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52b8f17ac90fe4649284f69faa067f8cc468f44b_d7af1640-305c-4b02-ae11-b37f316098c2.webp?v=1713854618","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41792772866147,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118724-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386658472035,"product_id":7369090891875,"position":9,"created_at":"2024-04-23T14:43:36+08:00","updated_at":"2024-04-23T14:43:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de74f09dc8bcb7a65f1331563a2b2105d4002bc7_8591ed8d-174b-4432-9407-cb2a91cabad6.webp?v=1713854616","variant_ids":[41792772866147]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 Pro Max - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-SZ05","featured_media":{"alt":null,"id":23788892192867,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de74f09dc8bcb7a65f1331563a2b2105d4002bc7_8591ed8d-174b-4432-9407-cb2a91cabad6.webp?v=1713854616"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41792772866147,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0118724-SZ05","requires_shipping":true,"taxable":true,"featured_image":{"id":31386658472035,"product_id":7369090891875,"position":9,"created_at":"2024-04-23T14:43:36+08:00","updated_at":"2024-04-23T14:43:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de74f09dc8bcb7a65f1331563a2b2105d4002bc7_8591ed8d-174b-4432-9407-cb2a91cabad6.webp?v=1713854616","variant_ids":[41792772866147]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 12 Pro Max - 華納兄弟百年慶典 Warner Bros 100th Anniversary - Mashup系列 - 湯姆貓與傑利鼠大冒險 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-SZ05","featured_media":{"alt":null,"id":23788892192867,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de74f09dc8bcb7a65f1331563a2b2105d4002bc7_8591ed8d-174b-4432-9407-cb2a91cabad6.webp?v=1713854616"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(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: "停產"
}