$product = {"id":7956231553123,"title":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) Emerald Studio 春","handle":"iphone-14-pro-max-mod-nx-magsafe-eme10","description":null,"published_at":"2026-01-28T09:38:52+08:00","created_at":"2026-01-26T14:46:37+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-emerald","device-iPhone 14 Pro Max","merge","reseller-emerald"],"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":43967099863139,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01263J5-EME10","requires_shipping":true,"taxable":true,"featured_image":{"id":35147324915811,"product_id":7956231553123,"position":3,"created_at":"2026-01-26T14:47:26+08:00","updated_at":"2026-01-26T14:47:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50a49fcfc89c505a4faeb26b835fd5e2d818c10c.webp?v=1769410048","variant_ids":[43967099863139]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) Emerald Studio 春 - 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":"MPB01263J5-EME10","featured_media":{"alt":null,"id":26703563456611,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50a49fcfc89c505a4faeb26b835fd5e2d818c10c.webp?v=1769410048"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967107694691,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01263C1-EME10","requires_shipping":true,"taxable":true,"featured_image":{"id":35147331862627,"product_id":7956231553123,"position":10,"created_at":"2026-01-26T14:47:32+08:00","updated_at":"2026-01-26T14:47:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7315c27ed85362c5006002af2c46fd2a6c22b9bd.webp?v=1769410053","variant_ids":[43967107694691]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) Emerald Studio 春 - Lavender","public_title":"Lavender","options":["Lavender"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01263C1-EME10","featured_media":{"alt":null,"id":26703570370659,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7315c27ed85362c5006002af2c46fd2a6c22b9bd.webp?v=1769410053"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967108481123,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126324-EME10","requires_shipping":true,"taxable":true,"featured_image":{"id":35147325669475,"product_id":7956231553123,"position":4,"created_at":"2026-01-26T14:47:27+08:00","updated_at":"2026-01-26T14:47:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef0b4a6c51adba81c2e208bcf18f2d48e2657c8f.webp?v=1769410049","variant_ids":[43967108481123]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) Emerald Studio 春 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126324-EME10","featured_media":{"alt":null,"id":26703564177507,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef0b4a6c51adba81c2e208bcf18f2d48e2657c8f.webp?v=1769410049"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967111921763,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"MPB0126369-EME10","requires_shipping":true,"taxable":true,"featured_image":{"id":35147333730403,"product_id":7956231553123,"position":13,"created_at":"2026-01-26T14:47:34+08:00","updated_at":"2026-01-26T14:47:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee5bbf60ae02434e38735ca915bb5ccd198b8375.webp?v=1769410056","variant_ids":[43967111921763]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) Emerald Studio 春 - Graphite","public_title":"Graphite","options":["Graphite"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126369-EME10","featured_media":{"alt":null,"id":26703572238435,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee5bbf60ae02434e38735ca915bb5ccd198b8375.webp?v=1769410056"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967115493475,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126304-EME10","requires_shipping":true,"taxable":true,"featured_image":{"id":35147333238883,"product_id":7956231553123,"position":12,"created_at":"2026-01-26T14:47:33+08:00","updated_at":"2026-01-26T14:47:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15942fa779eb83d79eee79931f1531c15c41f963.webp?v=1769410055","variant_ids":[43967115493475]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) Emerald Studio 春 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126304-EME10","featured_media":{"alt":null,"id":26703571746915,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15942fa779eb83d79eee79931f1531c15c41f963.webp?v=1769410055"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea545bacdd06f171763ab0e08bfc8c44cd023565.webp?v=1769410046","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e17656f23dac403113b4d485754b5a762085ded9.webp?v=1769410047","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50a49fcfc89c505a4faeb26b835fd5e2d818c10c.webp?v=1769410048","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef0b4a6c51adba81c2e208bcf18f2d48e2657c8f.webp?v=1769410049","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771643fdba0e5bcf024e31326c220f55e5d0c95c.webp?v=1769410049","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4aef14e608ec31f93a0809aaca0cde2dd49c7253.webp?v=1769410050","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fed8ff2944e73b20853cd055f4078caf0d3746e5.webp?v=1769410051","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6808dc763b4027f9670387357d590b1939b48229.webp?v=1769410051","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d655b8ec653668e64248b2432e09ce48bde3938.webp?v=1769410053","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7315c27ed85362c5006002af2c46fd2a6c22b9bd.webp?v=1769410053","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90b4237884937bf9fc26c1d2c0fa125ab9cf7ea7.webp?v=1769410054","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15942fa779eb83d79eee79931f1531c15c41f963.webp?v=1769410055","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee5bbf60ae02434e38735ca915bb5ccd198b8375.webp?v=1769410056"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea545bacdd06f171763ab0e08bfc8c44cd023565.webp?v=1769410046","options":["color"],"media":[{"alt":null,"id":26703561687139,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea545bacdd06f171763ab0e08bfc8c44cd023565.webp?v=1769410046"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ea545bacdd06f171763ab0e08bfc8c44cd023565.webp?v=1769410046","width":2000},{"alt":null,"id":26703562440803,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e17656f23dac403113b4d485754b5a762085ded9.webp?v=1769410047"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e17656f23dac403113b4d485754b5a762085ded9.webp?v=1769410047","width":2000},{"alt":null,"id":26703563456611,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50a49fcfc89c505a4faeb26b835fd5e2d818c10c.webp?v=1769410048"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50a49fcfc89c505a4faeb26b835fd5e2d818c10c.webp?v=1769410048","width":2000},{"alt":null,"id":26703564177507,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef0b4a6c51adba81c2e208bcf18f2d48e2657c8f.webp?v=1769410049"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef0b4a6c51adba81c2e208bcf18f2d48e2657c8f.webp?v=1769410049","width":2000},{"alt":null,"id":26703565029475,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771643fdba0e5bcf024e31326c220f55e5d0c95c.webp?v=1769410049"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/771643fdba0e5bcf024e31326c220f55e5d0c95c.webp?v=1769410049","width":2000},{"alt":null,"id":26703566241891,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4aef14e608ec31f93a0809aaca0cde2dd49c7253.webp?v=1769410050"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4aef14e608ec31f93a0809aaca0cde2dd49c7253.webp?v=1769410050","width":2000},{"alt":null,"id":26703567683683,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fed8ff2944e73b20853cd055f4078caf0d3746e5.webp?v=1769410051"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fed8ff2944e73b20853cd055f4078caf0d3746e5.webp?v=1769410051","width":2000},{"alt":null,"id":26703568601187,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6808dc763b4027f9670387357d590b1939b48229.webp?v=1769410051"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6808dc763b4027f9670387357d590b1939b48229.webp?v=1769410051","width":2000},{"alt":null,"id":26703569518691,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d655b8ec653668e64248b2432e09ce48bde3938.webp?v=1769410053"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8d655b8ec653668e64248b2432e09ce48bde3938.webp?v=1769410053","width":2000},{"alt":null,"id":26703570370659,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7315c27ed85362c5006002af2c46fd2a6c22b9bd.webp?v=1769410053"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7315c27ed85362c5006002af2c46fd2a6c22b9bd.webp?v=1769410053","width":2000},{"alt":null,"id":26703571189859,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90b4237884937bf9fc26c1d2c0fa125ab9cf7ea7.webp?v=1769410054"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/90b4237884937bf9fc26c1d2c0fa125ab9cf7ea7.webp?v=1769410054","width":2000},{"alt":null,"id":26703571746915,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15942fa779eb83d79eee79931f1531c15c41f963.webp?v=1769410055"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15942fa779eb83d79eee79931f1531c15c41f963.webp?v=1769410055","width":2000},{"alt":null,"id":26703572238435,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee5bbf60ae02434e38735ca915bb5ccd198b8375.webp?v=1769410056"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee5bbf60ae02434e38735ca915bb5ccd198b8375.webp?v=1769410056","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43967099863139,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01263J5-EME10","requires_shipping":true,"taxable":true,"featured_image":{"id":35147324915811,"product_id":7956231553123,"position":3,"created_at":"2026-01-26T14:47:26+08:00","updated_at":"2026-01-26T14:47:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50a49fcfc89c505a4faeb26b835fd5e2d818c10c.webp?v=1769410048","variant_ids":[43967099863139]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) Emerald Studio 春 - 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":"MPB01263J5-EME10","featured_media":{"alt":null,"id":26703563456611,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50a49fcfc89c505a4faeb26b835fd5e2d818c10c.webp?v=1769410048"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967107694691,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01263C1-EME10","requires_shipping":true,"taxable":true,"featured_image":{"id":35147331862627,"product_id":7956231553123,"position":10,"created_at":"2026-01-26T14:47:32+08:00","updated_at":"2026-01-26T14:47:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7315c27ed85362c5006002af2c46fd2a6c22b9bd.webp?v=1769410053","variant_ids":[43967107694691]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) Emerald Studio 春 - Lavender","public_title":"Lavender","options":["Lavender"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01263C1-EME10","featured_media":{"alt":null,"id":26703570370659,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7315c27ed85362c5006002af2c46fd2a6c22b9bd.webp?v=1769410053"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967108481123,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126324-EME10","requires_shipping":true,"taxable":true,"featured_image":{"id":35147325669475,"product_id":7956231553123,"position":4,"created_at":"2026-01-26T14:47:27+08:00","updated_at":"2026-01-26T14:47:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef0b4a6c51adba81c2e208bcf18f2d48e2657c8f.webp?v=1769410049","variant_ids":[43967108481123]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) Emerald Studio 春 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126324-EME10","featured_media":{"alt":null,"id":26703564177507,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef0b4a6c51adba81c2e208bcf18f2d48e2657c8f.webp?v=1769410049"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967111921763,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"MPB0126369-EME10","requires_shipping":true,"taxable":true,"featured_image":{"id":35147333730403,"product_id":7956231553123,"position":13,"created_at":"2026-01-26T14:47:34+08:00","updated_at":"2026-01-26T14:47:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee5bbf60ae02434e38735ca915bb5ccd198b8375.webp?v=1769410056","variant_ids":[43967111921763]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) Emerald Studio 春 - Graphite","public_title":"Graphite","options":["Graphite"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126369-EME10","featured_media":{"alt":null,"id":26703572238435,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ee5bbf60ae02434e38735ca915bb5ccd198b8375.webp?v=1769410056"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43967115493475,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126304-EME10","requires_shipping":true,"taxable":true,"featured_image":{"id":35147333238883,"product_id":7956231553123,"position":12,"created_at":"2026-01-26T14:47:33+08:00","updated_at":"2026-01-26T14:47:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15942fa779eb83d79eee79931f1531c15c41f963.webp?v=1769410055","variant_ids":[43967115493475]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) Emerald Studio 春 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126304-EME10","featured_media":{"alt":null,"id":26703571746915,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15942fa779eb83d79eee79931f1531c15c41f963.webp?v=1769410055"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43967099863139,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01263J5-EME10","requires_shipping":true,"taxable":true,"featured_image":{"id":35147324915811,"product_id":7956231553123,"position":3,"created_at":"2026-01-26T14:47:26+08:00","updated_at":"2026-01-26T14:47:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50a49fcfc89c505a4faeb26b835fd5e2d818c10c.webp?v=1769410048","variant_ids":[43967099863139]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) Emerald Studio 春 - 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":"MPB01263J5-EME10","featured_media":{"alt":null,"id":26703563456611,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50a49fcfc89c505a4faeb26b835fd5e2d818c10c.webp?v=1769410048"}},"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: "停產"
}