$product = {"id":7769941803107,"title":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Cat Dive - 跳水貓咪","handle":"iphone-12-pro-max-mod-nx-magsafe-printable-xf51","description":null,"published_at":"2025-04-16T13:22:05+08:00","created_at":"2025-04-15T22:22:43+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 12 Pro Max","merge","reseller-ilovedoodle"],"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":43304706441315,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-XF51","requires_shipping":true,"taxable":true,"featured_image":{"id":34197840298083,"product_id":7769941803107,"position":5,"created_at":"2025-07-16T15:23:22+08:00","updated_at":"2025-07-16T15:23:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f47605bdeba1515660cbf872e11aeaec8c843a_7bc6da5e-af42-4f94-8b8f-2d20846ab40c.webp?v=1752650604","variant_ids":[43304706441315]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Cat Dive - 跳水貓咪 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-XF51","featured_media":{"alt":null,"id":25830130319459,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f47605bdeba1515660cbf872e11aeaec8c843a_7bc6da5e-af42-4f94-8b8f-2d20846ab40c.webp?v=1752650604"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e3210e526b931ca669f9a4d06500583cbd977ba_719b574c-a97a-4b4c-a9db-ec221b4a7053.webp?v=1744726970","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d9f40cea1d261e8f3e3673bcb0f7d78fe5e398_2f40a2ee-4cfd-4e3c-85f5-46a85fc58d74.webp?v=1752650602","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c912dcf55b3002318b9a09a1e8ed446a3f120a64_d1bf83a1-3608-436b-9412-99e060fb8894.webp?v=1752650603","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75aa0e867d8aba88709b6220cfad61b855751743_b31fc3b8-cd7a-4e84-a10d-687640d6cafc.webp?v=1752650603","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f47605bdeba1515660cbf872e11aeaec8c843a_7bc6da5e-af42-4f94-8b8f-2d20846ab40c.webp?v=1752650604","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9c8459a17a024eb601d2969cc215bae5e75f7c4_7f19499a-b602-4d10-81ac-5cb1dad868e2.webp?v=1752650604","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04357ab478c9ec2398840f2bdd20479c04177f7f_bec0436f-9548-4332-a72e-42085813ece7.webp?v=1752650605","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ad85df911065704a1bf9be810ad1bb23fad833_5dc55a39-c0c6-4075-b694-cf1cb1c2914b.webp?v=1752650605","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a6e52b8de96bdd47e4849040497079cb20f054d_41cb1098-607f-46f1-bd0f-93e6186ba2c3.webp?v=1752650606","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7037b59b5b742cd969dd20b8d9d9f771198c3d98_8f8aea0b-c3d5-4cc8-b303-ecd1bfaac04e.webp?v=1752650607","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d914c6141319c4fed08fc05265f4770e529aafcd_a35d18be-a65d-4eb2-ade3-29da580fc016.webp?v=1752650607"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e3210e526b931ca669f9a4d06500583cbd977ba_719b574c-a97a-4b4c-a9db-ec221b4a7053.webp?v=1744726970","options":["color"],"media":[{"alt":null,"id":25496564007011,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e3210e526b931ca669f9a4d06500583cbd977ba_719b574c-a97a-4b4c-a9db-ec221b4a7053.webp?v=1744726970"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e3210e526b931ca669f9a4d06500583cbd977ba_719b574c-a97a-4b4c-a9db-ec221b4a7053.webp?v=1744726970","width":2000},{"alt":null,"id":25830129533027,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d9f40cea1d261e8f3e3673bcb0f7d78fe5e398_2f40a2ee-4cfd-4e3c-85f5-46a85fc58d74.webp?v=1752650602"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/09d9f40cea1d261e8f3e3673bcb0f7d78fe5e398_2f40a2ee-4cfd-4e3c-85f5-46a85fc58d74.webp?v=1752650602","width":2000},{"alt":null,"id":25830129762403,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c912dcf55b3002318b9a09a1e8ed446a3f120a64_d1bf83a1-3608-436b-9412-99e060fb8894.webp?v=1752650603"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c912dcf55b3002318b9a09a1e8ed446a3f120a64_d1bf83a1-3608-436b-9412-99e060fb8894.webp?v=1752650603","width":2000},{"alt":null,"id":25830130057315,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75aa0e867d8aba88709b6220cfad61b855751743_b31fc3b8-cd7a-4e84-a10d-687640d6cafc.webp?v=1752650603"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75aa0e867d8aba88709b6220cfad61b855751743_b31fc3b8-cd7a-4e84-a10d-687640d6cafc.webp?v=1752650603","width":2000},{"alt":null,"id":25830130319459,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f47605bdeba1515660cbf872e11aeaec8c843a_7bc6da5e-af42-4f94-8b8f-2d20846ab40c.webp?v=1752650604"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f47605bdeba1515660cbf872e11aeaec8c843a_7bc6da5e-af42-4f94-8b8f-2d20846ab40c.webp?v=1752650604","width":2000},{"alt":null,"id":25830130647139,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9c8459a17a024eb601d2969cc215bae5e75f7c4_7f19499a-b602-4d10-81ac-5cb1dad868e2.webp?v=1752650604"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9c8459a17a024eb601d2969cc215bae5e75f7c4_7f19499a-b602-4d10-81ac-5cb1dad868e2.webp?v=1752650604","width":2000},{"alt":null,"id":25830130974819,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04357ab478c9ec2398840f2bdd20479c04177f7f_bec0436f-9548-4332-a72e-42085813ece7.webp?v=1752650605"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04357ab478c9ec2398840f2bdd20479c04177f7f_bec0436f-9548-4332-a72e-42085813ece7.webp?v=1752650605","width":2000},{"alt":null,"id":25830131302499,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ad85df911065704a1bf9be810ad1bb23fad833_5dc55a39-c0c6-4075-b694-cf1cb1c2914b.webp?v=1752650605"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40ad85df911065704a1bf9be810ad1bb23fad833_5dc55a39-c0c6-4075-b694-cf1cb1c2914b.webp?v=1752650605","width":2000},{"alt":null,"id":25830131892323,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a6e52b8de96bdd47e4849040497079cb20f054d_41cb1098-607f-46f1-bd0f-93e6186ba2c3.webp?v=1752650606"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a6e52b8de96bdd47e4849040497079cb20f054d_41cb1098-607f-46f1-bd0f-93e6186ba2c3.webp?v=1752650606","width":2000},{"alt":null,"id":25830132318307,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7037b59b5b742cd969dd20b8d9d9f771198c3d98_8f8aea0b-c3d5-4cc8-b303-ecd1bfaac04e.webp?v=1752650607"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7037b59b5b742cd969dd20b8d9d9f771198c3d98_8f8aea0b-c3d5-4cc8-b303-ecd1bfaac04e.webp?v=1752650607","width":2000},{"alt":null,"id":25830132711523,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d914c6141319c4fed08fc05265f4770e529aafcd_a35d18be-a65d-4eb2-ade3-29da580fc016.webp?v=1752650607"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d914c6141319c4fed08fc05265f4770e529aafcd_a35d18be-a65d-4eb2-ade3-29da580fc016.webp?v=1752650607","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43304706441315,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-XF51","requires_shipping":true,"taxable":true,"featured_image":{"id":34197840298083,"product_id":7769941803107,"position":5,"created_at":"2025-07-16T15:23:22+08:00","updated_at":"2025-07-16T15:23:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f47605bdeba1515660cbf872e11aeaec8c843a_7bc6da5e-af42-4f94-8b8f-2d20846ab40c.webp?v=1752650604","variant_ids":[43304706441315]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Cat Dive - 跳水貓咪 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-XF51","featured_media":{"alt":null,"id":25830130319459,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f47605bdeba1515660cbf872e11aeaec8c843a_7bc6da5e-af42-4f94-8b8f-2d20846ab40c.webp?v=1752650604"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43304706441315,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-XF51","requires_shipping":true,"taxable":true,"featured_image":{"id":34197840298083,"product_id":7769941803107,"position":5,"created_at":"2025-07-16T15:23:22+08:00","updated_at":"2025-07-16T15:23:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f47605bdeba1515660cbf872e11aeaec8c843a_7bc6da5e-af42-4f94-8b8f-2d20846ab40c.webp?v=1752650604","variant_ids":[43304706441315]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Cat Dive - 跳水貓咪 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118724-XF51","featured_media":{"alt":null,"id":25830130319459,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/91f47605bdeba1515660cbf872e11aeaec8c843a_7bc6da5e-af42-4f94-8b8f-2d20846ab40c.webp?v=1752650604"}},"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: "停產"
}