$product = {"id":7770010812515,"title":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Hug One Line - 愛與擁抱","handle":"iphone-12-pro-max-mod-nx-magsafe-printable-xf55","description":null,"published_at":"2025-04-16T12:49:44+08:00","created_at":"2025-04-15T23:17:03+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":43305044738147,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-XF55","requires_shipping":true,"taxable":true,"featured_image":{"id":34197832400995,"product_id":7770010812515,"position":5,"created_at":"2025-07-16T15:23:14+08:00","updated_at":"2025-07-16T15:23:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b61027f851a08ba5bbe7837db73db87e600c8f2_956d1ec5-2ef9-4d54-98aa-47f92db2e717.webp?v=1752650596","variant_ids":[43305044738147]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Hug One Line - 愛與擁抱 - 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-XF55","featured_media":{"alt":null,"id":25830126125155,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b61027f851a08ba5bbe7837db73db87e600c8f2_956d1ec5-2ef9-4d54-98aa-47f92db2e717.webp?v=1752650596"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d92372f2664dabcb44fb945dd82b432aab77c49_397b6c60-968c-4bac-aae8-27e710628d51.webp?v=1744730230","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3adbdb8e247a071530086b2eb0e750c4531de16f_18764327-26d0-4618-956c-7ffd98e110b7.webp?v=1752650593","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fe5e5e9639233cd293279cd15994d89b82855fa_a955677c-d344-4dca-a309-ef51f3ef8308.webp?v=1752650594","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5262f42aa16913652a32217e827462835e02929_0196f75c-d511-4e25-994e-05e316231e92.webp?v=1752650595","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b61027f851a08ba5bbe7837db73db87e600c8f2_956d1ec5-2ef9-4d54-98aa-47f92db2e717.webp?v=1752650596","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51166d46c71f43bccd9ed381c81ea7d1c8cab8cb_a0a57194-85cb-459b-a20f-156347c24784.webp?v=1752650597","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/739d894e9f7172cc84c0b8244fbdf7a487ac7e9d_df35aca3-192d-4550-a773-ce9d68a4551a.webp?v=1752650597","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0902b1da2ca078f336f4c290c0d5e075dd1ecb2a_570f38a2-6058-43c0-aa88-fb20ec5c9e57.webp?v=1752650599","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f887ba384676de9f6dc4d578213f09b1a6f28631_2e2ccd1f-81f6-48f1-9d04-080b267333d7.webp?v=1752650600","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07b45b4bb10087ce337a84be203ffd8524d3e1b3_171cd027-7df4-4ae0-aad1-f930282d6a34.webp?v=1752650600","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ad1ca800b63a95f0b9a2e49fc73bc6537c02e8d_c7473356-46cd-4b7a-be47-98f067cb91d1.webp?v=1752650600"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d92372f2664dabcb44fb945dd82b432aab77c49_397b6c60-968c-4bac-aae8-27e710628d51.webp?v=1744730230","options":["color"],"media":[{"alt":null,"id":25496686198883,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d92372f2664dabcb44fb945dd82b432aab77c49_397b6c60-968c-4bac-aae8-27e710628d51.webp?v=1744730230"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d92372f2664dabcb44fb945dd82b432aab77c49_397b6c60-968c-4bac-aae8-27e710628d51.webp?v=1744730230","width":2000},{"alt":null,"id":25830123798627,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3adbdb8e247a071530086b2eb0e750c4531de16f_18764327-26d0-4618-956c-7ffd98e110b7.webp?v=1752650593"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3adbdb8e247a071530086b2eb0e750c4531de16f_18764327-26d0-4618-956c-7ffd98e110b7.webp?v=1752650593","width":2000},{"alt":null,"id":25830124978275,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fe5e5e9639233cd293279cd15994d89b82855fa_a955677c-d344-4dca-a309-ef51f3ef8308.webp?v=1752650594"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6fe5e5e9639233cd293279cd15994d89b82855fa_a955677c-d344-4dca-a309-ef51f3ef8308.webp?v=1752650594","width":2000},{"alt":null,"id":25830125699171,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5262f42aa16913652a32217e827462835e02929_0196f75c-d511-4e25-994e-05e316231e92.webp?v=1752650595"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f5262f42aa16913652a32217e827462835e02929_0196f75c-d511-4e25-994e-05e316231e92.webp?v=1752650595","width":2000},{"alt":null,"id":25830126125155,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b61027f851a08ba5bbe7837db73db87e600c8f2_956d1ec5-2ef9-4d54-98aa-47f92db2e717.webp?v=1752650596"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b61027f851a08ba5bbe7837db73db87e600c8f2_956d1ec5-2ef9-4d54-98aa-47f92db2e717.webp?v=1752650596","width":2000},{"alt":null,"id":25830126485603,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51166d46c71f43bccd9ed381c81ea7d1c8cab8cb_a0a57194-85cb-459b-a20f-156347c24784.webp?v=1752650597"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/51166d46c71f43bccd9ed381c81ea7d1c8cab8cb_a0a57194-85cb-459b-a20f-156347c24784.webp?v=1752650597","width":2000},{"alt":null,"id":25830126878819,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/739d894e9f7172cc84c0b8244fbdf7a487ac7e9d_df35aca3-192d-4550-a773-ce9d68a4551a.webp?v=1752650597"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/739d894e9f7172cc84c0b8244fbdf7a487ac7e9d_df35aca3-192d-4550-a773-ce9d68a4551a.webp?v=1752650597","width":2000},{"alt":null,"id":25830127370339,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0902b1da2ca078f336f4c290c0d5e075dd1ecb2a_570f38a2-6058-43c0-aa88-fb20ec5c9e57.webp?v=1752650599"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0902b1da2ca078f336f4c290c0d5e075dd1ecb2a_570f38a2-6058-43c0-aa88-fb20ec5c9e57.webp?v=1752650599","width":2000},{"alt":null,"id":25830127665251,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f887ba384676de9f6dc4d578213f09b1a6f28631_2e2ccd1f-81f6-48f1-9d04-080b267333d7.webp?v=1752650600"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f887ba384676de9f6dc4d578213f09b1a6f28631_2e2ccd1f-81f6-48f1-9d04-080b267333d7.webp?v=1752650600","width":2000},{"alt":null,"id":25830128025699,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07b45b4bb10087ce337a84be203ffd8524d3e1b3_171cd027-7df4-4ae0-aad1-f930282d6a34.webp?v=1752650600"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/07b45b4bb10087ce337a84be203ffd8524d3e1b3_171cd027-7df4-4ae0-aad1-f930282d6a34.webp?v=1752650600","width":2000},{"alt":null,"id":25830128582755,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ad1ca800b63a95f0b9a2e49fc73bc6537c02e8d_c7473356-46cd-4b7a-be47-98f067cb91d1.webp?v=1752650600"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ad1ca800b63a95f0b9a2e49fc73bc6537c02e8d_c7473356-46cd-4b7a-be47-98f067cb91d1.webp?v=1752650600","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43305044738147,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-XF55","requires_shipping":true,"taxable":true,"featured_image":{"id":34197832400995,"product_id":7770010812515,"position":5,"created_at":"2025-07-16T15:23:14+08:00","updated_at":"2025-07-16T15:23:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b61027f851a08ba5bbe7837db73db87e600c8f2_956d1ec5-2ef9-4d54-98aa-47f92db2e717.webp?v=1752650596","variant_ids":[43305044738147]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Hug One Line - 愛與擁抱 - 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-XF55","featured_media":{"alt":null,"id":25830126125155,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b61027f851a08ba5bbe7837db73db87e600c8f2_956d1ec5-2ef9-4d54-98aa-47f92db2e717.webp?v=1752650596"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43305044738147,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118724-XF55","requires_shipping":true,"taxable":true,"featured_image":{"id":34197832400995,"product_id":7770010812515,"position":5,"created_at":"2025-07-16T15:23:14+08:00","updated_at":"2025-07-16T15:23:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b61027f851a08ba5bbe7837db73db87e600c8f2_956d1ec5-2ef9-4d54-98aa-47f92db2e717.webp?v=1752650596","variant_ids":[43305044738147]},"available":true,"name":"iPhone 12 Pro Max Mod NX (MagSafe 兼容) ilovedoodle Hug One Line - 愛與擁抱 - 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-XF55","featured_media":{"alt":null,"id":25830126125155,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b61027f851a08ba5bbe7837db73db87e600c8f2_956d1ec5-2ef9-4d54-98aa-47f92db2e717.webp?v=1752650596"}},"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: "停產"
}