$product = {"id":7838027251811,"title":"iPhone 14 Pro Mod NX (MagSafe 兼容) BOUNCE Bounce Universe","handle":"iphone-14-pro-mod-nx-magsafe-hk61","description":null,"published_at":"2025-07-16T12:01:26+08:00","created_at":"2025-07-16T09:37:54+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-bounce","device-iPhone 14 Pro","merge","reseller-bounce"],"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":43528529313891,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-HK61","requires_shipping":true,"taxable":true,"featured_image":{"id":34193063542883,"product_id":7838027251811,"position":11,"created_at":"2025-07-16T09:38:03+08:00","updated_at":"2025-07-16T09:38:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/695930881a3d9ec3e59c415d0e4d66f81d0c2d33.webp?v=1752629885","variant_ids":[43528529313891]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) BOUNCE Bounce Universe - 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-HK61","featured_media":{"alt":null,"id":25827252764771,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/695930881a3d9ec3e59c415d0e4d66f81d0c2d33.webp?v=1752629885"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43528529412195,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-HK61","requires_shipping":true,"taxable":true,"featured_image":{"id":34193059709027,"product_id":7838027251811,"position":4,"created_at":"2025-07-16T09:38:00+08:00","updated_at":"2025-07-16T09:38:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5635acdfb80fbcaa3bd40c69c854b94ef94a7dd8.webp?v=1752629882","variant_ids":[43528529412195]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) BOUNCE Bounce Universe - 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-HK61","featured_media":{"alt":null,"id":25827250733155,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5635acdfb80fbcaa3bd40c69c854b94ef94a7dd8.webp?v=1752629882"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43528529543267,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-HK61","requires_shipping":true,"taxable":true,"featured_image":{"id":34193058103395,"product_id":7838027251811,"position":1,"created_at":"2025-07-16T09:37:58+08:00","updated_at":"2025-07-16T09:38:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d93a832d2ec9c13edcbca15f60f9cba542e0a1a.webp?v=1752629880","variant_ids":[43528529543267]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) BOUNCE Bounce Universe - 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-HK61","featured_media":{"alt":null,"id":25827250110563,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d93a832d2ec9c13edcbca15f60f9cba542e0a1a.webp?v=1752629880"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d93a832d2ec9c13edcbca15f60f9cba542e0a1a.webp?v=1752629880","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fae773b872855e04bd1fd4a50d88d9ee08ddac26.webp?v=1752629880","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbf042ed3d3fddc78d688ad2fa19b0d26974219e.webp?v=1752629881","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5635acdfb80fbcaa3bd40c69c854b94ef94a7dd8.webp?v=1752629882","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a60e5447179b8241170bac25c0f352e10d4d7fae.webp?v=1752629882","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1615071bdc234ea34b9039928a9e56acfa8bc4c3.webp?v=1752629882","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0412f8103f1f6ff6232ce7ac3b0bc9b354d972c5.webp?v=1752629883","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f17f820d76d04863b432704f8352b5dd96c78a7.webp?v=1752629884","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42408665ab710612b73f304c295aaa411feba13d.webp?v=1752629884","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/047b15e5edc2463068ffb124d6a706a4c6cdb8e7.webp?v=1752629885","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/695930881a3d9ec3e59c415d0e4d66f81d0c2d33.webp?v=1752629885","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08e858c4afc24a2ba3505c70c6967a208c626cd1.webp?v=1752629886"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d93a832d2ec9c13edcbca15f60f9cba542e0a1a.webp?v=1752629880","options":["color"],"media":[{"alt":null,"id":25827250110563,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d93a832d2ec9c13edcbca15f60f9cba542e0a1a.webp?v=1752629880"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d93a832d2ec9c13edcbca15f60f9cba542e0a1a.webp?v=1752629880","width":2000},{"alt":null,"id":25827250339939,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fae773b872855e04bd1fd4a50d88d9ee08ddac26.webp?v=1752629880"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fae773b872855e04bd1fd4a50d88d9ee08ddac26.webp?v=1752629880","width":2000},{"alt":null,"id":25827250536547,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbf042ed3d3fddc78d688ad2fa19b0d26974219e.webp?v=1752629881"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fbf042ed3d3fddc78d688ad2fa19b0d26974219e.webp?v=1752629881","width":2000},{"alt":null,"id":25827250733155,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5635acdfb80fbcaa3bd40c69c854b94ef94a7dd8.webp?v=1752629882"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5635acdfb80fbcaa3bd40c69c854b94ef94a7dd8.webp?v=1752629882","width":2000},{"alt":null,"id":25827250995299,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a60e5447179b8241170bac25c0f352e10d4d7fae.webp?v=1752629882"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a60e5447179b8241170bac25c0f352e10d4d7fae.webp?v=1752629882","width":2000},{"alt":null,"id":25827251290211,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1615071bdc234ea34b9039928a9e56acfa8bc4c3.webp?v=1752629882"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1615071bdc234ea34b9039928a9e56acfa8bc4c3.webp?v=1752629882","width":2000},{"alt":null,"id":25827251617891,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0412f8103f1f6ff6232ce7ac3b0bc9b354d972c5.webp?v=1752629883"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0412f8103f1f6ff6232ce7ac3b0bc9b354d972c5.webp?v=1752629883","width":2000},{"alt":null,"id":25827251978339,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f17f820d76d04863b432704f8352b5dd96c78a7.webp?v=1752629884"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1f17f820d76d04863b432704f8352b5dd96c78a7.webp?v=1752629884","width":2000},{"alt":null,"id":25827252240483,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42408665ab710612b73f304c295aaa411feba13d.webp?v=1752629884"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/42408665ab710612b73f304c295aaa411feba13d.webp?v=1752629884","width":2000},{"alt":null,"id":25827252535395,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/047b15e5edc2463068ffb124d6a706a4c6cdb8e7.webp?v=1752629885"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/047b15e5edc2463068ffb124d6a706a4c6cdb8e7.webp?v=1752629885","width":2000},{"alt":null,"id":25827252764771,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/695930881a3d9ec3e59c415d0e4d66f81d0c2d33.webp?v=1752629885"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/695930881a3d9ec3e59c415d0e4d66f81d0c2d33.webp?v=1752629885","width":2000},{"alt":null,"id":25827252961379,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08e858c4afc24a2ba3505c70c6967a208c626cd1.webp?v=1752629886"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08e858c4afc24a2ba3505c70c6967a208c626cd1.webp?v=1752629886","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43528529313891,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-HK61","requires_shipping":true,"taxable":true,"featured_image":{"id":34193063542883,"product_id":7838027251811,"position":11,"created_at":"2025-07-16T09:38:03+08:00","updated_at":"2025-07-16T09:38:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/695930881a3d9ec3e59c415d0e4d66f81d0c2d33.webp?v=1752629885","variant_ids":[43528529313891]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) BOUNCE Bounce Universe - 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-HK61","featured_media":{"alt":null,"id":25827252764771,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/695930881a3d9ec3e59c415d0e4d66f81d0c2d33.webp?v=1752629885"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43528529412195,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126224-HK61","requires_shipping":true,"taxable":true,"featured_image":{"id":34193059709027,"product_id":7838027251811,"position":4,"created_at":"2025-07-16T09:38:00+08:00","updated_at":"2025-07-16T09:38:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5635acdfb80fbcaa3bd40c69c854b94ef94a7dd8.webp?v=1752629882","variant_ids":[43528529412195]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) BOUNCE Bounce Universe - 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-HK61","featured_media":{"alt":null,"id":25827250733155,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5635acdfb80fbcaa3bd40c69c854b94ef94a7dd8.webp?v=1752629882"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43528529543267,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01262J5-HK61","requires_shipping":true,"taxable":true,"featured_image":{"id":34193058103395,"product_id":7838027251811,"position":1,"created_at":"2025-07-16T09:37:58+08:00","updated_at":"2025-07-16T09:38:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d93a832d2ec9c13edcbca15f60f9cba542e0a1a.webp?v=1752629880","variant_ids":[43528529543267]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) BOUNCE Bounce Universe - 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-HK61","featured_media":{"alt":null,"id":25827250110563,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d93a832d2ec9c13edcbca15f60f9cba542e0a1a.webp?v=1752629880"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43528529313891,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126204-HK61","requires_shipping":true,"taxable":true,"featured_image":{"id":34193063542883,"product_id":7838027251811,"position":11,"created_at":"2025-07-16T09:38:03+08:00","updated_at":"2025-07-16T09:38:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/695930881a3d9ec3e59c415d0e4d66f81d0c2d33.webp?v=1752629885","variant_ids":[43528529313891]},"available":true,"name":"iPhone 14 Pro Mod NX (MagSafe 兼容) BOUNCE Bounce Universe - 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-HK61","featured_media":{"alt":null,"id":25827252764771,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/695930881a3d9ec3e59c415d0e4d66f81d0c2d33.webp?v=1752629885"}},"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: "停產"
}