$product = {"id":7995428536419,"title":"iPhone 14 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-史萊哲林學院學生","handle":"iphone-14-pro-max-solidsuit-classic-magsafe-oo149","description":null,"published_at":"2026-04-15T15:03:14+08:00","created_at":"2026-04-14T10:25:23+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-harry-potter","device-iPhone 14 Pro Max","merge","reseller-harry-potter"],"price":125000,"price_min":125000,"price_max":125000,"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":44115838861411,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"MST01263P2-OO149","requires_shipping":true,"taxable":true,"featured_image":{"id":35643219411043,"product_id":7995428536419,"position":4,"created_at":"2026-04-14T10:25:48+08:00","updated_at":"2026-04-14T10:25:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4b4b958d89688f7a9b19f0497d97bdfc264ee4.webp?v=1776133550","variant_ids":[44115838861411]},"available":true,"name":"iPhone 14 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-史萊哲林學院學生 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01263P2-OO149","featured_media":{"alt":null,"id":27171898294371,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4b4b958d89688f7a9b19f0497d97bdfc264ee4.webp?v=1776133550"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44115842924643,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012630E-OO149","requires_shipping":true,"taxable":true,"featured_image":{"id":35643219476579,"product_id":7995428536419,"position":5,"created_at":"2026-04-14T10:25:49+08:00","updated_at":"2026-04-14T10:25:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da56b7668ae7c4e31bcc52ddb39b77305de59b17.webp?v=1776133551","variant_ids":[44115842924643]},"available":true,"name":"iPhone 14 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-史萊哲林學院學生 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012630E-OO149","featured_media":{"alt":null,"id":27171898359907,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da56b7668ae7c4e31bcc52ddb39b77305de59b17.webp?v=1776133551"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44115843022947,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012630B-OO149","requires_shipping":true,"taxable":true,"featured_image":{"id":35643219279971,"product_id":7995428536419,"position":3,"created_at":"2026-04-14T10:25:47+08:00","updated_at":"2026-04-14T10:25:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/229ada794693dba2f043698a664477bfd927d087.webp?v=1776133549","variant_ids":[44115843022947]},"available":true,"name":"iPhone 14 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-史萊哲林學院學生 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012630B-OO149","featured_media":{"alt":null,"id":27171898163299,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/229ada794693dba2f043698a664477bfd927d087.webp?v=1776133549"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44115843088483,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126352-OO149","requires_shipping":true,"taxable":true,"featured_image":{"id":35643219116131,"product_id":7995428536419,"position":2,"created_at":"2026-04-14T10:25:47+08:00","updated_at":"2026-04-14T10:25:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e17ccd2543e0c6f554a70b675a255bc75692ec26.webp?v=1776133549","variant_ids":[44115843088483]},"available":true,"name":"iPhone 14 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-史萊哲林學院學生 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126352-OO149","featured_media":{"alt":null,"id":27171897999459,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e17ccd2543e0c6f554a70b675a255bc75692ec26.webp?v=1776133549"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59381c6370a8fcd181ce1a895e81f29cb5c3a799.webp?v=1776133548","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e17ccd2543e0c6f554a70b675a255bc75692ec26.webp?v=1776133549","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/229ada794693dba2f043698a664477bfd927d087.webp?v=1776133549","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4b4b958d89688f7a9b19f0497d97bdfc264ee4.webp?v=1776133550","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da56b7668ae7c4e31bcc52ddb39b77305de59b17.webp?v=1776133551"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59381c6370a8fcd181ce1a895e81f29cb5c3a799.webp?v=1776133548","options":["color"],"media":[{"alt":null,"id":27171897868387,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59381c6370a8fcd181ce1a895e81f29cb5c3a799.webp?v=1776133548"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59381c6370a8fcd181ce1a895e81f29cb5c3a799.webp?v=1776133548","width":2000},{"alt":null,"id":27171897999459,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e17ccd2543e0c6f554a70b675a255bc75692ec26.webp?v=1776133549"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e17ccd2543e0c6f554a70b675a255bc75692ec26.webp?v=1776133549","width":2000},{"alt":null,"id":27171898163299,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/229ada794693dba2f043698a664477bfd927d087.webp?v=1776133549"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/229ada794693dba2f043698a664477bfd927d087.webp?v=1776133549","width":2000},{"alt":null,"id":27171898294371,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4b4b958d89688f7a9b19f0497d97bdfc264ee4.webp?v=1776133550"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4b4b958d89688f7a9b19f0497d97bdfc264ee4.webp?v=1776133550","width":2000},{"alt":null,"id":27171898359907,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da56b7668ae7c4e31bcc52ddb39b77305de59b17.webp?v=1776133551"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da56b7668ae7c4e31bcc52ddb39b77305de59b17.webp?v=1776133551","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44115838861411,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"MST01263P2-OO149","requires_shipping":true,"taxable":true,"featured_image":{"id":35643219411043,"product_id":7995428536419,"position":4,"created_at":"2026-04-14T10:25:48+08:00","updated_at":"2026-04-14T10:25:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4b4b958d89688f7a9b19f0497d97bdfc264ee4.webp?v=1776133550","variant_ids":[44115838861411]},"available":true,"name":"iPhone 14 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-史萊哲林學院學生 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01263P2-OO149","featured_media":{"alt":null,"id":27171898294371,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4b4b958d89688f7a9b19f0497d97bdfc264ee4.webp?v=1776133550"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44115842924643,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012630E-OO149","requires_shipping":true,"taxable":true,"featured_image":{"id":35643219476579,"product_id":7995428536419,"position":5,"created_at":"2026-04-14T10:25:49+08:00","updated_at":"2026-04-14T10:25:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da56b7668ae7c4e31bcc52ddb39b77305de59b17.webp?v=1776133551","variant_ids":[44115842924643]},"available":true,"name":"iPhone 14 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-史萊哲林學院學生 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012630E-OO149","featured_media":{"alt":null,"id":27171898359907,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da56b7668ae7c4e31bcc52ddb39b77305de59b17.webp?v=1776133551"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44115843022947,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012630B-OO149","requires_shipping":true,"taxable":true,"featured_image":{"id":35643219279971,"product_id":7995428536419,"position":3,"created_at":"2026-04-14T10:25:47+08:00","updated_at":"2026-04-14T10:25:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/229ada794693dba2f043698a664477bfd927d087.webp?v=1776133549","variant_ids":[44115843022947]},"available":true,"name":"iPhone 14 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-史萊哲林學院學生 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012630B-OO149","featured_media":{"alt":null,"id":27171898163299,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/229ada794693dba2f043698a664477bfd927d087.webp?v=1776133549"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44115843088483,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126352-OO149","requires_shipping":true,"taxable":true,"featured_image":{"id":35643219116131,"product_id":7995428536419,"position":2,"created_at":"2026-04-14T10:25:47+08:00","updated_at":"2026-04-14T10:25:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e17ccd2543e0c6f554a70b675a255bc75692ec26.webp?v=1776133549","variant_ids":[44115843088483]},"available":true,"name":"iPhone 14 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-史萊哲林學院學生 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126352-OO149","featured_media":{"alt":null,"id":27171897999459,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e17ccd2543e0c6f554a70b675a255bc75692ec26.webp?v=1776133549"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44115838861411,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"MST01263P2-OO149","requires_shipping":true,"taxable":true,"featured_image":{"id":35643219411043,"product_id":7995428536419,"position":4,"created_at":"2026-04-14T10:25:48+08:00","updated_at":"2026-04-14T10:25:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4b4b958d89688f7a9b19f0497d97bdfc264ee4.webp?v=1776133550","variant_ids":[44115838861411]},"available":true,"name":"iPhone 14 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-史萊哲林學院學生 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01263P2-OO149","featured_media":{"alt":null,"id":27171898294371,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4b4b958d89688f7a9b19f0497d97bdfc264ee4.webp?v=1776133550"}},"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: "停產"
}