$product = {"id":8048623550563,"title":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火","handle":"iphone-17-pro-max-solidx-pd79","description":null,"published_at":"2026-06-29T14:34:58+08:00","created_at":"2026-06-29T12:18:28+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-pixar","device-iPhone 17 Pro Max","merge","reseller-pixar"],"price":125000,"price_min":125000,"price_max":125000,"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":44300958367843,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123775729763,"product_id":8048623550563,"position":1,"created_at":"2026-06-29T12:19:09+08:00","updated_at":"2026-06-29T12:19:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0145bc6d68500a59b7b6e1a4974a594d4846ed44.webp?v=1782706751","variant_ids":[44300958367843]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530F-PD79","featured_media":{"alt":null,"id":27629019627619,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0145bc6d68500a59b7b6e1a4974a594d4846ed44.webp?v=1782706751"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300963446883,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123776974947,"product_id":8048623550563,"position":5,"created_at":"2026-06-29T12:19:11+08:00","updated_at":"2026-06-29T12:19:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc66beaa733627ed02f6a6d2becbc696cd1061d.webp?v=1782706753","variant_ids":[44300963446883]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013536A-PD79","featured_media":{"alt":null,"id":27629020872803,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc66beaa733627ed02f6a6d2becbc696cd1061d.webp?v=1782706753"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300963577955,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123776614499,"product_id":8048623550563,"position":4,"created_at":"2026-06-29T12:19:11+08:00","updated_at":"2026-06-29T12:19:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3ae7ed6937364328e5d25ff8127ddf7568b11f9.webp?v=1782706753","variant_ids":[44300963577955]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Z-PD79","featured_media":{"alt":null,"id":27629020512355,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3ae7ed6937364328e5d25ff8127ddf7568b11f9.webp?v=1782706753"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300963807331,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123780743267,"product_id":8048623550563,"position":13,"created_at":"2026-06-29T12:19:16+08:00","updated_at":"2026-06-29T12:19:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6aa1498dcd67b03380da86a4e1f156799402d96.webp?v=1782706758","variant_ids":[44300963807331]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Y-PD79","featured_media":{"alt":null,"id":27629024444515,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6aa1498dcd67b03380da86a4e1f156799402d96.webp?v=1782706758"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300963971171,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123776286819,"product_id":8048623550563,"position":3,"created_at":"2026-06-29T12:19:10+08:00","updated_at":"2026-06-29T12:19:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e08b0f8e492b9b2dca15432631dcaa1a26a69c3.webp?v=1782706752","variant_ids":[44300963971171]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535X-PD79","featured_media":{"alt":null,"id":27629020184675,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e08b0f8e492b9b2dca15432631dcaa1a26a69c3.webp?v=1782706752"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300964200547,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123777269859,"product_id":8048623550563,"position":6,"created_at":"2026-06-29T12:19:12+08:00","updated_at":"2026-06-29T12:19:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f448f1f4b16d7016a6e1889241474ca3d535e603.webp?v=1782706754","variant_ids":[44300964200547]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535H-PD79","featured_media":{"alt":null,"id":27629021167715,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f448f1f4b16d7016a6e1889241474ca3d535e603.webp?v=1782706754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300964593763,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123776024675,"product_id":8048623550563,"position":2,"created_at":"2026-06-29T12:19:10+08:00","updated_at":"2026-06-29T12:19:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b46f8c4a8cef227d005192de5a2ff9fd826d484.webp?v=1782706752","variant_ids":[44300964593763]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534I-PD79","featured_media":{"alt":null,"id":27629019922531,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b46f8c4a8cef227d005192de5a2ff9fd826d484.webp?v=1782706752"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300965052515,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123777761379,"product_id":8048623550563,"position":7,"created_at":"2026-06-29T12:19:12+08:00","updated_at":"2026-06-29T12:19:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5a71deb622e4ca8f1d9dc6a89b9f2873d2805d3.webp?v=1782706754","variant_ids":[44300965052515]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534H-PD79","featured_media":{"alt":null,"id":27629021659235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5a71deb622e4ca8f1d9dc6a89b9f2873d2805d3.webp?v=1782706754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300965314659,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123778154595,"product_id":8048623550563,"position":8,"created_at":"2026-06-29T12:19:13+08:00","updated_at":"2026-06-29T12:19:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcd4efd79759078bb812cf1c9f487fb3206e8813.webp?v=1782706755","variant_ids":[44300965314659]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013533O-PD79","featured_media":{"alt":null,"id":27629022052451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcd4efd79759078bb812cf1c9f487fb3206e8813.webp?v=1782706755"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300966232163,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123779072099,"product_id":8048623550563,"position":10,"created_at":"2026-06-29T12:19:14+08:00","updated_at":"2026-06-29T12:19:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb266501129c75e45fa3a0a66d3ed2e578074f9b.webp?v=1782706756","variant_ids":[44300966232163]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530B-PD79","featured_media":{"alt":null,"id":27629022969955,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb266501129c75e45fa3a0a66d3ed2e578074f9b.webp?v=1782706756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300966690915,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123780087907,"product_id":8048623550563,"position":12,"created_at":"2026-06-29T12:19:15+08:00","updated_at":"2026-06-29T12:19:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f571219421cd58c6746c3bf2e9779dc2dc37723.webp?v=1782706758","variant_ids":[44300966690915]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135352-PD79","featured_media":{"alt":null,"id":27629023985763,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f571219421cd58c6746c3bf2e9779dc2dc37723.webp?v=1782706758"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300967247971,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123778646115,"product_id":8048623550563,"position":9,"created_at":"2026-06-29T12:19:13+08:00","updated_at":"2026-06-29T12:19:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/143ff2906ed56ab2554566524ba0930f282f5c65.webp?v=1782706756","variant_ids":[44300967247971]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01353O8-PD79","featured_media":{"alt":null,"id":27629022543971,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/143ff2906ed56ab2554566524ba0930f282f5c65.webp?v=1782706756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300967706723,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123779498083,"product_id":8048623550563,"position":11,"created_at":"2026-06-29T12:19:15+08:00","updated_at":"2026-06-29T12:19:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5570dc93ac4890700e3f2d9461c6bb4abc2c6a.webp?v=1782706757","variant_ids":[44300967706723]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135353-PD79","featured_media":{"alt":null,"id":27629023395939,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5570dc93ac4890700e3f2d9461c6bb4abc2c6a.webp?v=1782706757"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0145bc6d68500a59b7b6e1a4974a594d4846ed44.webp?v=1782706751","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b46f8c4a8cef227d005192de5a2ff9fd826d484.webp?v=1782706752","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e08b0f8e492b9b2dca15432631dcaa1a26a69c3.webp?v=1782706752","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3ae7ed6937364328e5d25ff8127ddf7568b11f9.webp?v=1782706753","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc66beaa733627ed02f6a6d2becbc696cd1061d.webp?v=1782706753","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f448f1f4b16d7016a6e1889241474ca3d535e603.webp?v=1782706754","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5a71deb622e4ca8f1d9dc6a89b9f2873d2805d3.webp?v=1782706754","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcd4efd79759078bb812cf1c9f487fb3206e8813.webp?v=1782706755","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/143ff2906ed56ab2554566524ba0930f282f5c65.webp?v=1782706756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb266501129c75e45fa3a0a66d3ed2e578074f9b.webp?v=1782706756","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5570dc93ac4890700e3f2d9461c6bb4abc2c6a.webp?v=1782706757","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f571219421cd58c6746c3bf2e9779dc2dc37723.webp?v=1782706758","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6aa1498dcd67b03380da86a4e1f156799402d96.webp?v=1782706758"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0145bc6d68500a59b7b6e1a4974a594d4846ed44.webp?v=1782706751","options":["color"],"media":[{"alt":null,"id":27629019627619,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0145bc6d68500a59b7b6e1a4974a594d4846ed44.webp?v=1782706751"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0145bc6d68500a59b7b6e1a4974a594d4846ed44.webp?v=1782706751","width":2000},{"alt":null,"id":27629019922531,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b46f8c4a8cef227d005192de5a2ff9fd826d484.webp?v=1782706752"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b46f8c4a8cef227d005192de5a2ff9fd826d484.webp?v=1782706752","width":2000},{"alt":null,"id":27629020184675,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e08b0f8e492b9b2dca15432631dcaa1a26a69c3.webp?v=1782706752"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e08b0f8e492b9b2dca15432631dcaa1a26a69c3.webp?v=1782706752","width":2000},{"alt":null,"id":27629020512355,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3ae7ed6937364328e5d25ff8127ddf7568b11f9.webp?v=1782706753"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3ae7ed6937364328e5d25ff8127ddf7568b11f9.webp?v=1782706753","width":2000},{"alt":null,"id":27629020872803,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc66beaa733627ed02f6a6d2becbc696cd1061d.webp?v=1782706753"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc66beaa733627ed02f6a6d2becbc696cd1061d.webp?v=1782706753","width":2000},{"alt":null,"id":27629021167715,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f448f1f4b16d7016a6e1889241474ca3d535e603.webp?v=1782706754"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f448f1f4b16d7016a6e1889241474ca3d535e603.webp?v=1782706754","width":2000},{"alt":null,"id":27629021659235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5a71deb622e4ca8f1d9dc6a89b9f2873d2805d3.webp?v=1782706754"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5a71deb622e4ca8f1d9dc6a89b9f2873d2805d3.webp?v=1782706754","width":2000},{"alt":null,"id":27629022052451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcd4efd79759078bb812cf1c9f487fb3206e8813.webp?v=1782706755"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcd4efd79759078bb812cf1c9f487fb3206e8813.webp?v=1782706755","width":2000},{"alt":null,"id":27629022543971,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/143ff2906ed56ab2554566524ba0930f282f5c65.webp?v=1782706756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/143ff2906ed56ab2554566524ba0930f282f5c65.webp?v=1782706756","width":2000},{"alt":null,"id":27629022969955,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb266501129c75e45fa3a0a66d3ed2e578074f9b.webp?v=1782706756"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb266501129c75e45fa3a0a66d3ed2e578074f9b.webp?v=1782706756","width":2000},{"alt":null,"id":27629023395939,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5570dc93ac4890700e3f2d9461c6bb4abc2c6a.webp?v=1782706757"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5570dc93ac4890700e3f2d9461c6bb4abc2c6a.webp?v=1782706757","width":2000},{"alt":null,"id":27629023985763,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f571219421cd58c6746c3bf2e9779dc2dc37723.webp?v=1782706758"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f571219421cd58c6746c3bf2e9779dc2dc37723.webp?v=1782706758","width":2000},{"alt":null,"id":27629024444515,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6aa1498dcd67b03380da86a4e1f156799402d96.webp?v=1782706758"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6aa1498dcd67b03380da86a4e1f156799402d96.webp?v=1782706758","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44300958367843,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123775729763,"product_id":8048623550563,"position":1,"created_at":"2026-06-29T12:19:09+08:00","updated_at":"2026-06-29T12:19:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0145bc6d68500a59b7b6e1a4974a594d4846ed44.webp?v=1782706751","variant_ids":[44300958367843]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530F-PD79","featured_media":{"alt":null,"id":27629019627619,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0145bc6d68500a59b7b6e1a4974a594d4846ed44.webp?v=1782706751"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300963446883,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123776974947,"product_id":8048623550563,"position":5,"created_at":"2026-06-29T12:19:11+08:00","updated_at":"2026-06-29T12:19:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc66beaa733627ed02f6a6d2becbc696cd1061d.webp?v=1782706753","variant_ids":[44300963446883]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013536A-PD79","featured_media":{"alt":null,"id":27629020872803,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fc66beaa733627ed02f6a6d2becbc696cd1061d.webp?v=1782706753"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300963577955,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123776614499,"product_id":8048623550563,"position":4,"created_at":"2026-06-29T12:19:11+08:00","updated_at":"2026-06-29T12:19:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3ae7ed6937364328e5d25ff8127ddf7568b11f9.webp?v=1782706753","variant_ids":[44300963577955]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Z-PD79","featured_media":{"alt":null,"id":27629020512355,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3ae7ed6937364328e5d25ff8127ddf7568b11f9.webp?v=1782706753"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300963807331,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123780743267,"product_id":8048623550563,"position":13,"created_at":"2026-06-29T12:19:16+08:00","updated_at":"2026-06-29T12:19:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6aa1498dcd67b03380da86a4e1f156799402d96.webp?v=1782706758","variant_ids":[44300963807331]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Y-PD79","featured_media":{"alt":null,"id":27629024444515,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c6aa1498dcd67b03380da86a4e1f156799402d96.webp?v=1782706758"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300963971171,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123776286819,"product_id":8048623550563,"position":3,"created_at":"2026-06-29T12:19:10+08:00","updated_at":"2026-06-29T12:19:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e08b0f8e492b9b2dca15432631dcaa1a26a69c3.webp?v=1782706752","variant_ids":[44300963971171]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535X-PD79","featured_media":{"alt":null,"id":27629020184675,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e08b0f8e492b9b2dca15432631dcaa1a26a69c3.webp?v=1782706752"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300964200547,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123777269859,"product_id":8048623550563,"position":6,"created_at":"2026-06-29T12:19:12+08:00","updated_at":"2026-06-29T12:19:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f448f1f4b16d7016a6e1889241474ca3d535e603.webp?v=1782706754","variant_ids":[44300964200547]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535H-PD79","featured_media":{"alt":null,"id":27629021167715,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f448f1f4b16d7016a6e1889241474ca3d535e603.webp?v=1782706754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300964593763,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123776024675,"product_id":8048623550563,"position":2,"created_at":"2026-06-29T12:19:10+08:00","updated_at":"2026-06-29T12:19:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b46f8c4a8cef227d005192de5a2ff9fd826d484.webp?v=1782706752","variant_ids":[44300964593763]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534I-PD79","featured_media":{"alt":null,"id":27629019922531,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1b46f8c4a8cef227d005192de5a2ff9fd826d484.webp?v=1782706752"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300965052515,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123777761379,"product_id":8048623550563,"position":7,"created_at":"2026-06-29T12:19:12+08:00","updated_at":"2026-06-29T12:19:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5a71deb622e4ca8f1d9dc6a89b9f2873d2805d3.webp?v=1782706754","variant_ids":[44300965052515]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534H-PD79","featured_media":{"alt":null,"id":27629021659235,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e5a71deb622e4ca8f1d9dc6a89b9f2873d2805d3.webp?v=1782706754"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300965314659,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123778154595,"product_id":8048623550563,"position":8,"created_at":"2026-06-29T12:19:13+08:00","updated_at":"2026-06-29T12:19:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcd4efd79759078bb812cf1c9f487fb3206e8813.webp?v=1782706755","variant_ids":[44300965314659]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013533O-PD79","featured_media":{"alt":null,"id":27629022052451,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fcd4efd79759078bb812cf1c9f487fb3206e8813.webp?v=1782706755"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300966232163,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123779072099,"product_id":8048623550563,"position":10,"created_at":"2026-06-29T12:19:14+08:00","updated_at":"2026-06-29T12:19:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb266501129c75e45fa3a0a66d3ed2e578074f9b.webp?v=1782706756","variant_ids":[44300966232163]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530B-PD79","featured_media":{"alt":null,"id":27629022969955,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb266501129c75e45fa3a0a66d3ed2e578074f9b.webp?v=1782706756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300966690915,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123780087907,"product_id":8048623550563,"position":12,"created_at":"2026-06-29T12:19:15+08:00","updated_at":"2026-06-29T12:19:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f571219421cd58c6746c3bf2e9779dc2dc37723.webp?v=1782706758","variant_ids":[44300966690915]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135352-PD79","featured_media":{"alt":null,"id":27629023985763,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f571219421cd58c6746c3bf2e9779dc2dc37723.webp?v=1782706758"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300967247971,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123778646115,"product_id":8048623550563,"position":9,"created_at":"2026-06-29T12:19:13+08:00","updated_at":"2026-06-29T12:19:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/143ff2906ed56ab2554566524ba0930f282f5c65.webp?v=1782706756","variant_ids":[44300967247971]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01353O8-PD79","featured_media":{"alt":null,"id":27629022543971,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/143ff2906ed56ab2554566524ba0930f282f5c65.webp?v=1782706756"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300967706723,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123779498083,"product_id":8048623550563,"position":11,"created_at":"2026-06-29T12:19:15+08:00","updated_at":"2026-06-29T12:19:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5570dc93ac4890700e3f2d9461c6bb4abc2c6a.webp?v=1782706757","variant_ids":[44300967706723]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135353-PD79","featured_media":{"alt":null,"id":27629023395939,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb5570dc93ac4890700e3f2d9461c6bb4abc2c6a.webp?v=1782706757"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44300958367843,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-PD79","requires_shipping":true,"taxable":true,"featured_image":{"id":36123775729763,"product_id":8048623550563,"position":1,"created_at":"2026-06-29T12:19:09+08:00","updated_at":"2026-06-29T12:19:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0145bc6d68500a59b7b6e1a4974a594d4846ed44.webp?v=1782706751","variant_ids":[44300958367843]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼-皮克斯 汽車總動員 - 閃電烈火 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530F-PD79","featured_media":{"alt":null,"id":27629019627619,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0145bc6d68500a59b7b6e1a4974a594d4846ed44.webp?v=1782706751"}},"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: "停產"
}