$product = {"id":7769809191011,"title":"iPhone 14 Plus Mod NX ilovedoodle Stay Curious - 保持好奇心","handle":"iphone-14-plus-mod-nx-printable-xf57","description":null,"published_at":"2025-04-16T14:18:24+08:00","created_at":"2025-04-15T20:45:15+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":43304028209251,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34196730937443,"product_id":7769809191011,"position":5,"created_at":"2025-07-16T14:50:04+08:00","updated_at":"2025-07-16T14:50:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75bf3a1295652f903daf337f2699cb884e6b57ab_8d4d7f65-25d7-4bd3-ac9a-4e0f1f5a690c.webp?v=1752648606","variant_ids":[43304028209251]},"available":true,"name":"iPhone 14 Plus Mod NX ilovedoodle Stay Curious - 保持好奇心 - 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-XF57","featured_media":{"alt":null,"id":25829514379363,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75bf3a1295652f903daf337f2699cb884e6b57ab_8d4d7f65-25d7-4bd3-ac9a-4e0f1f5a690c.webp?v=1752648606"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04e9ff9010dadd10a5839d45f75f9892b2fc09e4_d6add194-e788-400f-887e-48316841b3d6.webp?v=1744721123","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/354a60750558308b53f3b80955bdcaf3f53db691_84eac080-bd48-474e-9af6-968db547f6a6.webp?v=1752648604","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d34bf12bcbc28e0a1ed9c690905d1f109211e47e_def5856b-79c4-4220-8ab5-c6d89ae24566.webp?v=1752648605","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ea850cff4dbd00714b0b6e9f826679672832500_ccb91497-39de-49d2-9994-7446ae61dd1b.webp?v=1752648605","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75bf3a1295652f903daf337f2699cb884e6b57ab_8d4d7f65-25d7-4bd3-ac9a-4e0f1f5a690c.webp?v=1752648606","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3563e6a73e3d1dcc0765f7f788fc53f5e2f3dd45_3f1f9a32-f66d-478a-9172-13849b6e34da.webp?v=1752648606","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c5449ac511e692b31418f792d52b6ac7b273c14_8b42b01b-3c60-4a67-9f2b-f5c61c649789.webp?v=1752648607","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20c69c56ba2bc0e01d1df098e1c27f1dfc6229db_307adcfe-943f-4684-bdc6-d28521ada293.webp?v=1752648607","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d9e8853531e0f0fc9827487e5a804a2bc1ca9f5_18785b38-80e0-42b6-b567-00d6346df769.webp?v=1752648609","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4d9c5f2eca0dc22e7c1e29bd08fcd43d3d771ae_be62257a-ebb6-4704-882d-108ce4a849e6.webp?v=1752648609","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e3382dd2aa12c718d13225b1ca41c83e285f099_2b4765f8-2f95-4f85-a8aa-f8c552b8bbb1.webp?v=1752648609","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9de903653f08eb9fd7c7a3263a685e91d4e24eef_929b011d-4e1f-40aa-9f0e-65164fb9e106.webp?v=1752648610","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c4cc1b5b598be53f5721d2158d25604e6fa96bf_5450f0fb-0ffd-47b6-afd9-51a60dc22ec7.webp?v=1752648611","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c81f74ecda969f512786416da1b82e84f9900b5_5f7fe571-bfd7-4aa5-aafc-133604c15fbf.webp?v=1752648611"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04e9ff9010dadd10a5839d45f75f9892b2fc09e4_d6add194-e788-400f-887e-48316841b3d6.webp?v=1744721123","options":["color"],"media":[{"alt":null,"id":25496300290147,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04e9ff9010dadd10a5839d45f75f9892b2fc09e4_d6add194-e788-400f-887e-48316841b3d6.webp?v=1744721123"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/04e9ff9010dadd10a5839d45f75f9892b2fc09e4_d6add194-e788-400f-887e-48316841b3d6.webp?v=1744721123","width":2000},{"alt":null,"id":25829513855075,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/354a60750558308b53f3b80955bdcaf3f53db691_84eac080-bd48-474e-9af6-968db547f6a6.webp?v=1752648604"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/354a60750558308b53f3b80955bdcaf3f53db691_84eac080-bd48-474e-9af6-968db547f6a6.webp?v=1752648604","width":2000},{"alt":null,"id":25829514018915,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d34bf12bcbc28e0a1ed9c690905d1f109211e47e_def5856b-79c4-4220-8ab5-c6d89ae24566.webp?v=1752648605"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d34bf12bcbc28e0a1ed9c690905d1f109211e47e_def5856b-79c4-4220-8ab5-c6d89ae24566.webp?v=1752648605","width":2000},{"alt":null,"id":25829514149987,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ea850cff4dbd00714b0b6e9f826679672832500_ccb91497-39de-49d2-9994-7446ae61dd1b.webp?v=1752648605"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ea850cff4dbd00714b0b6e9f826679672832500_ccb91497-39de-49d2-9994-7446ae61dd1b.webp?v=1752648605","width":2000},{"alt":null,"id":25829514379363,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75bf3a1295652f903daf337f2699cb884e6b57ab_8d4d7f65-25d7-4bd3-ac9a-4e0f1f5a690c.webp?v=1752648606"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75bf3a1295652f903daf337f2699cb884e6b57ab_8d4d7f65-25d7-4bd3-ac9a-4e0f1f5a690c.webp?v=1752648606","width":2000},{"alt":null,"id":25829514575971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3563e6a73e3d1dcc0765f7f788fc53f5e2f3dd45_3f1f9a32-f66d-478a-9172-13849b6e34da.webp?v=1752648606"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3563e6a73e3d1dcc0765f7f788fc53f5e2f3dd45_3f1f9a32-f66d-478a-9172-13849b6e34da.webp?v=1752648606","width":2000},{"alt":null,"id":25829514805347,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c5449ac511e692b31418f792d52b6ac7b273c14_8b42b01b-3c60-4a67-9f2b-f5c61c649789.webp?v=1752648607"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c5449ac511e692b31418f792d52b6ac7b273c14_8b42b01b-3c60-4a67-9f2b-f5c61c649789.webp?v=1752648607","width":2000},{"alt":null,"id":25829514969187,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20c69c56ba2bc0e01d1df098e1c27f1dfc6229db_307adcfe-943f-4684-bdc6-d28521ada293.webp?v=1752648607"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20c69c56ba2bc0e01d1df098e1c27f1dfc6229db_307adcfe-943f-4684-bdc6-d28521ada293.webp?v=1752648607","width":2000},{"alt":null,"id":25829515362403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d9e8853531e0f0fc9827487e5a804a2bc1ca9f5_18785b38-80e0-42b6-b567-00d6346df769.webp?v=1752648609"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d9e8853531e0f0fc9827487e5a804a2bc1ca9f5_18785b38-80e0-42b6-b567-00d6346df769.webp?v=1752648609","width":2000},{"alt":null,"id":25829515526243,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4d9c5f2eca0dc22e7c1e29bd08fcd43d3d771ae_be62257a-ebb6-4704-882d-108ce4a849e6.webp?v=1752648609"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4d9c5f2eca0dc22e7c1e29bd08fcd43d3d771ae_be62257a-ebb6-4704-882d-108ce4a849e6.webp?v=1752648609","width":2000},{"alt":null,"id":25829515755619,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e3382dd2aa12c718d13225b1ca41c83e285f099_2b4765f8-2f95-4f85-a8aa-f8c552b8bbb1.webp?v=1752648609"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5e3382dd2aa12c718d13225b1ca41c83e285f099_2b4765f8-2f95-4f85-a8aa-f8c552b8bbb1.webp?v=1752648609","width":2000},{"alt":null,"id":25829515886691,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9de903653f08eb9fd7c7a3263a685e91d4e24eef_929b011d-4e1f-40aa-9f0e-65164fb9e106.webp?v=1752648610"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9de903653f08eb9fd7c7a3263a685e91d4e24eef_929b011d-4e1f-40aa-9f0e-65164fb9e106.webp?v=1752648610","width":2000},{"alt":null,"id":25829516017763,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c4cc1b5b598be53f5721d2158d25604e6fa96bf_5450f0fb-0ffd-47b6-afd9-51a60dc22ec7.webp?v=1752648611"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c4cc1b5b598be53f5721d2158d25604e6fa96bf_5450f0fb-0ffd-47b6-afd9-51a60dc22ec7.webp?v=1752648611","width":2000},{"alt":null,"id":25829516148835,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c81f74ecda969f512786416da1b82e84f9900b5_5f7fe571-bfd7-4aa5-aafc-133604c15fbf.webp?v=1752648611"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c81f74ecda969f512786416da1b82e84f9900b5_5f7fe571-bfd7-4aa5-aafc-133604c15fbf.webp?v=1752648611","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43304028209251,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34196730937443,"product_id":7769809191011,"position":5,"created_at":"2025-07-16T14:50:04+08:00","updated_at":"2025-07-16T14:50:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75bf3a1295652f903daf337f2699cb884e6b57ab_8d4d7f65-25d7-4bd3-ac9a-4e0f1f5a690c.webp?v=1752648606","variant_ids":[43304028209251]},"available":true,"name":"iPhone 14 Plus Mod NX ilovedoodle Stay Curious - 保持好奇心 - 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-XF57","featured_media":{"alt":null,"id":25829514379363,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75bf3a1295652f903daf337f2699cb884e6b57ab_8d4d7f65-25d7-4bd3-ac9a-4e0f1f5a690c.webp?v=1752648606"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43304028209251,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-XF57","requires_shipping":true,"taxable":true,"featured_image":{"id":34196730937443,"product_id":7769809191011,"position":5,"created_at":"2025-07-16T14:50:04+08:00","updated_at":"2025-07-16T14:50:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75bf3a1295652f903daf337f2699cb884e6b57ab_8d4d7f65-25d7-4bd3-ac9a-4e0f1f5a690c.webp?v=1752648606","variant_ids":[43304028209251]},"available":true,"name":"iPhone 14 Plus Mod NX ilovedoodle Stay Curious - 保持好奇心 - 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-XF57","featured_media":{"alt":null,"id":25829514379363,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/75bf3a1295652f903daf337f2699cb884e6b57ab_8d4d7f65-25d7-4bd3-ac9a-4e0f1f5a690c.webp?v=1752648606"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(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: "停產"
}