$product = {"id":7988913438819,"title":"iPhone 15 Pro Max SolidX ilovedoodle Coffee Cat: 多點濃縮,少點憂鬱","handle":"iphone-15-pro-max-solidx-xf70","description":null,"published_at":"2026-04-02T14:37:25+08:00","created_at":"2026-04-01T11:10:58+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 15 Pro Max","merge","reseller-ilovedoodle"],"price":125000,"price_min":125000,"price_max":125000,"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":44093709516899,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-XF70","requires_shipping":true,"taxable":true,"featured_image":{"id":35572423196771,"product_id":7988913438819,"position":3,"created_at":"2026-04-01T11:11:04+08:00","updated_at":"2026-04-01T11:11:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0256f3ffdbe7ac93f3e5cd27f5e029dc6ce2045.webp?v=1775013066","variant_ids":[44093709516899]},"available":true,"name":"iPhone 15 Pro Max SolidX ilovedoodle Coffee Cat: 多點濃縮,少點憂鬱 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-XF70","featured_media":{"alt":null,"id":27105497415779,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0256f3ffdbe7ac93f3e5cd27f5e029dc6ce2045.webp?v=1775013066"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44093709582435,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01298O8-XF70","requires_shipping":true,"taxable":true,"featured_image":{"id":35572422508643,"product_id":7988913438819,"position":2,"created_at":"2026-04-01T11:11:03+08:00","updated_at":"2026-04-01T11:11:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be1ca4bc8d4e79c97e1098fcc531ca00bddfe16a.webp?v=1775013066","variant_ids":[44093709582435]},"available":true,"name":"iPhone 15 Pro Max SolidX ilovedoodle Coffee Cat: 多點濃縮,少點憂鬱 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298O8-XF70","featured_media":{"alt":null,"id":27105497317475,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be1ca4bc8d4e79c97e1098fcc531ca00bddfe16a.webp?v=1775013066"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44093709647971,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST01298Z7-XF70","requires_shipping":true,"taxable":true,"featured_image":{"id":35572423589987,"product_id":7988913438819,"position":7,"created_at":"2026-04-01T11:11:06+08:00","updated_at":"2026-04-01T11:11:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/156c303d234ae863cd3e79d7aaab521fab1d85b2.webp?v=1775013068","variant_ids":[44093709647971]},"available":true,"name":"iPhone 15 Pro Max SolidX ilovedoodle Coffee Cat: 多點濃縮,少點憂鬱 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298Z7-XF70","featured_media":{"alt":null,"id":27105497940067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/156c303d234ae863cd3e79d7aaab521fab1d85b2.webp?v=1775013068"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44093709680739,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-XF70","requires_shipping":true,"taxable":true,"featured_image":{"id":35572423852131,"product_id":7988913438819,"position":9,"created_at":"2026-04-01T11:11:07+08:00","updated_at":"2026-04-01T11:11:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6d396800959c61ec17e51c2a959363898ac84d5.webp?v=1775013069","variant_ids":[44093709680739]},"available":true,"name":"iPhone 15 Pro Max SolidX ilovedoodle Coffee Cat: 多點濃縮,少點憂鬱 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-XF70","featured_media":{"alt":null,"id":27105498628195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6d396800959c61ec17e51c2a959363898ac84d5.webp?v=1775013069"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831d61f5c01f6cabb4a71c7fad033f3079997b48.webp?v=1775013065","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be1ca4bc8d4e79c97e1098fcc531ca00bddfe16a.webp?v=1775013066","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0256f3ffdbe7ac93f3e5cd27f5e029dc6ce2045.webp?v=1775013066","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6139422c9e7e36d60d2e695413215043772de3c5.webp?v=1775013066","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6089d72b1ffc5ebc5583a50dd4b69dcd332ac3d6.webp?v=1775013067","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a12974aa7e32516a24fc5da943b583f84b9f46ea.webp?v=1775013067","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/156c303d234ae863cd3e79d7aaab521fab1d85b2.webp?v=1775013068","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3685deb76b45aa04c8ede97d04ccb1bf80eb5e60.webp?v=1775013069","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6d396800959c61ec17e51c2a959363898ac84d5.webp?v=1775013069"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831d61f5c01f6cabb4a71c7fad033f3079997b48.webp?v=1775013065","options":["color"],"media":[{"alt":null,"id":27105497219171,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831d61f5c01f6cabb4a71c7fad033f3079997b48.webp?v=1775013065"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/831d61f5c01f6cabb4a71c7fad033f3079997b48.webp?v=1775013065","width":2000},{"alt":null,"id":27105497317475,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be1ca4bc8d4e79c97e1098fcc531ca00bddfe16a.webp?v=1775013066"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be1ca4bc8d4e79c97e1098fcc531ca00bddfe16a.webp?v=1775013066","width":2000},{"alt":null,"id":27105497415779,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0256f3ffdbe7ac93f3e5cd27f5e029dc6ce2045.webp?v=1775013066"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0256f3ffdbe7ac93f3e5cd27f5e029dc6ce2045.webp?v=1775013066","width":2000},{"alt":null,"id":27105497579619,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6139422c9e7e36d60d2e695413215043772de3c5.webp?v=1775013066"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6139422c9e7e36d60d2e695413215043772de3c5.webp?v=1775013066","width":2000},{"alt":null,"id":27105497645155,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6089d72b1ffc5ebc5583a50dd4b69dcd332ac3d6.webp?v=1775013067"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6089d72b1ffc5ebc5583a50dd4b69dcd332ac3d6.webp?v=1775013067","width":2000},{"alt":null,"id":27105497841763,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a12974aa7e32516a24fc5da943b583f84b9f46ea.webp?v=1775013067"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a12974aa7e32516a24fc5da943b583f84b9f46ea.webp?v=1775013067","width":2000},{"alt":null,"id":27105497940067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/156c303d234ae863cd3e79d7aaab521fab1d85b2.webp?v=1775013068"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/156c303d234ae863cd3e79d7aaab521fab1d85b2.webp?v=1775013068","width":2000},{"alt":null,"id":27105498038371,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3685deb76b45aa04c8ede97d04ccb1bf80eb5e60.webp?v=1775013069"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3685deb76b45aa04c8ede97d04ccb1bf80eb5e60.webp?v=1775013069","width":2000},{"alt":null,"id":27105498628195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6d396800959c61ec17e51c2a959363898ac84d5.webp?v=1775013069"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6d396800959c61ec17e51c2a959363898ac84d5.webp?v=1775013069","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44093709516899,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-XF70","requires_shipping":true,"taxable":true,"featured_image":{"id":35572423196771,"product_id":7988913438819,"position":3,"created_at":"2026-04-01T11:11:04+08:00","updated_at":"2026-04-01T11:11:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0256f3ffdbe7ac93f3e5cd27f5e029dc6ce2045.webp?v=1775013066","variant_ids":[44093709516899]},"available":true,"name":"iPhone 15 Pro Max SolidX ilovedoodle Coffee Cat: 多點濃縮,少點憂鬱 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-XF70","featured_media":{"alt":null,"id":27105497415779,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0256f3ffdbe7ac93f3e5cd27f5e029dc6ce2045.webp?v=1775013066"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44093709582435,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01298O8-XF70","requires_shipping":true,"taxable":true,"featured_image":{"id":35572422508643,"product_id":7988913438819,"position":2,"created_at":"2026-04-01T11:11:03+08:00","updated_at":"2026-04-01T11:11:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be1ca4bc8d4e79c97e1098fcc531ca00bddfe16a.webp?v=1775013066","variant_ids":[44093709582435]},"available":true,"name":"iPhone 15 Pro Max SolidX ilovedoodle Coffee Cat: 多點濃縮,少點憂鬱 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298O8-XF70","featured_media":{"alt":null,"id":27105497317475,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be1ca4bc8d4e79c97e1098fcc531ca00bddfe16a.webp?v=1775013066"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44093709647971,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST01298Z7-XF70","requires_shipping":true,"taxable":true,"featured_image":{"id":35572423589987,"product_id":7988913438819,"position":7,"created_at":"2026-04-01T11:11:06+08:00","updated_at":"2026-04-01T11:11:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/156c303d234ae863cd3e79d7aaab521fab1d85b2.webp?v=1775013068","variant_ids":[44093709647971]},"available":true,"name":"iPhone 15 Pro Max SolidX ilovedoodle Coffee Cat: 多點濃縮,少點憂鬱 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298Z7-XF70","featured_media":{"alt":null,"id":27105497940067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/156c303d234ae863cd3e79d7aaab521fab1d85b2.webp?v=1775013068"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44093709680739,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-XF70","requires_shipping":true,"taxable":true,"featured_image":{"id":35572423852131,"product_id":7988913438819,"position":9,"created_at":"2026-04-01T11:11:07+08:00","updated_at":"2026-04-01T11:11:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6d396800959c61ec17e51c2a959363898ac84d5.webp?v=1775013069","variant_ids":[44093709680739]},"available":true,"name":"iPhone 15 Pro Max SolidX ilovedoodle Coffee Cat: 多點濃縮,少點憂鬱 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-XF70","featured_media":{"alt":null,"id":27105498628195,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6d396800959c61ec17e51c2a959363898ac84d5.webp?v=1775013069"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44093709516899,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-XF70","requires_shipping":true,"taxable":true,"featured_image":{"id":35572423196771,"product_id":7988913438819,"position":3,"created_at":"2026-04-01T11:11:04+08:00","updated_at":"2026-04-01T11:11:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0256f3ffdbe7ac93f3e5cd27f5e029dc6ce2045.webp?v=1775013066","variant_ids":[44093709516899]},"available":true,"name":"iPhone 15 Pro Max SolidX ilovedoodle Coffee Cat: 多點濃縮,少點憂鬱 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-XF70","featured_media":{"alt":null,"id":27105497415779,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0256f3ffdbe7ac93f3e5cd27f5e029dc6ce2045.webp?v=1775013066"}},"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: "停產"
}