$product = {"id":7769565724771,"title":"iPhone 12 Pro Max Mod NX ilovedoodle Mindful Cat - 冷靜","handle":"iphone-12-pro-max-mod-nx-printable-xf46","description":null,"published_at":"2025-07-16T17:23:10+08:00","created_at":"2025-04-15T17:49:59+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-I Love Doodle","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 12 Pro Max","merge","reseller-ilovedoodle"],"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":43302956564579,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34196858404963,"product_id":7769565724771,"position":5,"created_at":"2025-07-16T14:52:55+08:00","updated_at":"2025-07-16T14:52:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b72cc0a8f1f3e941832700a76d7603ecba22158c_e7f00629-d405-4ba1-942b-30ef5cdfad5e.webp?v=1752648777","variant_ids":[43302956564579]},"available":true,"name":"iPhone 12 Pro Max Mod NX ilovedoodle Mindful Cat - 冷靜 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118724-XF46","featured_media":{"alt":null,"id":25829583388771,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b72cc0a8f1f3e941832700a76d7603ecba22158c_e7f00629-d405-4ba1-942b-30ef5cdfad5e.webp?v=1752648777"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47d65fc0d023293b408d98685d886ee14961e671.webp?v=1744710606","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fa10ac2234c72081b60eef39d9d466a2d75bf48_f51a1be1-b99e-4220-89a9-b2ed25433d59.webp?v=1752648775","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef8e50022999a6f1ecd31c2ba9237b9395ac42ad_dc537535-7597-46af-9d18-9f04cdfe6035.webp?v=1752648776","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7418376d275966b06decf2dcf992e92b6e42d841_bcbe833e-97d4-4b0f-a90f-639f55af41bf.webp?v=1752648776","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b72cc0a8f1f3e941832700a76d7603ecba22158c_e7f00629-d405-4ba1-942b-30ef5cdfad5e.webp?v=1752648777","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6b5760f59ddd34d499f61856e5529dac708eda9_4f02db98-2f42-4e64-8f7c-10e71b5f4a4b.webp?v=1752648778","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81d6d0ce81de70613b04905cf2575e5ffb2eb60d_4e310854-ae48-4e04-b807-2d131b6d6026.webp?v=1752648779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a455dfaafd867776fc5eefd9a08c54f7fd3f3f56_e9801113-7bd4-4763-adb8-86e3f551cc0c.webp?v=1752648779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76d1bc5fdf47d701105e9b8bc0fe395ff4e7c6ff_459b7b49-bcff-4411-b007-98741fa4f1b0.webp?v=1752648779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c3db24839ccc3273a912ba0bccc76a00f9809b9_8cb1575b-3ba9-4ebb-ab54-180f2e8ab823.webp?v=1752648780","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fea88c22c9a183622f3071765dc535a4319884f_a6add468-6e12-40b6-a912-6bcaf626b8fe.webp?v=1752648780"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47d65fc0d023293b408d98685d886ee14961e671.webp?v=1744710606","options":["color"],"media":[{"alt":null,"id":25495825842275,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47d65fc0d023293b408d98685d886ee14961e671.webp?v=1744710606"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47d65fc0d023293b408d98685d886ee14961e671.webp?v=1744710606","width":2000},{"alt":null,"id":25829582340195,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fa10ac2234c72081b60eef39d9d466a2d75bf48_f51a1be1-b99e-4220-89a9-b2ed25433d59.webp?v=1752648775"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9fa10ac2234c72081b60eef39d9d466a2d75bf48_f51a1be1-b99e-4220-89a9-b2ed25433d59.webp?v=1752648775","width":2000},{"alt":null,"id":25829582536803,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef8e50022999a6f1ecd31c2ba9237b9395ac42ad_dc537535-7597-46af-9d18-9f04cdfe6035.webp?v=1752648776"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef8e50022999a6f1ecd31c2ba9237b9395ac42ad_dc537535-7597-46af-9d18-9f04cdfe6035.webp?v=1752648776","width":2000},{"alt":null,"id":25829582766179,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7418376d275966b06decf2dcf992e92b6e42d841_bcbe833e-97d4-4b0f-a90f-639f55af41bf.webp?v=1752648776"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7418376d275966b06decf2dcf992e92b6e42d841_bcbe833e-97d4-4b0f-a90f-639f55af41bf.webp?v=1752648776","width":2000},{"alt":null,"id":25829583388771,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b72cc0a8f1f3e941832700a76d7603ecba22158c_e7f00629-d405-4ba1-942b-30ef5cdfad5e.webp?v=1752648777"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b72cc0a8f1f3e941832700a76d7603ecba22158c_e7f00629-d405-4ba1-942b-30ef5cdfad5e.webp?v=1752648777","width":2000},{"alt":null,"id":25829583650915,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6b5760f59ddd34d499f61856e5529dac708eda9_4f02db98-2f42-4e64-8f7c-10e71b5f4a4b.webp?v=1752648778"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6b5760f59ddd34d499f61856e5529dac708eda9_4f02db98-2f42-4e64-8f7c-10e71b5f4a4b.webp?v=1752648778","width":2000},{"alt":null,"id":25829583814755,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81d6d0ce81de70613b04905cf2575e5ffb2eb60d_4e310854-ae48-4e04-b807-2d131b6d6026.webp?v=1752648779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/81d6d0ce81de70613b04905cf2575e5ffb2eb60d_4e310854-ae48-4e04-b807-2d131b6d6026.webp?v=1752648779","width":2000},{"alt":null,"id":25829584044131,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a455dfaafd867776fc5eefd9a08c54f7fd3f3f56_e9801113-7bd4-4763-adb8-86e3f551cc0c.webp?v=1752648779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a455dfaafd867776fc5eefd9a08c54f7fd3f3f56_e9801113-7bd4-4763-adb8-86e3f551cc0c.webp?v=1752648779","width":2000},{"alt":null,"id":25829584306275,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76d1bc5fdf47d701105e9b8bc0fe395ff4e7c6ff_459b7b49-bcff-4411-b007-98741fa4f1b0.webp?v=1752648779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76d1bc5fdf47d701105e9b8bc0fe395ff4e7c6ff_459b7b49-bcff-4411-b007-98741fa4f1b0.webp?v=1752648779","width":2000},{"alt":null,"id":25829584797795,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c3db24839ccc3273a912ba0bccc76a00f9809b9_8cb1575b-3ba9-4ebb-ab54-180f2e8ab823.webp?v=1752648780"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c3db24839ccc3273a912ba0bccc76a00f9809b9_8cb1575b-3ba9-4ebb-ab54-180f2e8ab823.webp?v=1752648780","width":2000},{"alt":null,"id":25829585125475,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fea88c22c9a183622f3071765dc535a4319884f_a6add468-6e12-40b6-a912-6bcaf626b8fe.webp?v=1752648780"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1fea88c22c9a183622f3071765dc535a4319884f_a6add468-6e12-40b6-a912-6bcaf626b8fe.webp?v=1752648780","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43302956564579,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34196858404963,"product_id":7769565724771,"position":5,"created_at":"2025-07-16T14:52:55+08:00","updated_at":"2025-07-16T14:52:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b72cc0a8f1f3e941832700a76d7603ecba22158c_e7f00629-d405-4ba1-942b-30ef5cdfad5e.webp?v=1752648777","variant_ids":[43302956564579]},"available":true,"name":"iPhone 12 Pro Max Mod NX ilovedoodle Mindful Cat - 冷靜 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118724-XF46","featured_media":{"alt":null,"id":25829583388771,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b72cc0a8f1f3e941832700a76d7603ecba22158c_e7f00629-d405-4ba1-942b-30ef5cdfad5e.webp?v=1752648777"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43302956564579,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0118724-XF46","requires_shipping":true,"taxable":true,"featured_image":{"id":34196858404963,"product_id":7769565724771,"position":5,"created_at":"2025-07-16T14:52:55+08:00","updated_at":"2025-07-16T14:52:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b72cc0a8f1f3e941832700a76d7603ecba22158c_e7f00629-d405-4ba1-942b-30ef5cdfad5e.webp?v=1752648777","variant_ids":[43302956564579]},"available":true,"name":"iPhone 12 Pro Max Mod NX ilovedoodle Mindful Cat - 冷靜 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0118724-XF46","featured_media":{"alt":null,"id":25829583388771,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b72cc0a8f1f3e941832700a76d7603ecba22158c_e7f00629-d405-4ba1-942b-30ef5cdfad5e.webp?v=1752648777"}},"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: "停產"
}