$product = {"id":7931266400355,"title":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi OOOPS!!","handle":"iphone-14-pro-max-mod-nx-magsafe-ei80","description":null,"published_at":"2025-11-28T11:05:09+08:00","created_at":"2025-11-28T09:54:18+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-darylhochi","device-iPhone 14 Pro Max","merge","reseller-darylhochi"],"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":43860793327715,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01263C1-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861376831587,"product_id":7931266400355,"position":1,"created_at":"2025-11-28T09:54:26+08:00","updated_at":"2025-11-28T09:54:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1803aaf2a90d2fb7145fcd25d749de6db5103d8.webp?v=1764294867","variant_ids":[43860793327715]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi OOOPS!! - 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-EI80","featured_media":{"alt":null,"id":26425796493411,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1803aaf2a90d2fb7145fcd25d749de6db5103d8.webp?v=1764294867"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860795261027,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01263J5-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861378666595,"product_id":7931266400355,"position":13,"created_at":"2025-11-28T09:54:33+08:00","updated_at":"2025-11-28T09:54:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5238112c1e9823ed2ca5a1eb595c0e9ab67699a.webp?v=1764294875","variant_ids":[43860795261027]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi OOOPS!! - 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-EI80","featured_media":{"alt":null,"id":26425798295651,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5238112c1e9823ed2ca5a1eb595c0e9ab67699a.webp?v=1764294875"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860795293795,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"MPB0126369-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861377683555,"product_id":7931266400355,"position":6,"created_at":"2025-11-28T09:54:29+08:00","updated_at":"2025-11-28T09:54:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60700f2947457e67d077091b4470b884588c0b46.webp?v=1764294871","variant_ids":[43860795293795]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi OOOPS!! - 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-EI80","featured_media":{"alt":null,"id":26425797345379,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60700f2947457e67d077091b4470b884588c0b46.webp?v=1764294871"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860795424867,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126304-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861378044003,"product_id":7931266400355,"position":9,"created_at":"2025-11-28T09:54:30+08:00","updated_at":"2025-11-28T09:54:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/456870e7f1911b798c72d33c4c213c9a9678e7d0.webp?v=1764294872","variant_ids":[43860795424867]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi OOOPS!! - 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-EI80","featured_media":{"alt":null,"id":26425797673059,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/456870e7f1911b798c72d33c4c213c9a9678e7d0.webp?v=1764294872"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860795457635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126324-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861377585251,"product_id":7931266400355,"position":5,"created_at":"2025-11-28T09:54:28+08:00","updated_at":"2025-11-28T09:54:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e437b9ec802bec4deaa4705a15fb8462afeb888.webp?v=1764294870","variant_ids":[43860795457635]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi OOOPS!! - 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-EI80","featured_media":{"alt":null,"id":26425797247075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e437b9ec802bec4deaa4705a15fb8462afeb888.webp?v=1764294870"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1803aaf2a90d2fb7145fcd25d749de6db5103d8.webp?v=1764294867","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9389ca4d605883e1af8577727c22197805681d7.webp?v=1764294868","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a9826e18b606cec860333d9ed432058f2884614.webp?v=1764294868","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d687411ff6e379c99371bc011743cb5ae00da60.webp?v=1764294870","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e437b9ec802bec4deaa4705a15fb8462afeb888.webp?v=1764294870","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60700f2947457e67d077091b4470b884588c0b46.webp?v=1764294871","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ec962174d20111b1ae9bf7d2e86707d1f4e3837.webp?v=1764294871","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b14f337772b1e58930ff11ebb379cd3fd8b9b12f.webp?v=1764294871","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/456870e7f1911b798c72d33c4c213c9a9678e7d0.webp?v=1764294872","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac72396768ddc459629ccf021b60fb55bfa5435c.webp?v=1764294872","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a8733111b776a6480ae7f608889e44ca1090333.webp?v=1764294873","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b054a9536120273dc9dc1b2445166168cc122d7d.webp?v=1764294874","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5238112c1e9823ed2ca5a1eb595c0e9ab67699a.webp?v=1764294875"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1803aaf2a90d2fb7145fcd25d749de6db5103d8.webp?v=1764294867","options":["color"],"media":[{"alt":null,"id":26425796493411,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1803aaf2a90d2fb7145fcd25d749de6db5103d8.webp?v=1764294867"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1803aaf2a90d2fb7145fcd25d749de6db5103d8.webp?v=1764294867","width":2000},{"alt":null,"id":26425796591715,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9389ca4d605883e1af8577727c22197805681d7.webp?v=1764294868"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9389ca4d605883e1af8577727c22197805681d7.webp?v=1764294868","width":2000},{"alt":null,"id":26425796722787,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a9826e18b606cec860333d9ed432058f2884614.webp?v=1764294868"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a9826e18b606cec860333d9ed432058f2884614.webp?v=1764294868","width":2000},{"alt":null,"id":26425797083235,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d687411ff6e379c99371bc011743cb5ae00da60.webp?v=1764294870"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d687411ff6e379c99371bc011743cb5ae00da60.webp?v=1764294870","width":2000},{"alt":null,"id":26425797247075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e437b9ec802bec4deaa4705a15fb8462afeb888.webp?v=1764294870"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e437b9ec802bec4deaa4705a15fb8462afeb888.webp?v=1764294870","width":2000},{"alt":null,"id":26425797345379,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60700f2947457e67d077091b4470b884588c0b46.webp?v=1764294871"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60700f2947457e67d077091b4470b884588c0b46.webp?v=1764294871","width":2000},{"alt":null,"id":26425797476451,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ec962174d20111b1ae9bf7d2e86707d1f4e3837.webp?v=1764294871"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4ec962174d20111b1ae9bf7d2e86707d1f4e3837.webp?v=1764294871","width":2000},{"alt":null,"id":26425797541987,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b14f337772b1e58930ff11ebb379cd3fd8b9b12f.webp?v=1764294871"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b14f337772b1e58930ff11ebb379cd3fd8b9b12f.webp?v=1764294871","width":2000},{"alt":null,"id":26425797673059,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/456870e7f1911b798c72d33c4c213c9a9678e7d0.webp?v=1764294872"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/456870e7f1911b798c72d33c4c213c9a9678e7d0.webp?v=1764294872","width":2000},{"alt":null,"id":26425797836899,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac72396768ddc459629ccf021b60fb55bfa5435c.webp?v=1764294872"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac72396768ddc459629ccf021b60fb55bfa5435c.webp?v=1764294872","width":2000},{"alt":null,"id":26425798000739,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a8733111b776a6480ae7f608889e44ca1090333.webp?v=1764294873"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a8733111b776a6480ae7f608889e44ca1090333.webp?v=1764294873","width":2000},{"alt":null,"id":26425798197347,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b054a9536120273dc9dc1b2445166168cc122d7d.webp?v=1764294874"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b054a9536120273dc9dc1b2445166168cc122d7d.webp?v=1764294874","width":2000},{"alt":null,"id":26425798295651,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5238112c1e9823ed2ca5a1eb595c0e9ab67699a.webp?v=1764294875"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5238112c1e9823ed2ca5a1eb595c0e9ab67699a.webp?v=1764294875","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43860793327715,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01263C1-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861376831587,"product_id":7931266400355,"position":1,"created_at":"2025-11-28T09:54:26+08:00","updated_at":"2025-11-28T09:54:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1803aaf2a90d2fb7145fcd25d749de6db5103d8.webp?v=1764294867","variant_ids":[43860793327715]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi OOOPS!! - 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-EI80","featured_media":{"alt":null,"id":26425796493411,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1803aaf2a90d2fb7145fcd25d749de6db5103d8.webp?v=1764294867"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860795261027,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01263J5-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861378666595,"product_id":7931266400355,"position":13,"created_at":"2025-11-28T09:54:33+08:00","updated_at":"2025-11-28T09:54:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5238112c1e9823ed2ca5a1eb595c0e9ab67699a.webp?v=1764294875","variant_ids":[43860795261027]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi OOOPS!! - 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-EI80","featured_media":{"alt":null,"id":26425798295651,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a5238112c1e9823ed2ca5a1eb595c0e9ab67699a.webp?v=1764294875"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860795293795,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"MPB0126369-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861377683555,"product_id":7931266400355,"position":6,"created_at":"2025-11-28T09:54:29+08:00","updated_at":"2025-11-28T09:54:31+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60700f2947457e67d077091b4470b884588c0b46.webp?v=1764294871","variant_ids":[43860795293795]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi OOOPS!! - 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-EI80","featured_media":{"alt":null,"id":26425797345379,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60700f2947457e67d077091b4470b884588c0b46.webp?v=1764294871"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860795424867,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0126304-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861378044003,"product_id":7931266400355,"position":9,"created_at":"2025-11-28T09:54:30+08:00","updated_at":"2025-11-28T09:54:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/456870e7f1911b798c72d33c4c213c9a9678e7d0.webp?v=1764294872","variant_ids":[43860795424867]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi OOOPS!! - 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-EI80","featured_media":{"alt":null,"id":26425797673059,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/456870e7f1911b798c72d33c4c213c9a9678e7d0.webp?v=1764294872"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43860795457635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0126324-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861377585251,"product_id":7931266400355,"position":5,"created_at":"2025-11-28T09:54:28+08:00","updated_at":"2025-11-28T09:54:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e437b9ec802bec4deaa4705a15fb8462afeb888.webp?v=1764294870","variant_ids":[43860795457635]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi OOOPS!! - 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-EI80","featured_media":{"alt":null,"id":26425797247075,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e437b9ec802bec4deaa4705a15fb8462afeb888.webp?v=1764294870"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43860793327715,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01263C1-EI80","requires_shipping":true,"taxable":true,"featured_image":{"id":34861376831587,"product_id":7931266400355,"position":1,"created_at":"2025-11-28T09:54:26+08:00","updated_at":"2025-11-28T09:54:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1803aaf2a90d2fb7145fcd25d749de6db5103d8.webp?v=1764294867","variant_ids":[43860793327715]},"available":true,"name":"iPhone 14 Pro Max Mod NX (MagSafe 兼容) 白白日記 By Darylhochi OOOPS!! - 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-EI80","featured_media":{"alt":null,"id":26425796493411,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d1803aaf2a90d2fb7145fcd25d749de6db5103d8.webp?v=1764294867"}},"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: "停產"
}