$product = {"id":7911175258211,"title":"iPhone 14 Plus Mod NX (MagSafe 兼容) PosterLad BE YOU","handle":"iphone-14-plus-mod-nx-magsafe-printable-pos11","description":null,"published_at":"2025-11-05T10:51:55+08:00","created_at":"2025-11-04T10:28:45+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-posterlad","device-iPhone 14 Plus","merge","reseller-posterlad"],"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":43811874308195,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-POS11","requires_shipping":true,"taxable":true,"featured_image":{"id":34728997650531,"product_id":7911175258211,"position":3,"created_at":"2025-11-04T10:28:52+08:00","updated_at":"2025-11-04T10:28:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aee49067fb2b5e8f8ac8b3ada2f16a4b581fe58c.webp?v=1762223334","variant_ids":[43811874308195]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) PosterLad BE YOU - 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-POS11","featured_media":{"alt":null,"id":26296866144355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aee49067fb2b5e8f8ac8b3ada2f16a4b581fe58c.webp?v=1762223334"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/350dca5b450e657f5e72ce36b99f3c964207b173.webp?v=1762223333","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b90119c6e93b592e0cc698b71ab15539bd9fc82.webp?v=1762223333","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aee49067fb2b5e8f8ac8b3ada2f16a4b581fe58c.webp?v=1762223334","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ff460488634897aada613244aa9636427ca4cde.webp?v=1762223335","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33058051c3450c5d69e9a4e80e930fe7d9a6bd0d.webp?v=1762223336","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3181400c069cb898f685078ddeebf32d7542b7bc.webp?v=1762223337","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03c208574730b33721d966f73c57563903a93c6e.webp?v=1762223338","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d66f9305b1f7bafaded05e78f01a4bac48e07027.webp?v=1762223339","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61dc6ad86b8cff3b36e17e935b29f6ceeca69931.webp?v=1762223340","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08dbdfa6c59e9caed25b881ffe15eb06d8dd1a7b.webp?v=1762223340","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01a4ad64a7c3f3789ce93ec5a778b83473f23244.webp?v=1762223341","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e364f75f4948cf9e9ad749ee8d6e256d8c43c40.webp?v=1762223342","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e0e15943fc9de461c37a25c8466ee765f095991.webp?v=1762223343"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/350dca5b450e657f5e72ce36b99f3c964207b173.webp?v=1762223333","options":["color"],"media":[{"alt":null,"id":26296865587299,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/350dca5b450e657f5e72ce36b99f3c964207b173.webp?v=1762223333"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/350dca5b450e657f5e72ce36b99f3c964207b173.webp?v=1762223333","width":2000},{"alt":null,"id":26296865914979,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b90119c6e93b592e0cc698b71ab15539bd9fc82.webp?v=1762223333"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8b90119c6e93b592e0cc698b71ab15539bd9fc82.webp?v=1762223333","width":2000},{"alt":null,"id":26296866144355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aee49067fb2b5e8f8ac8b3ada2f16a4b581fe58c.webp?v=1762223334"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aee49067fb2b5e8f8ac8b3ada2f16a4b581fe58c.webp?v=1762223334","width":2000},{"alt":null,"id":26296866472035,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ff460488634897aada613244aa9636427ca4cde.webp?v=1762223335"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ff460488634897aada613244aa9636427ca4cde.webp?v=1762223335","width":2000},{"alt":null,"id":26296866898019,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33058051c3450c5d69e9a4e80e930fe7d9a6bd0d.webp?v=1762223336"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33058051c3450c5d69e9a4e80e930fe7d9a6bd0d.webp?v=1762223336","width":2000},{"alt":null,"id":26296867127395,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3181400c069cb898f685078ddeebf32d7542b7bc.webp?v=1762223337"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3181400c069cb898f685078ddeebf32d7542b7bc.webp?v=1762223337","width":2000},{"alt":null,"id":26296867422307,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03c208574730b33721d966f73c57563903a93c6e.webp?v=1762223338"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03c208574730b33721d966f73c57563903a93c6e.webp?v=1762223338","width":2000},{"alt":null,"id":26296867848291,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d66f9305b1f7bafaded05e78f01a4bac48e07027.webp?v=1762223339"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d66f9305b1f7bafaded05e78f01a4bac48e07027.webp?v=1762223339","width":2000},{"alt":null,"id":26296868044899,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61dc6ad86b8cff3b36e17e935b29f6ceeca69931.webp?v=1762223340"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61dc6ad86b8cff3b36e17e935b29f6ceeca69931.webp?v=1762223340","width":2000},{"alt":null,"id":26296868307043,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08dbdfa6c59e9caed25b881ffe15eb06d8dd1a7b.webp?v=1762223340"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08dbdfa6c59e9caed25b881ffe15eb06d8dd1a7b.webp?v=1762223340","width":2000},{"alt":null,"id":26296868503651,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01a4ad64a7c3f3789ce93ec5a778b83473f23244.webp?v=1762223341"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01a4ad64a7c3f3789ce93ec5a778b83473f23244.webp?v=1762223341","width":2000},{"alt":null,"id":26296868733027,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e364f75f4948cf9e9ad749ee8d6e256d8c43c40.webp?v=1762223342"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e364f75f4948cf9e9ad749ee8d6e256d8c43c40.webp?v=1762223342","width":2000},{"alt":null,"id":26296868929635,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e0e15943fc9de461c37a25c8466ee765f095991.webp?v=1762223343"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8e0e15943fc9de461c37a25c8466ee765f095991.webp?v=1762223343","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43811874308195,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-POS11","requires_shipping":true,"taxable":true,"featured_image":{"id":34728997650531,"product_id":7911175258211,"position":3,"created_at":"2025-11-04T10:28:52+08:00","updated_at":"2025-11-04T10:28:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aee49067fb2b5e8f8ac8b3ada2f16a4b581fe58c.webp?v=1762223334","variant_ids":[43811874308195]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) PosterLad BE YOU - 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-POS11","featured_media":{"alt":null,"id":26296866144355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aee49067fb2b5e8f8ac8b3ada2f16a4b581fe58c.webp?v=1762223334"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43811874308195,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126124-POS11","requires_shipping":true,"taxable":true,"featured_image":{"id":34728997650531,"product_id":7911175258211,"position":3,"created_at":"2025-11-04T10:28:52+08:00","updated_at":"2025-11-04T10:28:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aee49067fb2b5e8f8ac8b3ada2f16a4b581fe58c.webp?v=1762223334","variant_ids":[43811874308195]},"available":true,"name":"iPhone 14 Plus Mod NX (MagSafe 兼容) PosterLad BE YOU - 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-POS11","featured_media":{"alt":null,"id":26296866144355,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aee49067fb2b5e8f8ac8b3ada2f16a4b581fe58c.webp?v=1762223334"}},"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: "停產"
}