$product = {"id":7937548419171,"title":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 幸運小精靈","handle":"iphone-13-pro-max-mod-nx-magsafe-cjy09","description":null,"published_at":"2025-12-12T09:51:49+08:00","created_at":"2025-12-11T09:42:53+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-jychoioioi","device-iPhone 13 Pro Max","merge","reseller-jychoioioi"],"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":43882934272099,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-CJY09","requires_shipping":true,"taxable":true,"featured_image":{"id":34931197083747,"product_id":7937548419171,"position":11,"created_at":"2025-12-11T10:06:16+08:00","updated_at":"2025-12-11T10:06:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1bcb6f25e5625d884d85e57c3672318f176c4de_4338eedd-4e49-4933-a0d8-66719e487f80.webp?v=1765418779","variant_ids":[43882934272099]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 幸運小精靈 - 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":"MPB01232J5-CJY09","featured_media":{"alt":null,"id":26493571268707,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1bcb6f25e5625d884d85e57c3672318f176c4de_4338eedd-4e49-4933-a0d8-66719e487f80.webp?v=1765418779"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43882934304867,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-CJY09","requires_shipping":true,"taxable":true,"featured_image":{"id":34931198820451,"product_id":7937548419171,"position":17,"created_at":"2025-12-11T10:06:20+08:00","updated_at":"2025-12-11T10:06:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e54523598029556cb08881205530588c005943_2da51ffb-e98e-4052-838c-c20e4126b04a.webp?v=1765418782","variant_ids":[43882934304867]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 幸運小精靈 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-CJY09","featured_media":{"alt":null,"id":26493573103715,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e54523598029556cb08881205530588c005943_2da51ffb-e98e-4052-838c-c20e4126b04a.webp?v=1765418782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84780cdb778eeb45d949c6a7b23e972c820c2dc2.webp?v=1765417379","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97b1496bcbff69924305d58f37cdd11d3fda7fb5.webp?v=1765417379","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1bcb6f25e5625d884d85e57c3672318f176c4de.webp?v=1765417380","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dd8f1b64054271520cb7d2ade174459cd96a538.webp?v=1765417382","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/403ecad1c3986f9066ac0cdb1fb096930bc53bcb.webp?v=1765417383","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a1ee0ed19cf6e4c279011d321c0c7a9e0b8deca.webp?v=1765417384","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c4850d85083ee48d6803c259e5c590015fb3e1c.webp?v=1765417384","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/259a57b6b88867d976dafd0843f57cc87e055e96.webp?v=1765417385","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00265241875bb4a7154db72332c55bd9bd6b19bb.webp?v=1765417386","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e54523598029556cb08881205530588c005943.webp?v=1765417387","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1bcb6f25e5625d884d85e57c3672318f176c4de_4338eedd-4e49-4933-a0d8-66719e487f80.webp?v=1765418779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/403ecad1c3986f9066ac0cdb1fb096930bc53bcb_6ed8e247-7f8f-4d17-9cad-bdc71fd8e870.webp?v=1765418779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84780cdb778eeb45d949c6a7b23e972c820c2dc2_bf2d034f-a3bc-4b38-82f9-1ce182dcc0e3.webp?v=1765418780","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c4850d85083ee48d6803c259e5c590015fb3e1c_1ca8f953-69d5-4f51-b424-318eabba4efc.webp?v=1765418780","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97b1496bcbff69924305d58f37cdd11d3fda7fb5_6abb3de1-04ec-450c-965f-6326b9574e32.webp?v=1765418781","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/259a57b6b88867d976dafd0843f57cc87e055e96_d2a528e5-08ae-4cc2-804c-a2e04a113fc9.webp?v=1765418781","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e54523598029556cb08881205530588c005943_2da51ffb-e98e-4052-838c-c20e4126b04a.webp?v=1765418782","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dd8f1b64054271520cb7d2ade174459cd96a538_6fd11ed4-a72b-44ad-a77a-dff73cea45b1.webp?v=1765418782","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00265241875bb4a7154db72332c55bd9bd6b19bb_2981d5ce-c648-459d-8de4-e21573c9484a.webp?v=1765418783","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a1ee0ed19cf6e4c279011d321c0c7a9e0b8deca_f3cf1307-f7df-4e59-bb37-279dd20b4e3a.webp?v=1765418783"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84780cdb778eeb45d949c6a7b23e972c820c2dc2.webp?v=1765417379","options":["color"],"media":[{"alt":null,"id":26493174448227,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84780cdb778eeb45d949c6a7b23e972c820c2dc2.webp?v=1765417379"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84780cdb778eeb45d949c6a7b23e972c820c2dc2.webp?v=1765417379","width":2000},{"alt":null,"id":26493174644835,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97b1496bcbff69924305d58f37cdd11d3fda7fb5.webp?v=1765417379"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97b1496bcbff69924305d58f37cdd11d3fda7fb5.webp?v=1765417379","width":2000},{"alt":null,"id":26493174743139,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1bcb6f25e5625d884d85e57c3672318f176c4de.webp?v=1765417380"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1bcb6f25e5625d884d85e57c3672318f176c4de.webp?v=1765417380","width":2000},{"alt":null,"id":26493175103587,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dd8f1b64054271520cb7d2ade174459cd96a538.webp?v=1765417382"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dd8f1b64054271520cb7d2ade174459cd96a538.webp?v=1765417382","width":2000},{"alt":null,"id":26493175201891,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/403ecad1c3986f9066ac0cdb1fb096930bc53bcb.webp?v=1765417383"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/403ecad1c3986f9066ac0cdb1fb096930bc53bcb.webp?v=1765417383","width":2000},{"alt":null,"id":26493175496803,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a1ee0ed19cf6e4c279011d321c0c7a9e0b8deca.webp?v=1765417384"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a1ee0ed19cf6e4c279011d321c0c7a9e0b8deca.webp?v=1765417384","width":2000},{"alt":null,"id":26493175627875,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c4850d85083ee48d6803c259e5c590015fb3e1c.webp?v=1765417384"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c4850d85083ee48d6803c259e5c590015fb3e1c.webp?v=1765417384","width":2000},{"alt":null,"id":26493175791715,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/259a57b6b88867d976dafd0843f57cc87e055e96.webp?v=1765417385"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/259a57b6b88867d976dafd0843f57cc87e055e96.webp?v=1765417385","width":2000},{"alt":null,"id":26493175955555,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00265241875bb4a7154db72332c55bd9bd6b19bb.webp?v=1765417386"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00265241875bb4a7154db72332c55bd9bd6b19bb.webp?v=1765417386","width":2000},{"alt":null,"id":26493176119395,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e54523598029556cb08881205530588c005943.webp?v=1765417387"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e54523598029556cb08881205530588c005943.webp?v=1765417387","width":2000},{"alt":null,"id":26493571268707,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1bcb6f25e5625d884d85e57c3672318f176c4de_4338eedd-4e49-4933-a0d8-66719e487f80.webp?v=1765418779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1bcb6f25e5625d884d85e57c3672318f176c4de_4338eedd-4e49-4933-a0d8-66719e487f80.webp?v=1765418779","width":2000},{"alt":null,"id":26493571629155,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/403ecad1c3986f9066ac0cdb1fb096930bc53bcb_6ed8e247-7f8f-4d17-9cad-bdc71fd8e870.webp?v=1765418779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/403ecad1c3986f9066ac0cdb1fb096930bc53bcb_6ed8e247-7f8f-4d17-9cad-bdc71fd8e870.webp?v=1765418779","width":2000},{"alt":null,"id":26493571956835,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84780cdb778eeb45d949c6a7b23e972c820c2dc2_bf2d034f-a3bc-4b38-82f9-1ce182dcc0e3.webp?v=1765418780"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/84780cdb778eeb45d949c6a7b23e972c820c2dc2_bf2d034f-a3bc-4b38-82f9-1ce182dcc0e3.webp?v=1765418780","width":2000},{"alt":null,"id":26493572218979,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c4850d85083ee48d6803c259e5c590015fb3e1c_1ca8f953-69d5-4f51-b424-318eabba4efc.webp?v=1765418780"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c4850d85083ee48d6803c259e5c590015fb3e1c_1ca8f953-69d5-4f51-b424-318eabba4efc.webp?v=1765418780","width":2000},{"alt":null,"id":26493572448355,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97b1496bcbff69924305d58f37cdd11d3fda7fb5_6abb3de1-04ec-450c-965f-6326b9574e32.webp?v=1765418781"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97b1496bcbff69924305d58f37cdd11d3fda7fb5_6abb3de1-04ec-450c-965f-6326b9574e32.webp?v=1765418781","width":2000},{"alt":null,"id":26493572841571,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/259a57b6b88867d976dafd0843f57cc87e055e96_d2a528e5-08ae-4cc2-804c-a2e04a113fc9.webp?v=1765418781"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/259a57b6b88867d976dafd0843f57cc87e055e96_d2a528e5-08ae-4cc2-804c-a2e04a113fc9.webp?v=1765418781","width":2000},{"alt":null,"id":26493573103715,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e54523598029556cb08881205530588c005943_2da51ffb-e98e-4052-838c-c20e4126b04a.webp?v=1765418782"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e54523598029556cb08881205530588c005943_2da51ffb-e98e-4052-838c-c20e4126b04a.webp?v=1765418782","width":2000},{"alt":null,"id":26493573398627,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dd8f1b64054271520cb7d2ade174459cd96a538_6fd11ed4-a72b-44ad-a77a-dff73cea45b1.webp?v=1765418782"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6dd8f1b64054271520cb7d2ade174459cd96a538_6fd11ed4-a72b-44ad-a77a-dff73cea45b1.webp?v=1765418782","width":2000},{"alt":null,"id":26493573660771,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00265241875bb4a7154db72332c55bd9bd6b19bb_2981d5ce-c648-459d-8de4-e21573c9484a.webp?v=1765418783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00265241875bb4a7154db72332c55bd9bd6b19bb_2981d5ce-c648-459d-8de4-e21573c9484a.webp?v=1765418783","width":2000},{"alt":null,"id":26493573922915,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a1ee0ed19cf6e4c279011d321c0c7a9e0b8deca_f3cf1307-f7df-4e59-bb37-279dd20b4e3a.webp?v=1765418783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2a1ee0ed19cf6e4c279011d321c0c7a9e0b8deca_f3cf1307-f7df-4e59-bb37-279dd20b4e3a.webp?v=1765418783","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43882934272099,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-CJY09","requires_shipping":true,"taxable":true,"featured_image":{"id":34931197083747,"product_id":7937548419171,"position":11,"created_at":"2025-12-11T10:06:16+08:00","updated_at":"2025-12-11T10:06:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1bcb6f25e5625d884d85e57c3672318f176c4de_4338eedd-4e49-4933-a0d8-66719e487f80.webp?v=1765418779","variant_ids":[43882934272099]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 幸運小精靈 - 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":"MPB01232J5-CJY09","featured_media":{"alt":null,"id":26493571268707,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1bcb6f25e5625d884d85e57c3672318f176c4de_4338eedd-4e49-4933-a0d8-66719e487f80.webp?v=1765418779"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43882934304867,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0123224-CJY09","requires_shipping":true,"taxable":true,"featured_image":{"id":34931198820451,"product_id":7937548419171,"position":17,"created_at":"2025-12-11T10:06:20+08:00","updated_at":"2025-12-11T10:06:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e54523598029556cb08881205530588c005943_2da51ffb-e98e-4052-838c-c20e4126b04a.webp?v=1765418782","variant_ids":[43882934304867]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 幸運小精靈 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0123224-CJY09","featured_media":{"alt":null,"id":26493573103715,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33e54523598029556cb08881205530588c005943_2da51ffb-e98e-4052-838c-c20e4126b04a.webp?v=1765418782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43882934272099,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01232J5-CJY09","requires_shipping":true,"taxable":true,"featured_image":{"id":34931197083747,"product_id":7937548419171,"position":11,"created_at":"2025-12-11T10:06:16+08:00","updated_at":"2025-12-11T10:06:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1bcb6f25e5625d884d85e57c3672318f176c4de_4338eedd-4e49-4933-a0d8-66719e487f80.webp?v=1765418779","variant_ids":[43882934272099]},"available":true,"name":"iPhone 13 Pro Max Mod NX (MagSafe 兼容) Jin Young Choi 幸運小精靈 - 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":"MPB01232J5-CJY09","featured_media":{"alt":null,"id":26493571268707,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c1bcb6f25e5625d884d85e57c3672318f176c4de_4338eedd-4e49-4933-a0d8-66719e487f80.webp?v=1765418779"}},"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: "停產"
}