$product = {"id":7988624621667,"title":"iPhone 14 Pro Max Mod NX ilovedoodle Overwhalemed 鯨魚","handle":"iphone-14-pro-max-mod-nx-xf12","description":null,"published_at":"2026-04-02T16:36:19+08:00","created_at":"2026-03-31T14:44:50+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 14 Pro Max","merge","reseller-ilovedoodle"],"price":90000,"price_min":90000,"price_max":90000,"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":44092382642275,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01263C1-XF12","requires_shipping":true,"taxable":true,"featured_image":{"id":35581540663395,"product_id":7988624621667,"position":10,"created_at":"2026-04-02T14:46:00+08:00","updated_at":"2026-04-02T14:46:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e10e46945627e7cdc89f59c56537009335ca76_65305a75-c686-4f58-86ad-4d61f6bea9ee.webp?v=1775112362","variant_ids":[44092382642275]},"available":true,"name":"iPhone 14 Pro Max Mod NX ilovedoodle Overwhalemed 鯨魚 - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01263C1-XF12","featured_media":{"alt":null,"id":27114160783459,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e10e46945627e7cdc89f59c56537009335ca76_65305a75-c686-4f58-86ad-4d61f6bea9ee.webp?v=1775112362"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092383592547,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01263J5-XF12","requires_shipping":true,"taxable":true,"featured_image":{"id":35581540466787,"product_id":7988624621667,"position":9,"created_at":"2026-04-02T14:45:59+08:00","updated_at":"2026-04-02T14:46:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c16ce2d0de5c45758bd6e112051a482273c3dc6_143e764f-c24a-4e0d-a5ae-adc327454b26.webp?v=1775112361","variant_ids":[44092383592547]},"available":true,"name":"iPhone 14 Pro Max Mod NX ilovedoodle Overwhalemed 鯨魚 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01263J5-XF12","featured_media":{"alt":null,"id":27114160586851,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c16ce2d0de5c45758bd6e112051a482273c3dc6_143e764f-c24a-4e0d-a5ae-adc327454b26.webp?v=1775112361"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092383625315,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0126369-XF12","requires_shipping":true,"taxable":true,"featured_image":{"id":35581539942499,"product_id":7988624621667,"position":6,"created_at":"2026-04-02T14:45:58+08:00","updated_at":"2026-04-02T14:46:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33c10246c7f454cd3c2b71b6b6b983e889a83c2c_3179c84d-1a59-4a66-b35d-878a114c0e20.webp?v=1775112360","variant_ids":[44092383625315]},"available":true,"name":"iPhone 14 Pro Max Mod NX ilovedoodle Overwhalemed 鯨魚 - Graphite","public_title":"Graphite","options":["Graphite"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126369-XF12","featured_media":{"alt":null,"id":27114160062563,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33c10246c7f454cd3c2b71b6b6b983e889a83c2c_3179c84d-1a59-4a66-b35d-878a114c0e20.webp?v=1775112360"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092383658083,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126324-XF12","requires_shipping":true,"taxable":true,"featured_image":{"id":35581540237411,"product_id":7988624621667,"position":8,"created_at":"2026-04-02T14:45:59+08:00","updated_at":"2026-04-02T14:46:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/488673357eb0915200d05ad15c78020abd4b113b_ca1a5ced-4030-4ebe-aedf-0a7e2516d862.webp?v=1775112361","variant_ids":[44092383658083]},"available":true,"name":"iPhone 14 Pro Max Mod NX ilovedoodle Overwhalemed 鯨魚 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126324-XF12","featured_media":{"alt":null,"id":27114160357475,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/488673357eb0915200d05ad15c78020abd4b113b_ca1a5ced-4030-4ebe-aedf-0a7e2516d862.webp?v=1775112361"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092383690851,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126304-XF12","requires_shipping":true,"taxable":true,"featured_image":{"id":35581540139107,"product_id":7988624621667,"position":7,"created_at":"2026-04-02T14:45:58+08:00","updated_at":"2026-04-02T14:46:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12882940ce78ee6b02a6a12b67df57db8f32af0e_a6acba16-f77f-4926-add4-c6b36c6cbf37.webp?v=1775112360","variant_ids":[44092383690851]},"available":true,"name":"iPhone 14 Pro Max Mod NX ilovedoodle Overwhalemed 鯨魚 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126304-XF12","featured_media":{"alt":null,"id":27114160259171,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12882940ce78ee6b02a6a12b67df57db8f32af0e_a6acba16-f77f-4926-add4-c6b36c6cbf37.webp?v=1775112360"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c16ce2d0de5c45758bd6e112051a482273c3dc6.webp?v=1774939495","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/488673357eb0915200d05ad15c78020abd4b113b.webp?v=1774939496","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12882940ce78ee6b02a6a12b67df57db8f32af0e.webp?v=1774939496","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33c10246c7f454cd3c2b71b6b6b983e889a83c2c.webp?v=1774939497","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e10e46945627e7cdc89f59c56537009335ca76.webp?v=1774939498","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33c10246c7f454cd3c2b71b6b6b983e889a83c2c_3179c84d-1a59-4a66-b35d-878a114c0e20.webp?v=1775112360","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12882940ce78ee6b02a6a12b67df57db8f32af0e_a6acba16-f77f-4926-add4-c6b36c6cbf37.webp?v=1775112360","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/488673357eb0915200d05ad15c78020abd4b113b_ca1a5ced-4030-4ebe-aedf-0a7e2516d862.webp?v=1775112361","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c16ce2d0de5c45758bd6e112051a482273c3dc6_143e764f-c24a-4e0d-a5ae-adc327454b26.webp?v=1775112361","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e10e46945627e7cdc89f59c56537009335ca76_65305a75-c686-4f58-86ad-4d61f6bea9ee.webp?v=1775112362"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c16ce2d0de5c45758bd6e112051a482273c3dc6.webp?v=1774939495","options":["color"],"media":[{"alt":null,"id":27102307057763,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c16ce2d0de5c45758bd6e112051a482273c3dc6.webp?v=1774939495"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c16ce2d0de5c45758bd6e112051a482273c3dc6.webp?v=1774939495","width":2000},{"alt":null,"id":27102307156067,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/488673357eb0915200d05ad15c78020abd4b113b.webp?v=1774939496"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/488673357eb0915200d05ad15c78020abd4b113b.webp?v=1774939496","width":2000},{"alt":null,"id":27102307287139,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12882940ce78ee6b02a6a12b67df57db8f32af0e.webp?v=1774939496"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12882940ce78ee6b02a6a12b67df57db8f32af0e.webp?v=1774939496","width":2000},{"alt":null,"id":27102307385443,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33c10246c7f454cd3c2b71b6b6b983e889a83c2c.webp?v=1774939497"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33c10246c7f454cd3c2b71b6b6b983e889a83c2c.webp?v=1774939497","width":2000},{"alt":null,"id":27102307450979,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e10e46945627e7cdc89f59c56537009335ca76.webp?v=1774939498"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e10e46945627e7cdc89f59c56537009335ca76.webp?v=1774939498","width":2000},{"alt":null,"id":27114160062563,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33c10246c7f454cd3c2b71b6b6b983e889a83c2c_3179c84d-1a59-4a66-b35d-878a114c0e20.webp?v=1775112360"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33c10246c7f454cd3c2b71b6b6b983e889a83c2c_3179c84d-1a59-4a66-b35d-878a114c0e20.webp?v=1775112360","width":2000},{"alt":null,"id":27114160259171,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12882940ce78ee6b02a6a12b67df57db8f32af0e_a6acba16-f77f-4926-add4-c6b36c6cbf37.webp?v=1775112360"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12882940ce78ee6b02a6a12b67df57db8f32af0e_a6acba16-f77f-4926-add4-c6b36c6cbf37.webp?v=1775112360","width":2000},{"alt":null,"id":27114160357475,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/488673357eb0915200d05ad15c78020abd4b113b_ca1a5ced-4030-4ebe-aedf-0a7e2516d862.webp?v=1775112361"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/488673357eb0915200d05ad15c78020abd4b113b_ca1a5ced-4030-4ebe-aedf-0a7e2516d862.webp?v=1775112361","width":2000},{"alt":null,"id":27114160586851,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c16ce2d0de5c45758bd6e112051a482273c3dc6_143e764f-c24a-4e0d-a5ae-adc327454b26.webp?v=1775112361"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c16ce2d0de5c45758bd6e112051a482273c3dc6_143e764f-c24a-4e0d-a5ae-adc327454b26.webp?v=1775112361","width":2000},{"alt":null,"id":27114160783459,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e10e46945627e7cdc89f59c56537009335ca76_65305a75-c686-4f58-86ad-4d61f6bea9ee.webp?v=1775112362"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e10e46945627e7cdc89f59c56537009335ca76_65305a75-c686-4f58-86ad-4d61f6bea9ee.webp?v=1775112362","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44092382642275,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01263C1-XF12","requires_shipping":true,"taxable":true,"featured_image":{"id":35581540663395,"product_id":7988624621667,"position":10,"created_at":"2026-04-02T14:46:00+08:00","updated_at":"2026-04-02T14:46:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e10e46945627e7cdc89f59c56537009335ca76_65305a75-c686-4f58-86ad-4d61f6bea9ee.webp?v=1775112362","variant_ids":[44092382642275]},"available":true,"name":"iPhone 14 Pro Max Mod NX ilovedoodle Overwhalemed 鯨魚 - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01263C1-XF12","featured_media":{"alt":null,"id":27114160783459,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e10e46945627e7cdc89f59c56537009335ca76_65305a75-c686-4f58-86ad-4d61f6bea9ee.webp?v=1775112362"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092383592547,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01263J5-XF12","requires_shipping":true,"taxable":true,"featured_image":{"id":35581540466787,"product_id":7988624621667,"position":9,"created_at":"2026-04-02T14:45:59+08:00","updated_at":"2026-04-02T14:46:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c16ce2d0de5c45758bd6e112051a482273c3dc6_143e764f-c24a-4e0d-a5ae-adc327454b26.webp?v=1775112361","variant_ids":[44092383592547]},"available":true,"name":"iPhone 14 Pro Max Mod NX ilovedoodle Overwhalemed 鯨魚 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01263J5-XF12","featured_media":{"alt":null,"id":27114160586851,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c16ce2d0de5c45758bd6e112051a482273c3dc6_143e764f-c24a-4e0d-a5ae-adc327454b26.webp?v=1775112361"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092383625315,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0126369-XF12","requires_shipping":true,"taxable":true,"featured_image":{"id":35581539942499,"product_id":7988624621667,"position":6,"created_at":"2026-04-02T14:45:58+08:00","updated_at":"2026-04-02T14:46:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33c10246c7f454cd3c2b71b6b6b983e889a83c2c_3179c84d-1a59-4a66-b35d-878a114c0e20.webp?v=1775112360","variant_ids":[44092383625315]},"available":true,"name":"iPhone 14 Pro Max Mod NX ilovedoodle Overwhalemed 鯨魚 - Graphite","public_title":"Graphite","options":["Graphite"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126369-XF12","featured_media":{"alt":null,"id":27114160062563,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33c10246c7f454cd3c2b71b6b6b983e889a83c2c_3179c84d-1a59-4a66-b35d-878a114c0e20.webp?v=1775112360"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092383658083,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126324-XF12","requires_shipping":true,"taxable":true,"featured_image":{"id":35581540237411,"product_id":7988624621667,"position":8,"created_at":"2026-04-02T14:45:59+08:00","updated_at":"2026-04-02T14:46:01+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/488673357eb0915200d05ad15c78020abd4b113b_ca1a5ced-4030-4ebe-aedf-0a7e2516d862.webp?v=1775112361","variant_ids":[44092383658083]},"available":true,"name":"iPhone 14 Pro Max Mod NX ilovedoodle Overwhalemed 鯨魚 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126324-XF12","featured_media":{"alt":null,"id":27114160357475,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/488673357eb0915200d05ad15c78020abd4b113b_ca1a5ced-4030-4ebe-aedf-0a7e2516d862.webp?v=1775112361"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44092383690851,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126304-XF12","requires_shipping":true,"taxable":true,"featured_image":{"id":35581540139107,"product_id":7988624621667,"position":7,"created_at":"2026-04-02T14:45:58+08:00","updated_at":"2026-04-02T14:46:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12882940ce78ee6b02a6a12b67df57db8f32af0e_a6acba16-f77f-4926-add4-c6b36c6cbf37.webp?v=1775112360","variant_ids":[44092383690851]},"available":true,"name":"iPhone 14 Pro Max Mod NX ilovedoodle Overwhalemed 鯨魚 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126304-XF12","featured_media":{"alt":null,"id":27114160259171,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12882940ce78ee6b02a6a12b67df57db8f32af0e_a6acba16-f77f-4926-add4-c6b36c6cbf37.webp?v=1775112360"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44092382642275,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01263C1-XF12","requires_shipping":true,"taxable":true,"featured_image":{"id":35581540663395,"product_id":7988624621667,"position":10,"created_at":"2026-04-02T14:46:00+08:00","updated_at":"2026-04-02T14:46:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e10e46945627e7cdc89f59c56537009335ca76_65305a75-c686-4f58-86ad-4d61f6bea9ee.webp?v=1775112362","variant_ids":[44092382642275]},"available":true,"name":"iPhone 14 Pro Max Mod NX ilovedoodle Overwhalemed 鯨魚 - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01263C1-XF12","featured_media":{"alt":null,"id":27114160783459,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/50e10e46945627e7cdc89f59c56537009335ca76_65305a75-c686-4f58-86ad-4d61f6bea9ee.webp?v=1775112362"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$brand_handle = null;
$type = "";
var sellingStatus
// 只有設計款(SKU 含 '-')才需要合圖
if ($isMerge && $defaultVariant.sku.includes('-')) {
$(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: "停產"
}