$product = {"id":7960708218979,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) flyffustar 毛絨絨星人 小恐龍Nini","handle":"iphone-14-pro-mod-nx-magsafe-flu04","description":null,"published_at":"2026-02-10T15:13:00+08:00","created_at":"2026-02-09T15:04:34+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-flyffustar","device-iPhone 14 Pro","merge","reseller-flyffustar"],"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":43992170463331,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-FLU04","requires_shipping":true,"taxable":true,"featured_image":{"id":35220906115171,"product_id":7960708218979,"position":10,"created_at":"2026-02-10T09:42:45+08:00","updated_at":"2026-02-10T09:42:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76137666c68d13b10575c0a9fa0c3e2699fd7efa_ff0f10cc-6e3c-479d-a0dc-eb1bb17599b4.webp?v=1770687768","variant_ids":[43992170463331]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) flyffustar 毛絨絨星人 小恐龍Nini - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-FLU04","featured_media":{"alt":null,"id":26773107310691,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76137666c68d13b10575c0a9fa0c3e2699fd7efa_ff0f10cc-6e3c-479d-a0dc-eb1bb17599b4.webp?v=1770687768"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43992174821475,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-FLU04","requires_shipping":true,"taxable":true,"featured_image":{"id":35220905754723,"product_id":7960708218979,"position":6,"created_at":"2026-02-10T09:42:43+08:00","updated_at":"2026-02-10T09:42:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/073d1fe9d3c086dae00913f3d8d5551f4aa55b5d_ff7c7fcf-7580-41a5-8f3a-165fab1ab641.webp?v=1770687765","variant_ids":[43992174821475]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) flyffustar 毛絨絨星人 小恐龍Nini - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-FLU04","featured_media":{"alt":null,"id":26773106950243,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/073d1fe9d3c086dae00913f3d8d5551f4aa55b5d_ff7c7fcf-7580-41a5-8f3a-165fab1ab641.webp?v=1770687765"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43992174985315,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-FLU04","requires_shipping":true,"taxable":true,"featured_image":{"id":35220905787491,"product_id":7960708218979,"position":7,"created_at":"2026-02-10T09:42:44+08:00","updated_at":"2026-02-10T09:42:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5faf31e17486fba3a586feea032cd199e449d05_34e72337-d07b-4d1b-a214-8c8ba6730c9f.webp?v=1770687766","variant_ids":[43992174985315]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) flyffustar 毛絨絨星人 小恐龍Nini - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-FLU04","featured_media":{"alt":null,"id":26773106983011,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5faf31e17486fba3a586feea032cd199e449d05_34e72337-d07b-4d1b-a214-8c8ba6730c9f.webp?v=1770687766"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c35cb87c2fe1063cb2f20440f9d6be07151c88c.webp?v=1770620691","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76137666c68d13b10575c0a9fa0c3e2699fd7efa.webp?v=1770620691","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/073d1fe9d3c086dae00913f3d8d5551f4aa55b5d.webp?v=1770620692","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5faf31e17486fba3a586feea032cd199e449d05.webp?v=1770620692","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e4b9985ba21edcc218c949099c0b38d59f55dce.webp?v=1770620693","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/073d1fe9d3c086dae00913f3d8d5551f4aa55b5d_ff7c7fcf-7580-41a5-8f3a-165fab1ab641.webp?v=1770687765","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5faf31e17486fba3a586feea032cd199e449d05_34e72337-d07b-4d1b-a214-8c8ba6730c9f.webp?v=1770687766","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c35cb87c2fe1063cb2f20440f9d6be07151c88c_b4395f5c-2c37-4291-90cc-64277e371856.webp?v=1770687766","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e4b9985ba21edcc218c949099c0b38d59f55dce_6b8526bb-fce1-444e-967e-b9dfc8cacd74.webp?v=1770687767","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76137666c68d13b10575c0a9fa0c3e2699fd7efa_ff0f10cc-6e3c-479d-a0dc-eb1bb17599b4.webp?v=1770687768"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c35cb87c2fe1063cb2f20440f9d6be07151c88c.webp?v=1770620691","options":["color"],"media":[{"alt":null,"id":26767674605667,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c35cb87c2fe1063cb2f20440f9d6be07151c88c.webp?v=1770620691"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c35cb87c2fe1063cb2f20440f9d6be07151c88c.webp?v=1770620691","width":2000},{"alt":null,"id":26767674736739,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76137666c68d13b10575c0a9fa0c3e2699fd7efa.webp?v=1770620691"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76137666c68d13b10575c0a9fa0c3e2699fd7efa.webp?v=1770620691","width":2000},{"alt":null,"id":26767675293795,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/073d1fe9d3c086dae00913f3d8d5551f4aa55b5d.webp?v=1770620692"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/073d1fe9d3c086dae00913f3d8d5551f4aa55b5d.webp?v=1770620692","width":2000},{"alt":null,"id":26767675490403,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5faf31e17486fba3a586feea032cd199e449d05.webp?v=1770620692"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5faf31e17486fba3a586feea032cd199e449d05.webp?v=1770620692","width":2000},{"alt":null,"id":26767675687011,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e4b9985ba21edcc218c949099c0b38d59f55dce.webp?v=1770620693"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e4b9985ba21edcc218c949099c0b38d59f55dce.webp?v=1770620693","width":2000},{"alt":null,"id":26773106950243,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/073d1fe9d3c086dae00913f3d8d5551f4aa55b5d_ff7c7fcf-7580-41a5-8f3a-165fab1ab641.webp?v=1770687765"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/073d1fe9d3c086dae00913f3d8d5551f4aa55b5d_ff7c7fcf-7580-41a5-8f3a-165fab1ab641.webp?v=1770687765","width":2000},{"alt":null,"id":26773106983011,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5faf31e17486fba3a586feea032cd199e449d05_34e72337-d07b-4d1b-a214-8c8ba6730c9f.webp?v=1770687766"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5faf31e17486fba3a586feea032cd199e449d05_34e72337-d07b-4d1b-a214-8c8ba6730c9f.webp?v=1770687766","width":2000},{"alt":null,"id":26773107048547,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c35cb87c2fe1063cb2f20440f9d6be07151c88c_b4395f5c-2c37-4291-90cc-64277e371856.webp?v=1770687766"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c35cb87c2fe1063cb2f20440f9d6be07151c88c_b4395f5c-2c37-4291-90cc-64277e371856.webp?v=1770687766","width":2000},{"alt":null,"id":26773107179619,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e4b9985ba21edcc218c949099c0b38d59f55dce_6b8526bb-fce1-444e-967e-b9dfc8cacd74.webp?v=1770687767"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e4b9985ba21edcc218c949099c0b38d59f55dce_6b8526bb-fce1-444e-967e-b9dfc8cacd74.webp?v=1770687767","width":2000},{"alt":null,"id":26773107310691,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76137666c68d13b10575c0a9fa0c3e2699fd7efa_ff0f10cc-6e3c-479d-a0dc-eb1bb17599b4.webp?v=1770687768"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76137666c68d13b10575c0a9fa0c3e2699fd7efa_ff0f10cc-6e3c-479d-a0dc-eb1bb17599b4.webp?v=1770687768","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43992170463331,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-FLU04","requires_shipping":true,"taxable":true,"featured_image":{"id":35220906115171,"product_id":7960708218979,"position":10,"created_at":"2026-02-10T09:42:45+08:00","updated_at":"2026-02-10T09:42:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76137666c68d13b10575c0a9fa0c3e2699fd7efa_ff0f10cc-6e3c-479d-a0dc-eb1bb17599b4.webp?v=1770687768","variant_ids":[43992170463331]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) flyffustar 毛絨絨星人 小恐龍Nini - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-FLU04","featured_media":{"alt":null,"id":26773107310691,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76137666c68d13b10575c0a9fa0c3e2699fd7efa_ff0f10cc-6e3c-479d-a0dc-eb1bb17599b4.webp?v=1770687768"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43992174821475,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-FLU04","requires_shipping":true,"taxable":true,"featured_image":{"id":35220905754723,"product_id":7960708218979,"position":6,"created_at":"2026-02-10T09:42:43+08:00","updated_at":"2026-02-10T09:42:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/073d1fe9d3c086dae00913f3d8d5551f4aa55b5d_ff7c7fcf-7580-41a5-8f3a-165fab1ab641.webp?v=1770687765","variant_ids":[43992174821475]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) flyffustar 毛絨絨星人 小恐龍Nini - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-FLU04","featured_media":{"alt":null,"id":26773106950243,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/073d1fe9d3c086dae00913f3d8d5551f4aa55b5d_ff7c7fcf-7580-41a5-8f3a-165fab1ab641.webp?v=1770687765"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43992174985315,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-FLU04","requires_shipping":true,"taxable":true,"featured_image":{"id":35220905787491,"product_id":7960708218979,"position":7,"created_at":"2026-02-10T09:42:44+08:00","updated_at":"2026-02-10T09:42:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5faf31e17486fba3a586feea032cd199e449d05_34e72337-d07b-4d1b-a214-8c8ba6730c9f.webp?v=1770687766","variant_ids":[43992174985315]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) flyffustar 毛絨絨星人 小恐龍Nini - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-FLU04","featured_media":{"alt":null,"id":26773106983011,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d5faf31e17486fba3a586feea032cd199e449d05_34e72337-d07b-4d1b-a214-8c8ba6730c9f.webp?v=1770687766"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43992170463331,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-FLU04","requires_shipping":true,"taxable":true,"featured_image":{"id":35220906115171,"product_id":7960708218979,"position":10,"created_at":"2026-02-10T09:42:45+08:00","updated_at":"2026-02-10T09:42:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76137666c68d13b10575c0a9fa0c3e2699fd7efa_ff0f10cc-6e3c-479d-a0dc-eb1bb17599b4.webp?v=1770687768","variant_ids":[43992170463331]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) flyffustar 毛絨絨星人 小恐龍Nini - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-FLU04","featured_media":{"alt":null,"id":26773107310691,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/76137666c68d13b10575c0a9fa0c3e2699fd7efa_ff0f10cc-6e3c-479d-a0dc-eb1bb17599b4.webp?v=1770687768"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(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: "停產"
}