$product = {"id":7769427607651,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Cat People - 貓派","handle":"iphone-14-plus-mod-nx-magsafe-printable-xf54","description":null,"published_at":"2025-07-16T17:37:34+08:00","created_at":"2025-04-15T15:57:35+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 14 Plus","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":43302295437411,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF54","requires_shipping":true,"taxable":true,"featured_image":{"id":34197753823331,"product_id":7769427607651,"position":13,"created_at":"2025-07-16T15:22:04+08:00","updated_at":"2025-07-16T15:22:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b44eb96ccc68e422f52a4b54944e780bb6de19b0_689ffa80-433c-4142-b789-8206d0e92bef.webp?v=1752650526","variant_ids":[43302295437411]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Cat People - 貓派 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-XF54","featured_media":{"alt":null,"id":25830084444259,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b44eb96ccc68e422f52a4b54944e780bb6de19b0_689ffa80-433c-4142-b789-8206d0e92bef.webp?v=1752650526"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3b58ef5064d79d9c6a9be64eaa991d41cc7faca.webp?v=1744703862","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c9deb1beccbc3712b809ad00f7d5af4eeea62e0_56ba2a93-3dab-47bd-a220-bbffb0cb097e.webp?v=1752650520","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/251fd1fa1be1df7840090eb8c1386dad1002ec9b_93e4e0df-1cf8-4df0-abde-32de9c4e4d50.webp?v=1752650521","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14ed6eb2e57169db04d434153c9109e30e2fac2d_c4ce882a-60ef-4774-b340-8cebdf469a91.webp?v=1752650521","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b61096ddc4fb23cb95ed06f6807232ae0b14d59_a011b266-157e-4966-ab73-1823733220fc.webp?v=1752650522","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb090a36e2fd9075585344313091a89f84596d28_563ffb12-40a3-4fa5-a2a9-7b370c1c3366.webp?v=1752650522","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa69ee43745a9f004917d6caf71d56f8e3d60f04_f1a78816-8298-4c3d-8264-609bb39770b6.webp?v=1752650523","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cac540cbfb4abcd1ba09488f835b7d40efb947ad_ecf6b7c2-db3e-4a29-9572-8f65bf93d2f3.webp?v=1752650523","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29f36672905a22271c6db2c90c61a43e644d099d_ac5b87e4-b209-444f-b303-ec6cfb4b1e45.webp?v=1752650524","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e964966acc2e1f23834a12487fb33330dced8cc_274cf62f-9283-49e5-99ea-e1d81aedad8a.webp?v=1752650525","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6332c045020a72ea75a041c447356cfa06bd03e_1b6a414f-d198-48da-aab6-4e25bb87c893.webp?v=1752650525","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ebfb1a314f9c309f259a7b15cee5737bbc7af75_aa5dd78f-23a1-4c02-a928-f6fae2f38db4.webp?v=1752650526","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b44eb96ccc68e422f52a4b54944e780bb6de19b0_689ffa80-433c-4142-b789-8206d0e92bef.webp?v=1752650526","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b01ac27da098f927ee854c27e32e858715c1c4b7_a9f749f6-90d3-4fb8-94fc-c7c94ee1b425.webp?v=1752650527"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3b58ef5064d79d9c6a9be64eaa991d41cc7faca.webp?v=1744703862","options":["color"],"media":[{"alt":null,"id":25495394123875,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3b58ef5064d79d9c6a9be64eaa991d41cc7faca.webp?v=1744703862"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3b58ef5064d79d9c6a9be64eaa991d41cc7faca.webp?v=1744703862","width":2000},{"alt":null,"id":25830079955043,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c9deb1beccbc3712b809ad00f7d5af4eeea62e0_56ba2a93-3dab-47bd-a220-bbffb0cb097e.webp?v=1752650520"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c9deb1beccbc3712b809ad00f7d5af4eeea62e0_56ba2a93-3dab-47bd-a220-bbffb0cb097e.webp?v=1752650520","width":2000},{"alt":null,"id":25830080315491,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/251fd1fa1be1df7840090eb8c1386dad1002ec9b_93e4e0df-1cf8-4df0-abde-32de9c4e4d50.webp?v=1752650521"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/251fd1fa1be1df7840090eb8c1386dad1002ec9b_93e4e0df-1cf8-4df0-abde-32de9c4e4d50.webp?v=1752650521","width":2000},{"alt":null,"id":25830080643171,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14ed6eb2e57169db04d434153c9109e30e2fac2d_c4ce882a-60ef-4774-b340-8cebdf469a91.webp?v=1752650521"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/14ed6eb2e57169db04d434153c9109e30e2fac2d_c4ce882a-60ef-4774-b340-8cebdf469a91.webp?v=1752650521","width":2000},{"alt":null,"id":25830080970851,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b61096ddc4fb23cb95ed06f6807232ae0b14d59_a011b266-157e-4966-ab73-1823733220fc.webp?v=1752650522"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b61096ddc4fb23cb95ed06f6807232ae0b14d59_a011b266-157e-4966-ab73-1823733220fc.webp?v=1752650522","width":2000},{"alt":null,"id":25830081462371,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb090a36e2fd9075585344313091a89f84596d28_563ffb12-40a3-4fa5-a2a9-7b370c1c3366.webp?v=1752650522"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb090a36e2fd9075585344313091a89f84596d28_563ffb12-40a3-4fa5-a2a9-7b370c1c3366.webp?v=1752650522","width":2000},{"alt":null,"id":25830081822819,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa69ee43745a9f004917d6caf71d56f8e3d60f04_f1a78816-8298-4c3d-8264-609bb39770b6.webp?v=1752650523"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa69ee43745a9f004917d6caf71d56f8e3d60f04_f1a78816-8298-4c3d-8264-609bb39770b6.webp?v=1752650523","width":2000},{"alt":null,"id":25830082216035,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cac540cbfb4abcd1ba09488f835b7d40efb947ad_ecf6b7c2-db3e-4a29-9572-8f65bf93d2f3.webp?v=1752650523"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cac540cbfb4abcd1ba09488f835b7d40efb947ad_ecf6b7c2-db3e-4a29-9572-8f65bf93d2f3.webp?v=1752650523","width":2000},{"alt":null,"id":25830082543715,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29f36672905a22271c6db2c90c61a43e644d099d_ac5b87e4-b209-444f-b303-ec6cfb4b1e45.webp?v=1752650524"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/29f36672905a22271c6db2c90c61a43e644d099d_ac5b87e4-b209-444f-b303-ec6cfb4b1e45.webp?v=1752650524","width":2000},{"alt":null,"id":25830082904163,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e964966acc2e1f23834a12487fb33330dced8cc_274cf62f-9283-49e5-99ea-e1d81aedad8a.webp?v=1752650525"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e964966acc2e1f23834a12487fb33330dced8cc_274cf62f-9283-49e5-99ea-e1d81aedad8a.webp?v=1752650525","width":2000},{"alt":null,"id":25830083428451,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6332c045020a72ea75a041c447356cfa06bd03e_1b6a414f-d198-48da-aab6-4e25bb87c893.webp?v=1752650525"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b6332c045020a72ea75a041c447356cfa06bd03e_1b6a414f-d198-48da-aab6-4e25bb87c893.webp?v=1752650525","width":2000},{"alt":null,"id":25830083854435,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ebfb1a314f9c309f259a7b15cee5737bbc7af75_aa5dd78f-23a1-4c02-a928-f6fae2f38db4.webp?v=1752650526"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ebfb1a314f9c309f259a7b15cee5737bbc7af75_aa5dd78f-23a1-4c02-a928-f6fae2f38db4.webp?v=1752650526","width":2000},{"alt":null,"id":25830084444259,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b44eb96ccc68e422f52a4b54944e780bb6de19b0_689ffa80-433c-4142-b789-8206d0e92bef.webp?v=1752650526"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b44eb96ccc68e422f52a4b54944e780bb6de19b0_689ffa80-433c-4142-b789-8206d0e92bef.webp?v=1752650526","width":2000},{"alt":null,"id":25830084837475,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b01ac27da098f927ee854c27e32e858715c1c4b7_a9f749f6-90d3-4fb8-94fc-c7c94ee1b425.webp?v=1752650527"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b01ac27da098f927ee854c27e32e858715c1c4b7_a9f749f6-90d3-4fb8-94fc-c7c94ee1b425.webp?v=1752650527","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43302295437411,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF54","requires_shipping":true,"taxable":true,"featured_image":{"id":34197753823331,"product_id":7769427607651,"position":13,"created_at":"2025-07-16T15:22:04+08:00","updated_at":"2025-07-16T15:22:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b44eb96ccc68e422f52a4b54944e780bb6de19b0_689ffa80-433c-4142-b789-8206d0e92bef.webp?v=1752650526","variant_ids":[43302295437411]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Cat People - 貓派 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-XF54","featured_media":{"alt":null,"id":25830084444259,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b44eb96ccc68e422f52a4b54944e780bb6de19b0_689ffa80-433c-4142-b789-8206d0e92bef.webp?v=1752650526"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43302295437411,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF54","requires_shipping":true,"taxable":true,"featured_image":{"id":34197753823331,"product_id":7769427607651,"position":13,"created_at":"2025-07-16T15:22:04+08:00","updated_at":"2025-07-16T15:22:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b44eb96ccc68e422f52a4b54944e780bb6de19b0_689ffa80-433c-4142-b789-8206d0e92bef.webp?v=1752650526","variant_ids":[43302295437411]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Cat People - 貓派 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126124-XF54","featured_media":{"alt":null,"id":25830084444259,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b44eb96ccc68e422f52a4b54944e780bb6de19b0_689ffa80-433c-4142-b789-8206d0e92bef.webp?v=1752650526"}},"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: "停產"
}