$product = {"id":7769471778915,"title":"iPhone 14 Plus Mod NX ilovedoodle The Sun and Cat - 太陽與貓","handle":"iphone-14-plus-mod-nx-printable-xf52","description":null,"published_at":"2025-07-16T17:32:42+08:00","created_at":"2025-04-15T16:34:30+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 14 Plus","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":43302510821475,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-XF52","requires_shipping":true,"taxable":true,"featured_image":{"id":34197099053155,"product_id":7769471778915,"position":7,"created_at":"2025-07-16T14:58:31+08:00","updated_at":"2025-07-16T14:58:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e966377af921ce146d529639fae065232f698764_b58b7a5d-073c-452a-8bd0-3728a65c28e6.webp?v=1752649113","variant_ids":[43302510821475]},"available":true,"name":"iPhone 14 Plus Mod NX ilovedoodle The Sun and 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":"NPB0126124-XF52","featured_media":{"alt":null,"id":25829714264163,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e966377af921ce146d529639fae065232f698764_b58b7a5d-073c-452a-8bd0-3728a65c28e6.webp?v=1752649113"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6395262b5bbdde5b9583cc103d76375a677112ae.webp?v=1744706077","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3dfe9f046c85b73634e2400b6d68eeacb0ecf2c_f4543a5a-aa3e-49d5-9f85-4e899c1b1f6b.webp?v=1752649110","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a2443a8d7d99e3d4d9b44dfd348f64c3ffba227_8b041fea-5391-493f-8f95-c0d05939ed05.webp?v=1752649111","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca93d7367fb29bc7e44aad14a6d0be1d300b94ec_426b8b9e-a3fa-44da-bca1-de3b73a779b7.webp?v=1752649112","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdde815da021577dcb044b76ba955a2a168c3812_2a699359-8393-4c84-b7b3-a48a90fa6f09.webp?v=1752649112","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6d4b4c5b9064c8d449767016db61d4e508b4ff7_04659c30-0424-48a8-a152-724e10b9dca6.webp?v=1752649112","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e966377af921ce146d529639fae065232f698764_b58b7a5d-073c-452a-8bd0-3728a65c28e6.webp?v=1752649113","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9170453b8140c74a7c3b113fe66acaac4c61934a_15e8c6ab-0aaf-4f53-8e49-71fd4d97160a.webp?v=1752649113","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee969ba3de7e710f6baba09dd02bc45fdd72f9b4_4f3ca38d-60ce-4253-88e5-87df5b36d63c.webp?v=1752649114","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d6a9eef2f3c628eb5b2e5556557d1fdc5ab445c_9c423c47-daa5-459b-9b2f-3dfd96dede4f.webp?v=1752649114","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74990537d8eacc8c37f81d92e2c5c3992d4021b1_a5a113fe-4eb7-4e6e-bde3-5ed766c730f2.webp?v=1752649115","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3364a5a87dd41c5a92d6122dd31aa02faad793bf_81d677b6-416a-465d-92ee-1799dcc46472.webp?v=1752649115","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41b2c3afaf92dc79f4f9baabe51205dcee711e07_ccf85d33-7cfc-4ac6-ba91-2f59a09549c0.webp?v=1752649116","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fde4f95f40f49aaa5cac1ec3324a0338c242262_fc6201f6-8402-4bff-be23-607cd13d5b62.webp?v=1752649117"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6395262b5bbdde5b9583cc103d76375a677112ae.webp?v=1744706077","options":["color"],"media":[{"alt":null,"id":25495536697443,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6395262b5bbdde5b9583cc103d76375a677112ae.webp?v=1744706077"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6395262b5bbdde5b9583cc103d76375a677112ae.webp?v=1744706077","width":2000},{"alt":null,"id":25829712855139,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3dfe9f046c85b73634e2400b6d68eeacb0ecf2c_f4543a5a-aa3e-49d5-9f85-4e899c1b1f6b.webp?v=1752649110"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3dfe9f046c85b73634e2400b6d68eeacb0ecf2c_f4543a5a-aa3e-49d5-9f85-4e899c1b1f6b.webp?v=1752649110","width":2000},{"alt":null,"id":25829713018979,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a2443a8d7d99e3d4d9b44dfd348f64c3ffba227_8b041fea-5391-493f-8f95-c0d05939ed05.webp?v=1752649111"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a2443a8d7d99e3d4d9b44dfd348f64c3ffba227_8b041fea-5391-493f-8f95-c0d05939ed05.webp?v=1752649111","width":2000},{"alt":null,"id":25829713248355,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca93d7367fb29bc7e44aad14a6d0be1d300b94ec_426b8b9e-a3fa-44da-bca1-de3b73a779b7.webp?v=1752649112"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca93d7367fb29bc7e44aad14a6d0be1d300b94ec_426b8b9e-a3fa-44da-bca1-de3b73a779b7.webp?v=1752649112","width":2000},{"alt":null,"id":25829713674339,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdde815da021577dcb044b76ba955a2a168c3812_2a699359-8393-4c84-b7b3-a48a90fa6f09.webp?v=1752649112"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdde815da021577dcb044b76ba955a2a168c3812_2a699359-8393-4c84-b7b3-a48a90fa6f09.webp?v=1752649112","width":2000},{"alt":null,"id":25829713936483,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6d4b4c5b9064c8d449767016db61d4e508b4ff7_04659c30-0424-48a8-a152-724e10b9dca6.webp?v=1752649112"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6d4b4c5b9064c8d449767016db61d4e508b4ff7_04659c30-0424-48a8-a152-724e10b9dca6.webp?v=1752649112","width":2000},{"alt":null,"id":25829714264163,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e966377af921ce146d529639fae065232f698764_b58b7a5d-073c-452a-8bd0-3728a65c28e6.webp?v=1752649113"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e966377af921ce146d529639fae065232f698764_b58b7a5d-073c-452a-8bd0-3728a65c28e6.webp?v=1752649113","width":2000},{"alt":null,"id":25829714526307,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9170453b8140c74a7c3b113fe66acaac4c61934a_15e8c6ab-0aaf-4f53-8e49-71fd4d97160a.webp?v=1752649113"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9170453b8140c74a7c3b113fe66acaac4c61934a_15e8c6ab-0aaf-4f53-8e49-71fd4d97160a.webp?v=1752649113","width":2000},{"alt":null,"id":25829714755683,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee969ba3de7e710f6baba09dd02bc45fdd72f9b4_4f3ca38d-60ce-4253-88e5-87df5b36d63c.webp?v=1752649114"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee969ba3de7e710f6baba09dd02bc45fdd72f9b4_4f3ca38d-60ce-4253-88e5-87df5b36d63c.webp?v=1752649114","width":2000},{"alt":null,"id":25829715050595,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d6a9eef2f3c628eb5b2e5556557d1fdc5ab445c_9c423c47-daa5-459b-9b2f-3dfd96dede4f.webp?v=1752649114"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d6a9eef2f3c628eb5b2e5556557d1fdc5ab445c_9c423c47-daa5-459b-9b2f-3dfd96dede4f.webp?v=1752649114","width":2000},{"alt":null,"id":25829715378275,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74990537d8eacc8c37f81d92e2c5c3992d4021b1_a5a113fe-4eb7-4e6e-bde3-5ed766c730f2.webp?v=1752649115"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74990537d8eacc8c37f81d92e2c5c3992d4021b1_a5a113fe-4eb7-4e6e-bde3-5ed766c730f2.webp?v=1752649115","width":2000},{"alt":null,"id":25829715902563,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3364a5a87dd41c5a92d6122dd31aa02faad793bf_81d677b6-416a-465d-92ee-1799dcc46472.webp?v=1752649115"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3364a5a87dd41c5a92d6122dd31aa02faad793bf_81d677b6-416a-465d-92ee-1799dcc46472.webp?v=1752649115","width":2000},{"alt":null,"id":25829716164707,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41b2c3afaf92dc79f4f9baabe51205dcee711e07_ccf85d33-7cfc-4ac6-ba91-2f59a09549c0.webp?v=1752649116"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41b2c3afaf92dc79f4f9baabe51205dcee711e07_ccf85d33-7cfc-4ac6-ba91-2f59a09549c0.webp?v=1752649116","width":2000},{"alt":null,"id":25829716656227,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fde4f95f40f49aaa5cac1ec3324a0338c242262_fc6201f6-8402-4bff-be23-607cd13d5b62.webp?v=1752649117"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fde4f95f40f49aaa5cac1ec3324a0338c242262_fc6201f6-8402-4bff-be23-607cd13d5b62.webp?v=1752649117","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43302510821475,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-XF52","requires_shipping":true,"taxable":true,"featured_image":{"id":34197099053155,"product_id":7769471778915,"position":7,"created_at":"2025-07-16T14:58:31+08:00","updated_at":"2025-07-16T14:58:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e966377af921ce146d529639fae065232f698764_b58b7a5d-073c-452a-8bd0-3728a65c28e6.webp?v=1752649113","variant_ids":[43302510821475]},"available":true,"name":"iPhone 14 Plus Mod NX ilovedoodle The Sun and 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":"NPB0126124-XF52","featured_media":{"alt":null,"id":25829714264163,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e966377af921ce146d529639fae065232f698764_b58b7a5d-073c-452a-8bd0-3728a65c28e6.webp?v=1752649113"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43302510821475,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-XF52","requires_shipping":true,"taxable":true,"featured_image":{"id":34197099053155,"product_id":7769471778915,"position":7,"created_at":"2025-07-16T14:58:31+08:00","updated_at":"2025-07-16T14:58:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e966377af921ce146d529639fae065232f698764_b58b7a5d-073c-452a-8bd0-3728a65c28e6.webp?v=1752649113","variant_ids":[43302510821475]},"available":true,"name":"iPhone 14 Plus Mod NX ilovedoodle The Sun and 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":"NPB0126124-XF52","featured_media":{"alt":null,"id":25829714264163,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e966377af921ce146d529639fae065232f698764_b58b7a5d-073c-452a-8bd0-3728a65c28e6.webp?v=1752649113"}},"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: "停產"
}