$product = {"id":7995399307363,"title":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-錄取通知書","handle":"iphone-12-pro-max-solidsuit-classic-magsafe-oo154","description":null,"published_at":"2026-04-15T15:09:55+08:00","created_at":"2026-04-14T10:18:34+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-harry-potter","device-iPhone 12 Pro Max","merge","reseller-harry-potter"],"price":135000,"price_min":135000,"price_max":135000,"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":44115725680739,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011870E-OO154","requires_shipping":true,"taxable":true,"featured_image":{"id":35643091419235,"product_id":7995399307363,"position":7,"created_at":"2026-04-14T10:19:06+08:00","updated_at":"2026-04-14T10:19:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54058ec5694ec7ad90ae12368160da7f3f88f24e.webp?v=1776133148","variant_ids":[44115725680739]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-錄取通知書 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011870E-OO154","featured_media":{"alt":null,"id":27171770335331,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54058ec5694ec7ad90ae12368160da7f3f88f24e.webp?v=1776133148"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44115726073955,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011870D-OO154","requires_shipping":true,"taxable":true,"featured_image":{"id":35643090042979,"product_id":7995399307363,"position":3,"created_at":"2026-04-14T10:19:04+08:00","updated_at":"2026-04-14T10:19:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0991bf798db6aee4e67e8cffff4f270eb77bbfa5.webp?v=1776133146","variant_ids":[44115726073955]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-錄取通知書 - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011870D-OO154","featured_media":{"alt":null,"id":27171768926307,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0991bf798db6aee4e67e8cffff4f270eb77bbfa5.webp?v=1776133146"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44115726270563,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST011870C-OO154","requires_shipping":true,"taxable":true,"featured_image":{"id":35643090600035,"product_id":7995399307363,"position":5,"created_at":"2026-04-14T10:19:05+08:00","updated_at":"2026-04-14T10:19:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e211530db57173aab0cb2ae8ec74ec596f6e7a0.webp?v=1776133147","variant_ids":[44115726270563]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-錄取通知書 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011870C-OO154","featured_media":{"alt":null,"id":27171769516131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e211530db57173aab0cb2ae8ec74ec596f6e7a0.webp?v=1776133147"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44115726565475,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST011870B-OO154","requires_shipping":true,"taxable":true,"featured_image":{"id":35643089485923,"product_id":7995399307363,"position":1,"created_at":"2026-04-14T10:19:03+08:00","updated_at":"2026-04-14T10:19:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27fc32d532c827d1e0460280cdb69c313e7194a8.webp?v=1776133145","variant_ids":[44115726565475]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-錄取通知書 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011870B-OO154","featured_media":{"alt":null,"id":27171768369251,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27fc32d532c827d1e0460280cdb69c313e7194a8.webp?v=1776133145"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44115726762083,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"MST01187O9-OO154","requires_shipping":true,"taxable":true,"featured_image":{"id":35643089748067,"product_id":7995399307363,"position":2,"created_at":"2026-04-14T10:19:03+08:00","updated_at":"2026-04-14T10:19:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2c9226c937c1c4b7991b9787a02d06c6460cbbb.webp?v=1776133145","variant_ids":[44115726762083]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-錄取通知書 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01187O9-OO154","featured_media":{"alt":null,"id":27171768631395,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2c9226c937c1c4b7991b9787a02d06c6460cbbb.webp?v=1776133145"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44115727253603,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118752-OO154","requires_shipping":true,"taxable":true,"featured_image":{"id":35643090993251,"product_id":7995399307363,"position":6,"created_at":"2026-04-14T10:19:05+08:00","updated_at":"2026-04-14T10:19:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cbbbfbe6fffcc553f421f4d87b6f3784d1b9379.webp?v=1776133147","variant_ids":[44115727253603]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-錄取通知書 - Black","public_title":"Black","options":["Black"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118752-OO154","featured_media":{"alt":null,"id":27171769843811,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cbbbfbe6fffcc553f421f4d87b6f3784d1b9379.webp?v=1776133147"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27fc32d532c827d1e0460280cdb69c313e7194a8.webp?v=1776133145","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2c9226c937c1c4b7991b9787a02d06c6460cbbb.webp?v=1776133145","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0991bf798db6aee4e67e8cffff4f270eb77bbfa5.webp?v=1776133146","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/015b99ba8c6b60771d34f0b2c8689194654f0bd3.webp?v=1776133146","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e211530db57173aab0cb2ae8ec74ec596f6e7a0.webp?v=1776133147","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cbbbfbe6fffcc553f421f4d87b6f3784d1b9379.webp?v=1776133147","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54058ec5694ec7ad90ae12368160da7f3f88f24e.webp?v=1776133148","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1c46868762cd491f1254aab92455141446f47a9.webp?v=1776133149"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27fc32d532c827d1e0460280cdb69c313e7194a8.webp?v=1776133145","options":["color"],"media":[{"alt":null,"id":27171768369251,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27fc32d532c827d1e0460280cdb69c313e7194a8.webp?v=1776133145"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27fc32d532c827d1e0460280cdb69c313e7194a8.webp?v=1776133145","width":2000},{"alt":null,"id":27171768631395,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2c9226c937c1c4b7991b9787a02d06c6460cbbb.webp?v=1776133145"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2c9226c937c1c4b7991b9787a02d06c6460cbbb.webp?v=1776133145","width":2000},{"alt":null,"id":27171768926307,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0991bf798db6aee4e67e8cffff4f270eb77bbfa5.webp?v=1776133146"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0991bf798db6aee4e67e8cffff4f270eb77bbfa5.webp?v=1776133146","width":2000},{"alt":null,"id":27171769188451,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/015b99ba8c6b60771d34f0b2c8689194654f0bd3.webp?v=1776133146"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/015b99ba8c6b60771d34f0b2c8689194654f0bd3.webp?v=1776133146","width":2000},{"alt":null,"id":27171769516131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e211530db57173aab0cb2ae8ec74ec596f6e7a0.webp?v=1776133147"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e211530db57173aab0cb2ae8ec74ec596f6e7a0.webp?v=1776133147","width":2000},{"alt":null,"id":27171769843811,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cbbbfbe6fffcc553f421f4d87b6f3784d1b9379.webp?v=1776133147"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cbbbfbe6fffcc553f421f4d87b6f3784d1b9379.webp?v=1776133147","width":2000},{"alt":null,"id":27171770335331,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54058ec5694ec7ad90ae12368160da7f3f88f24e.webp?v=1776133148"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54058ec5694ec7ad90ae12368160da7f3f88f24e.webp?v=1776133148","width":2000},{"alt":null,"id":27171770794083,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1c46868762cd491f1254aab92455141446f47a9.webp?v=1776133149"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1c46868762cd491f1254aab92455141446f47a9.webp?v=1776133149","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":44115725680739,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011870E-OO154","requires_shipping":true,"taxable":true,"featured_image":{"id":35643091419235,"product_id":7995399307363,"position":7,"created_at":"2026-04-14T10:19:06+08:00","updated_at":"2026-04-14T10:19:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54058ec5694ec7ad90ae12368160da7f3f88f24e.webp?v=1776133148","variant_ids":[44115725680739]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-錄取通知書 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011870E-OO154","featured_media":{"alt":null,"id":27171770335331,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54058ec5694ec7ad90ae12368160da7f3f88f24e.webp?v=1776133148"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44115726073955,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011870D-OO154","requires_shipping":true,"taxable":true,"featured_image":{"id":35643090042979,"product_id":7995399307363,"position":3,"created_at":"2026-04-14T10:19:04+08:00","updated_at":"2026-04-14T10:19:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0991bf798db6aee4e67e8cffff4f270eb77bbfa5.webp?v=1776133146","variant_ids":[44115726073955]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-錄取通知書 - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011870D-OO154","featured_media":{"alt":null,"id":27171768926307,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0991bf798db6aee4e67e8cffff4f270eb77bbfa5.webp?v=1776133146"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44115726270563,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST011870C-OO154","requires_shipping":true,"taxable":true,"featured_image":{"id":35643090600035,"product_id":7995399307363,"position":5,"created_at":"2026-04-14T10:19:05+08:00","updated_at":"2026-04-14T10:19:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e211530db57173aab0cb2ae8ec74ec596f6e7a0.webp?v=1776133147","variant_ids":[44115726270563]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-錄取通知書 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011870C-OO154","featured_media":{"alt":null,"id":27171769516131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0e211530db57173aab0cb2ae8ec74ec596f6e7a0.webp?v=1776133147"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44115726565475,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST011870B-OO154","requires_shipping":true,"taxable":true,"featured_image":{"id":35643089485923,"product_id":7995399307363,"position":1,"created_at":"2026-04-14T10:19:03+08:00","updated_at":"2026-04-14T10:19:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27fc32d532c827d1e0460280cdb69c313e7194a8.webp?v=1776133145","variant_ids":[44115726565475]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-錄取通知書 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011870B-OO154","featured_media":{"alt":null,"id":27171768369251,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27fc32d532c827d1e0460280cdb69c313e7194a8.webp?v=1776133145"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44115726762083,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"MST01187O9-OO154","requires_shipping":true,"taxable":true,"featured_image":{"id":35643089748067,"product_id":7995399307363,"position":2,"created_at":"2026-04-14T10:19:03+08:00","updated_at":"2026-04-14T10:19:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2c9226c937c1c4b7991b9787a02d06c6460cbbb.webp?v=1776133145","variant_ids":[44115726762083]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-錄取通知書 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01187O9-OO154","featured_media":{"alt":null,"id":27171768631395,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2c9226c937c1c4b7991b9787a02d06c6460cbbb.webp?v=1776133145"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44115727253603,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118752-OO154","requires_shipping":true,"taxable":true,"featured_image":{"id":35643090993251,"product_id":7995399307363,"position":6,"created_at":"2026-04-14T10:19:05+08:00","updated_at":"2026-04-14T10:19:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cbbbfbe6fffcc553f421f4d87b6f3784d1b9379.webp?v=1776133147","variant_ids":[44115727253603]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-錄取通知書 - Black","public_title":"Black","options":["Black"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118752-OO154","featured_media":{"alt":null,"id":27171769843811,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cbbbfbe6fffcc553f421f4d87b6f3784d1b9379.webp?v=1776133147"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44115725680739,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011870E-OO154","requires_shipping":true,"taxable":true,"featured_image":{"id":35643091419235,"product_id":7995399307363,"position":7,"created_at":"2026-04-14T10:19:06+08:00","updated_at":"2026-04-14T10:19:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54058ec5694ec7ad90ae12368160da7f3f88f24e.webp?v=1776133148","variant_ids":[44115725680739]},"available":true,"name":"iPhone 12 Pro Max SolidSuit (MagSafe 兼容) Harry Potter 哈利波特-錄取通知書 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":135000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011870E-OO154","featured_media":{"alt":null,"id":27171770335331,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/54058ec5694ec7ad90ae12368160da7f3f88f24e.webp?v=1776133148"}},"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: "停產"
}