$product = {"id":7769514803299,"title":"iPhone 14 Plus Mod NX ilovedoodle Mindful Cat - Love Yourself","handle":"iphone-14-plus-mod-nx-printable-xf47","description":null,"published_at":"2025-07-16T17:28:05+08:00","created_at":"2025-04-15T17:10:17+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":43302711132259,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-XF47","requires_shipping":true,"taxable":true,"featured_image":{"id":34196557922403,"product_id":7769514803299,"position":8,"created_at":"2025-07-16T14:46:04+08:00","updated_at":"2025-07-16T14:46:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a58a17f21a08272e5a23d5f2ba42d743efeb952_0422c26f-ee55-4573-aef8-9b7a10cba1e1.webp?v=1752648366","variant_ids":[43302711132259]},"available":true,"name":"iPhone 14 Plus Mod NX ilovedoodle Mindful Cat - Love Yourself - 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-XF47","featured_media":{"alt":null,"id":25829420073059,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a58a17f21a08272e5a23d5f2ba42d743efeb952_0422c26f-ee55-4573-aef8-9b7a10cba1e1.webp?v=1752648366"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8ef3e3b2151b70e388106243367ee6595c0bd46.webp?v=1744708224","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc6d83366b07f595a08134d3dab38e517da7334b_0fb479c8-a1d1-4592-a58f-57aa2c700f58.webp?v=1752648362","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce3dc25c521f3c44ad5413374e754c43ec519b5d_7bdadc88-848e-4961-acd1-508e35fe6ecd.webp?v=1752648362","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42a3a49e62e1f1ac23b8581e4ca9b38dc563145a_7af285c6-e16e-45dc-9758-9d66b8b73a83.webp?v=1752648363","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b373f7eec1f01f13bdff6d5cb6b3cdeb9646e26c_59170e3e-2aad-4029-9300-8c15ba0a38ca.webp?v=1752648364","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7172027199de28bfe437e6fadeccd8437fd9124a_50f04d3e-1b27-4651-b6c9-96ff8c386f02.webp?v=1752648364","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4c97d300a55bc962cc8b9c4c19aa5788c3d4a0d_a4d046fd-6930-4f60-a30f-068ff700eb5e.webp?v=1752648365","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a58a17f21a08272e5a23d5f2ba42d743efeb952_0422c26f-ee55-4573-aef8-9b7a10cba1e1.webp?v=1752648366","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1594c6a42fa93d3dcb209c7e28c6996e0b2ce595_fad2e0de-336a-41b7-930d-09ad0ba5dca6.webp?v=1752648366","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bbbf8cf96065fa7ac1baa474d253b5fc7dc1e8f_a218f3b9-8c09-4d71-876c-47bae3128176.webp?v=1752648367","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1d5b893d4e00201735b0bd9383cf591333d46e4_9ad386de-a3ca-4591-9494-1d645299d8db.webp?v=1752648367","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/243e04c692d43545efe2c971b7431e8f9dc7d53c_ab705912-8e15-4c2e-aa0c-cc2baa2d410f.webp?v=1752648368","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f96a7ae19282afa8e89ae6f47a0fbdf4535061be_ff643fdd-a5b1-4cb0-a1bf-d16bb52fc183.webp?v=1752648368","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46f63534992caa80e7ac12a38b841ecbeb7839ba_81363ce0-be8e-411f-9141-de93786f888b.webp?v=1752648369"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8ef3e3b2151b70e388106243367ee6595c0bd46.webp?v=1744708224","options":["color"],"media":[{"alt":null,"id":25495668097123,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8ef3e3b2151b70e388106243367ee6595c0bd46.webp?v=1744708224"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8ef3e3b2151b70e388106243367ee6595c0bd46.webp?v=1744708224","width":2000},{"alt":null,"id":25829418139747,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc6d83366b07f595a08134d3dab38e517da7334b_0fb479c8-a1d1-4592-a58f-57aa2c700f58.webp?v=1752648362"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc6d83366b07f595a08134d3dab38e517da7334b_0fb479c8-a1d1-4592-a58f-57aa2c700f58.webp?v=1752648362","width":2000},{"alt":null,"id":25829418336355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce3dc25c521f3c44ad5413374e754c43ec519b5d_7bdadc88-848e-4961-acd1-508e35fe6ecd.webp?v=1752648362"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce3dc25c521f3c44ad5413374e754c43ec519b5d_7bdadc88-848e-4961-acd1-508e35fe6ecd.webp?v=1752648362","width":2000},{"alt":null,"id":25829418631267,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42a3a49e62e1f1ac23b8581e4ca9b38dc563145a_7af285c6-e16e-45dc-9758-9d66b8b73a83.webp?v=1752648363"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42a3a49e62e1f1ac23b8581e4ca9b38dc563145a_7af285c6-e16e-45dc-9758-9d66b8b73a83.webp?v=1752648363","width":2000},{"alt":null,"id":25829418827875,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b373f7eec1f01f13bdff6d5cb6b3cdeb9646e26c_59170e3e-2aad-4029-9300-8c15ba0a38ca.webp?v=1752648364"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b373f7eec1f01f13bdff6d5cb6b3cdeb9646e26c_59170e3e-2aad-4029-9300-8c15ba0a38ca.webp?v=1752648364","width":2000},{"alt":null,"id":25829419319395,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7172027199de28bfe437e6fadeccd8437fd9124a_50f04d3e-1b27-4651-b6c9-96ff8c386f02.webp?v=1752648364"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7172027199de28bfe437e6fadeccd8437fd9124a_50f04d3e-1b27-4651-b6c9-96ff8c386f02.webp?v=1752648364","width":2000},{"alt":null,"id":25829419778147,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4c97d300a55bc962cc8b9c4c19aa5788c3d4a0d_a4d046fd-6930-4f60-a30f-068ff700eb5e.webp?v=1752648365"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4c97d300a55bc962cc8b9c4c19aa5788c3d4a0d_a4d046fd-6930-4f60-a30f-068ff700eb5e.webp?v=1752648365","width":2000},{"alt":null,"id":25829420073059,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a58a17f21a08272e5a23d5f2ba42d743efeb952_0422c26f-ee55-4573-aef8-9b7a10cba1e1.webp?v=1752648366"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a58a17f21a08272e5a23d5f2ba42d743efeb952_0422c26f-ee55-4573-aef8-9b7a10cba1e1.webp?v=1752648366","width":2000},{"alt":null,"id":25829420269667,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1594c6a42fa93d3dcb209c7e28c6996e0b2ce595_fad2e0de-336a-41b7-930d-09ad0ba5dca6.webp?v=1752648366"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1594c6a42fa93d3dcb209c7e28c6996e0b2ce595_fad2e0de-336a-41b7-930d-09ad0ba5dca6.webp?v=1752648366","width":2000},{"alt":null,"id":25829420400739,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bbbf8cf96065fa7ac1baa474d253b5fc7dc1e8f_a218f3b9-8c09-4d71-876c-47bae3128176.webp?v=1752648367"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2bbbf8cf96065fa7ac1baa474d253b5fc7dc1e8f_a218f3b9-8c09-4d71-876c-47bae3128176.webp?v=1752648367","width":2000},{"alt":null,"id":25829420564579,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1d5b893d4e00201735b0bd9383cf591333d46e4_9ad386de-a3ca-4591-9494-1d645299d8db.webp?v=1752648367"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1d5b893d4e00201735b0bd9383cf591333d46e4_9ad386de-a3ca-4591-9494-1d645299d8db.webp?v=1752648367","width":2000},{"alt":null,"id":25829420630115,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/243e04c692d43545efe2c971b7431e8f9dc7d53c_ab705912-8e15-4c2e-aa0c-cc2baa2d410f.webp?v=1752648368"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/243e04c692d43545efe2c971b7431e8f9dc7d53c_ab705912-8e15-4c2e-aa0c-cc2baa2d410f.webp?v=1752648368","width":2000},{"alt":null,"id":25829420728419,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f96a7ae19282afa8e89ae6f47a0fbdf4535061be_ff643fdd-a5b1-4cb0-a1bf-d16bb52fc183.webp?v=1752648368"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f96a7ae19282afa8e89ae6f47a0fbdf4535061be_ff643fdd-a5b1-4cb0-a1bf-d16bb52fc183.webp?v=1752648368","width":2000},{"alt":null,"id":25829420793955,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46f63534992caa80e7ac12a38b841ecbeb7839ba_81363ce0-be8e-411f-9141-de93786f888b.webp?v=1752648369"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46f63534992caa80e7ac12a38b841ecbeb7839ba_81363ce0-be8e-411f-9141-de93786f888b.webp?v=1752648369","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43302711132259,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-XF47","requires_shipping":true,"taxable":true,"featured_image":{"id":34196557922403,"product_id":7769514803299,"position":8,"created_at":"2025-07-16T14:46:04+08:00","updated_at":"2025-07-16T14:46:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a58a17f21a08272e5a23d5f2ba42d743efeb952_0422c26f-ee55-4573-aef8-9b7a10cba1e1.webp?v=1752648366","variant_ids":[43302711132259]},"available":true,"name":"iPhone 14 Plus Mod NX ilovedoodle Mindful Cat - Love Yourself - 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-XF47","featured_media":{"alt":null,"id":25829420073059,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a58a17f21a08272e5a23d5f2ba42d743efeb952_0422c26f-ee55-4573-aef8-9b7a10cba1e1.webp?v=1752648366"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43302711132259,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126124-XF47","requires_shipping":true,"taxable":true,"featured_image":{"id":34196557922403,"product_id":7769514803299,"position":8,"created_at":"2025-07-16T14:46:04+08:00","updated_at":"2025-07-16T14:46:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a58a17f21a08272e5a23d5f2ba42d743efeb952_0422c26f-ee55-4573-aef8-9b7a10cba1e1.webp?v=1752648366","variant_ids":[43302711132259]},"available":true,"name":"iPhone 14 Plus Mod NX ilovedoodle Mindful Cat - Love Yourself - 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-XF47","featured_media":{"alt":null,"id":25829420073059,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a58a17f21a08272e5a23d5f2ba42d743efeb952_0422c26f-ee55-4573-aef8-9b7a10cba1e1.webp?v=1752648366"}},"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: "停產"
}