$product = {"id":7769685753955,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Hug One Line - 愛與擁抱","handle":"iphone-14-plus-mod-nx-magsafe-printable-xf55","description":null,"published_at":"2025-07-16T17:09:44+08:00","created_at":"2025-04-15T19:27:08+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":43303517421667,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF55","requires_shipping":true,"taxable":true,"featured_image":{"id":34197711716451,"product_id":7769685753955,"position":12,"created_at":"2025-07-16T15:21:26+08:00","updated_at":"2025-07-16T15:21:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93ccd637497bf29eb4a519faf237467b14056085_299ca54b-63fd-479f-afed-1331ad5b42d6.webp?v=1752650487","variant_ids":[43303517421667]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Hug One Line - 愛與擁抱 - 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-XF55","featured_media":{"alt":null,"id":25830062555235,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93ccd637497bf29eb4a519faf237467b14056085_299ca54b-63fd-479f-afed-1331ad5b42d6.webp?v=1752650487"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4db672e78e8819aef6486dc2ac1f163fa6edb7c.webp?v=1744716434","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fda40390c1ad782d7f5b10fc3389624745f0254_573792a9-b770-4281-8bd6-280f8ff618a6.webp?v=1752650482","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b49c734e878d72d8683d9f0d1839a4d433b05cc_b143506c-f8fa-4fbe-ad1f-1f50061b77d8.webp?v=1752650482","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56014bc6cc86d0e61adc91ff0af43c5fa152e7ff_d9b828a1-e535-4e13-a3f9-37642d9bb37b.webp?v=1752650483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72aad4103a7d2f388fc4a05a61294b69f5c19122_6ec0e832-b329-4a30-acb1-daf421460b41.webp?v=1752650484","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dd965dc2f637f60e2fdc05ac1968456342787ef_8f9532fa-57ef-4b87-899b-051e80f0ddcb.webp?v=1752650484","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4905940b7f2caf7b4c0c074230c2b06813060438_3b849ae7-a0f4-4057-8d02-68026765722a.webp?v=1752650485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b7ae1f573ec23f81b09f8c074dac8eb555ebcd9_1a62c3ee-9f21-4719-b62e-bc76b5e1e930.webp?v=1752650485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fea5d6c0e84dd628bc0bab0885bbbb807d07e16_9cbf0a2b-70cc-44ae-8969-f202914cead5.webp?v=1752650486","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b8853a5e1c0cca647ae7faadb7af89a734a732e_ae0b35d6-7ace-41d7-a19d-a0f37f930734.webp?v=1752650486","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c78e55366b968d738d327217ff0fdabba89f1f4_e9a539aa-6ad8-4f0d-b666-d29e4582b28e.webp?v=1752650487","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93ccd637497bf29eb4a519faf237467b14056085_299ca54b-63fd-479f-afed-1331ad5b42d6.webp?v=1752650487","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/773f7a309382cfe4fee11a38be97f692b9fdba11_bef1e454-91fd-4f3e-ad5d-84d7275c43c6.webp?v=1752650488","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7865ec30f7b5b312e501ff38b4b3d20c1bfc13e3_d48b06fc-61aa-4ff7-ac5e-b1d23b40d175.webp?v=1752650488"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4db672e78e8819aef6486dc2ac1f163fa6edb7c.webp?v=1744716434","options":["color"],"media":[{"alt":null,"id":25496114954339,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4db672e78e8819aef6486dc2ac1f163fa6edb7c.webp?v=1744716434"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4db672e78e8819aef6486dc2ac1f163fa6edb7c.webp?v=1744716434","width":2000},{"alt":null,"id":25830057148515,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fda40390c1ad782d7f5b10fc3389624745f0254_573792a9-b770-4281-8bd6-280f8ff618a6.webp?v=1752650482"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3fda40390c1ad782d7f5b10fc3389624745f0254_573792a9-b770-4281-8bd6-280f8ff618a6.webp?v=1752650482","width":2000},{"alt":null,"id":25830057640035,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b49c734e878d72d8683d9f0d1839a4d433b05cc_b143506c-f8fa-4fbe-ad1f-1f50061b77d8.webp?v=1752650482"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b49c734e878d72d8683d9f0d1839a4d433b05cc_b143506c-f8fa-4fbe-ad1f-1f50061b77d8.webp?v=1752650482","width":2000},{"alt":null,"id":25830058885219,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56014bc6cc86d0e61adc91ff0af43c5fa152e7ff_d9b828a1-e535-4e13-a3f9-37642d9bb37b.webp?v=1752650483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/56014bc6cc86d0e61adc91ff0af43c5fa152e7ff_d9b828a1-e535-4e13-a3f9-37642d9bb37b.webp?v=1752650483","width":2000},{"alt":null,"id":25830059671651,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72aad4103a7d2f388fc4a05a61294b69f5c19122_6ec0e832-b329-4a30-acb1-daf421460b41.webp?v=1752650484"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72aad4103a7d2f388fc4a05a61294b69f5c19122_6ec0e832-b329-4a30-acb1-daf421460b41.webp?v=1752650484","width":2000},{"alt":null,"id":25830060195939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dd965dc2f637f60e2fdc05ac1968456342787ef_8f9532fa-57ef-4b87-899b-051e80f0ddcb.webp?v=1752650484"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0dd965dc2f637f60e2fdc05ac1968456342787ef_8f9532fa-57ef-4b87-899b-051e80f0ddcb.webp?v=1752650484","width":2000},{"alt":null,"id":25830060621923,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4905940b7f2caf7b4c0c074230c2b06813060438_3b849ae7-a0f4-4057-8d02-68026765722a.webp?v=1752650485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4905940b7f2caf7b4c0c074230c2b06813060438_3b849ae7-a0f4-4057-8d02-68026765722a.webp?v=1752650485","width":2000},{"alt":null,"id":25830061080675,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b7ae1f573ec23f81b09f8c074dac8eb555ebcd9_1a62c3ee-9f21-4719-b62e-bc76b5e1e930.webp?v=1752650485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6b7ae1f573ec23f81b09f8c074dac8eb555ebcd9_1a62c3ee-9f21-4719-b62e-bc76b5e1e930.webp?v=1752650485","width":2000},{"alt":null,"id":25830061506659,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fea5d6c0e84dd628bc0bab0885bbbb807d07e16_9cbf0a2b-70cc-44ae-8969-f202914cead5.webp?v=1752650486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8fea5d6c0e84dd628bc0bab0885bbbb807d07e16_9cbf0a2b-70cc-44ae-8969-f202914cead5.webp?v=1752650486","width":2000},{"alt":null,"id":25830061867107,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b8853a5e1c0cca647ae7faadb7af89a734a732e_ae0b35d6-7ace-41d7-a19d-a0f37f930734.webp?v=1752650486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b8853a5e1c0cca647ae7faadb7af89a734a732e_ae0b35d6-7ace-41d7-a19d-a0f37f930734.webp?v=1752650486","width":2000},{"alt":null,"id":25830062260323,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c78e55366b968d738d327217ff0fdabba89f1f4_e9a539aa-6ad8-4f0d-b666-d29e4582b28e.webp?v=1752650487"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5c78e55366b968d738d327217ff0fdabba89f1f4_e9a539aa-6ad8-4f0d-b666-d29e4582b28e.webp?v=1752650487","width":2000},{"alt":null,"id":25830062555235,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93ccd637497bf29eb4a519faf237467b14056085_299ca54b-63fd-479f-afed-1331ad5b42d6.webp?v=1752650487"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93ccd637497bf29eb4a519faf237467b14056085_299ca54b-63fd-479f-afed-1331ad5b42d6.webp?v=1752650487","width":2000},{"alt":null,"id":25830062817379,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/773f7a309382cfe4fee11a38be97f692b9fdba11_bef1e454-91fd-4f3e-ad5d-84d7275c43c6.webp?v=1752650488"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/773f7a309382cfe4fee11a38be97f692b9fdba11_bef1e454-91fd-4f3e-ad5d-84d7275c43c6.webp?v=1752650488","width":2000},{"alt":null,"id":25830062981219,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7865ec30f7b5b312e501ff38b4b3d20c1bfc13e3_d48b06fc-61aa-4ff7-ac5e-b1d23b40d175.webp?v=1752650488"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7865ec30f7b5b312e501ff38b4b3d20c1bfc13e3_d48b06fc-61aa-4ff7-ac5e-b1d23b40d175.webp?v=1752650488","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43303517421667,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF55","requires_shipping":true,"taxable":true,"featured_image":{"id":34197711716451,"product_id":7769685753955,"position":12,"created_at":"2025-07-16T15:21:26+08:00","updated_at":"2025-07-16T15:21:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93ccd637497bf29eb4a519faf237467b14056085_299ca54b-63fd-479f-afed-1331ad5b42d6.webp?v=1752650487","variant_ids":[43303517421667]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Hug One Line - 愛與擁抱 - 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-XF55","featured_media":{"alt":null,"id":25830062555235,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93ccd637497bf29eb4a519faf237467b14056085_299ca54b-63fd-479f-afed-1331ad5b42d6.webp?v=1752650487"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43303517421667,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-XF55","requires_shipping":true,"taxable":true,"featured_image":{"id":34197711716451,"product_id":7769685753955,"position":12,"created_at":"2025-07-16T15:21:26+08:00","updated_at":"2025-07-16T15:21:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93ccd637497bf29eb4a519faf237467b14056085_299ca54b-63fd-479f-afed-1331ad5b42d6.webp?v=1752650487","variant_ids":[43303517421667]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) ilovedoodle Hug One Line - 愛與擁抱 - 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-XF55","featured_media":{"alt":null,"id":25830062555235,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93ccd637497bf29eb4a519faf237467b14056085_299ca54b-63fd-479f-afed-1331ad5b42d6.webp?v=1752650487"}},"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: "停產"
}