$product = {"id":7888979296355,"title":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up","handle":"iphone-17-solidx-tb36","description":null,"published_at":"2025-09-24T11:09:06+08:00","created_at":"2025-09-23T12:13:01+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-oracle-redbull-racing","device-iPhone 17","merge","reseller-oracle-redbull-racing"],"price":118000,"price_min":118000,"price_max":118000,"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":43744926597219,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013504H-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518500147299,"product_id":7888979296355,"position":8,"created_at":"2025-09-23T12:13:09+08:00","updated_at":"2025-09-23T12:13:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b6aa3777d49cdcdd93f9a950e075c9106c9ccf9.webp?v=1758600790","variant_ids":[43744926597219]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013504H-TB36","featured_media":{"alt":null,"id":26088874573923,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b6aa3777d49cdcdd93f9a950e075c9106c9ccf9.webp?v=1758600790"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744928825443,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013500B-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518500048995,"product_id":7888979296355,"position":7,"created_at":"2025-09-23T12:13:08+08:00","updated_at":"2025-09-23T12:13:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/657b9b8abc953b0768dcd3f841bf90e6b882d26b.webp?v=1758600790","variant_ids":[43744928825443]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013500B-TB36","featured_media":{"alt":null,"id":26088874475619,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/657b9b8abc953b0768dcd3f841bf90e6b882d26b.webp?v=1758600790"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744928858211,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"NST013500A-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499524707,"product_id":7888979296355,"position":3,"created_at":"2025-09-23T12:13:06+08:00","updated_at":"2025-09-23T12:13:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/874723274f8a7c9ea3bb4c8d78239104a049f602.webp?v=1758600788","variant_ids":[43744928858211]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013500A-TB36","featured_media":{"alt":null,"id":26088873951331,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/874723274f8a7c9ea3bb4c8d78239104a049f602.webp?v=1758600788"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744928890979,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135052-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499655779,"product_id":7888979296355,"position":4,"created_at":"2025-09-23T12:13:07+08:00","updated_at":"2025-09-23T12:13:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79ccb33081964a77d572a22998d7a7efbc7288dd.webp?v=1758600789","variant_ids":[43744928890979]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Black","public_title":"Black","options":["Black"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135052-TB36","featured_media":{"alt":null,"id":26088874082403,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79ccb33081964a77d572a22998d7a7efbc7288dd.webp?v=1758600789"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744928923747,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01350O8-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499229795,"product_id":7888979296355,"position":1,"created_at":"2025-09-23T12:13:05+08:00","updated_at":"2025-09-23T12:13:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0c96f8d777e8d7c2359e1c5ad2c2aed02d5652.webp?v=1758600787","variant_ids":[43744928923747]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01350O8-TB36","featured_media":{"alt":null,"id":26088873656419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0c96f8d777e8d7c2359e1c5ad2c2aed02d5652.webp?v=1758600787"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744928956515,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"NST01350Z8-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499754083,"product_id":7888979296355,"position":5,"created_at":"2025-09-23T12:13:07+08:00","updated_at":"2025-09-23T12:13:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/849fde4123ee1181b03d9ce5ad2558ec76bce848.webp?v=1758600789","variant_ids":[43744928956515]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01350Z8-TB36","featured_media":{"alt":null,"id":26088874180707,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/849fde4123ee1181b03d9ce5ad2558ec76bce848.webp?v=1758600789"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744928989283,"title":"Raspberry Sorbet","option1":"Raspberry Sorbet","option2":null,"option3":null,"sku":"NST013503P-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499885155,"product_id":7888979296355,"position":6,"created_at":"2025-09-23T12:13:08+08:00","updated_at":"2025-09-23T12:13:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c13ec7aaeb0dac07722dc1fa99ec13865ab9bc2.webp?v=1758600790","variant_ids":[43744928989283]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Raspberry Sorbet","public_title":"Raspberry Sorbet","options":["Raspberry Sorbet"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013503P-TB36","featured_media":{"alt":null,"id":26088874311779,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c13ec7aaeb0dac07722dc1fa99ec13865ab9bc2.webp?v=1758600790"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744929022051,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135053-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499393635,"product_id":7888979296355,"position":2,"created_at":"2025-09-23T12:13:05+08:00","updated_at":"2025-09-23T12:13:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788","variant_ids":[43744929022051,43800098144355,43800098177123,44201703473251,44201704357987,44201704816739,44201705177187]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - White","public_title":"White","options":["White"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135053-TB36","featured_media":{"alt":null,"id":26088873820259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43800098144355,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"NST01350P1-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499393635,"product_id":7888979296355,"position":2,"created_at":"2025-09-23T12:13:05+08:00","updated_at":"2025-09-23T12:13:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788","variant_ids":[43744929022051,43800098144355,43800098177123,44201703473251,44201704357987,44201704816739,44201705177187]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Violet","public_title":"Violet","options":["Violet"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01350P1-TB36","featured_media":{"alt":null,"id":26088873820259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43800098177123,"title":"Pastel Matcha","option1":"Pastel Matcha","option2":null,"option3":null,"sku":"NST013503R-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499393635,"product_id":7888979296355,"position":2,"created_at":"2025-09-23T12:13:05+08:00","updated_at":"2025-09-23T12:13:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788","variant_ids":[43744929022051,43800098144355,43800098177123,44201703473251,44201704357987,44201704816739,44201705177187]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Pastel Matcha","public_title":"Pastel Matcha","options":["Pastel Matcha"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013503R-TB36","featured_media":{"alt":null,"id":26088873820259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201703473251,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013506A-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499393635,"product_id":7888979296355,"position":2,"created_at":"2025-09-23T12:13:05+08:00","updated_at":"2025-09-23T12:13:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788","variant_ids":[43744929022051,43800098144355,43800098177123,44201703473251,44201704357987,44201704816739,44201705177187]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013506A-TB36","featured_media":{"alt":null,"id":26088873820259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201704357987,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013505X-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499393635,"product_id":7888979296355,"position":2,"created_at":"2025-09-23T12:13:05+08:00","updated_at":"2025-09-23T12:13:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788","variant_ids":[43744929022051,43800098144355,43800098177123,44201703473251,44201704357987,44201704816739,44201705177187]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013505X-TB36","featured_media":{"alt":null,"id":26088873820259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201704816739,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013505Y-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499393635,"product_id":7888979296355,"position":2,"created_at":"2025-09-23T12:13:05+08:00","updated_at":"2025-09-23T12:13:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788","variant_ids":[43744929022051,43800098144355,43800098177123,44201703473251,44201704357987,44201704816739,44201705177187]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Field Green","public_title":"Field Green","options":["Field Green"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013505Y-TB36","featured_media":{"alt":null,"id":26088873820259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201705177187,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013505Z-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499393635,"product_id":7888979296355,"position":2,"created_at":"2025-09-23T12:13:05+08:00","updated_at":"2025-09-23T12:13:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788","variant_ids":[43744929022051,43800098144355,43800098177123,44201703473251,44201704357987,44201704816739,44201705177187]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013505Z-TB36","featured_media":{"alt":null,"id":26088873820259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0c96f8d777e8d7c2359e1c5ad2c2aed02d5652.webp?v=1758600787","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/874723274f8a7c9ea3bb4c8d78239104a049f602.webp?v=1758600788","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79ccb33081964a77d572a22998d7a7efbc7288dd.webp?v=1758600789","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/849fde4123ee1181b03d9ce5ad2558ec76bce848.webp?v=1758600789","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c13ec7aaeb0dac07722dc1fa99ec13865ab9bc2.webp?v=1758600790","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/657b9b8abc953b0768dcd3f841bf90e6b882d26b.webp?v=1758600790","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b6aa3777d49cdcdd93f9a950e075c9106c9ccf9.webp?v=1758600790"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0c96f8d777e8d7c2359e1c5ad2c2aed02d5652.webp?v=1758600787","options":["color"],"media":[{"alt":null,"id":26088873656419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0c96f8d777e8d7c2359e1c5ad2c2aed02d5652.webp?v=1758600787"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0c96f8d777e8d7c2359e1c5ad2c2aed02d5652.webp?v=1758600787","width":2000},{"alt":null,"id":26088873820259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788","width":2000},{"alt":null,"id":26088873951331,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/874723274f8a7c9ea3bb4c8d78239104a049f602.webp?v=1758600788"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/874723274f8a7c9ea3bb4c8d78239104a049f602.webp?v=1758600788","width":2000},{"alt":null,"id":26088874082403,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79ccb33081964a77d572a22998d7a7efbc7288dd.webp?v=1758600789"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79ccb33081964a77d572a22998d7a7efbc7288dd.webp?v=1758600789","width":2000},{"alt":null,"id":26088874180707,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/849fde4123ee1181b03d9ce5ad2558ec76bce848.webp?v=1758600789"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/849fde4123ee1181b03d9ce5ad2558ec76bce848.webp?v=1758600789","width":2000},{"alt":null,"id":26088874311779,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c13ec7aaeb0dac07722dc1fa99ec13865ab9bc2.webp?v=1758600790"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c13ec7aaeb0dac07722dc1fa99ec13865ab9bc2.webp?v=1758600790","width":2000},{"alt":null,"id":26088874475619,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/657b9b8abc953b0768dcd3f841bf90e6b882d26b.webp?v=1758600790"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/657b9b8abc953b0768dcd3f841bf90e6b882d26b.webp?v=1758600790","width":2000},{"alt":null,"id":26088874573923,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b6aa3777d49cdcdd93f9a950e075c9106c9ccf9.webp?v=1758600790"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b6aa3777d49cdcdd93f9a950e075c9106c9ccf9.webp?v=1758600790","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43744926597219,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013504H-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518500147299,"product_id":7888979296355,"position":8,"created_at":"2025-09-23T12:13:09+08:00","updated_at":"2025-09-23T12:13:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b6aa3777d49cdcdd93f9a950e075c9106c9ccf9.webp?v=1758600790","variant_ids":[43744926597219]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013504H-TB36","featured_media":{"alt":null,"id":26088874573923,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b6aa3777d49cdcdd93f9a950e075c9106c9ccf9.webp?v=1758600790"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744928825443,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013500B-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518500048995,"product_id":7888979296355,"position":7,"created_at":"2025-09-23T12:13:08+08:00","updated_at":"2025-09-23T12:13:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/657b9b8abc953b0768dcd3f841bf90e6b882d26b.webp?v=1758600790","variant_ids":[43744928825443]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013500B-TB36","featured_media":{"alt":null,"id":26088874475619,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/657b9b8abc953b0768dcd3f841bf90e6b882d26b.webp?v=1758600790"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744928858211,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"NST013500A-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499524707,"product_id":7888979296355,"position":3,"created_at":"2025-09-23T12:13:06+08:00","updated_at":"2025-09-23T12:13:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/874723274f8a7c9ea3bb4c8d78239104a049f602.webp?v=1758600788","variant_ids":[43744928858211]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013500A-TB36","featured_media":{"alt":null,"id":26088873951331,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/874723274f8a7c9ea3bb4c8d78239104a049f602.webp?v=1758600788"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744928890979,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135052-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499655779,"product_id":7888979296355,"position":4,"created_at":"2025-09-23T12:13:07+08:00","updated_at":"2025-09-23T12:13:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79ccb33081964a77d572a22998d7a7efbc7288dd.webp?v=1758600789","variant_ids":[43744928890979]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Black","public_title":"Black","options":["Black"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135052-TB36","featured_media":{"alt":null,"id":26088874082403,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79ccb33081964a77d572a22998d7a7efbc7288dd.webp?v=1758600789"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744928923747,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01350O8-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499229795,"product_id":7888979296355,"position":1,"created_at":"2025-09-23T12:13:05+08:00","updated_at":"2025-09-23T12:13:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0c96f8d777e8d7c2359e1c5ad2c2aed02d5652.webp?v=1758600787","variant_ids":[43744928923747]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01350O8-TB36","featured_media":{"alt":null,"id":26088873656419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/be0c96f8d777e8d7c2359e1c5ad2c2aed02d5652.webp?v=1758600787"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744928956515,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"NST01350Z8-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499754083,"product_id":7888979296355,"position":5,"created_at":"2025-09-23T12:13:07+08:00","updated_at":"2025-09-23T12:13:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/849fde4123ee1181b03d9ce5ad2558ec76bce848.webp?v=1758600789","variant_ids":[43744928956515]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01350Z8-TB36","featured_media":{"alt":null,"id":26088874180707,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/849fde4123ee1181b03d9ce5ad2558ec76bce848.webp?v=1758600789"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744928989283,"title":"Raspberry Sorbet","option1":"Raspberry Sorbet","option2":null,"option3":null,"sku":"NST013503P-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499885155,"product_id":7888979296355,"position":6,"created_at":"2025-09-23T12:13:08+08:00","updated_at":"2025-09-23T12:13:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c13ec7aaeb0dac07722dc1fa99ec13865ab9bc2.webp?v=1758600790","variant_ids":[43744928989283]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Raspberry Sorbet","public_title":"Raspberry Sorbet","options":["Raspberry Sorbet"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013503P-TB36","featured_media":{"alt":null,"id":26088874311779,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c13ec7aaeb0dac07722dc1fa99ec13865ab9bc2.webp?v=1758600790"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43744929022051,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135053-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499393635,"product_id":7888979296355,"position":2,"created_at":"2025-09-23T12:13:05+08:00","updated_at":"2025-09-23T12:13:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788","variant_ids":[43744929022051,43800098144355,43800098177123,44201703473251,44201704357987,44201704816739,44201705177187]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - White","public_title":"White","options":["White"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135053-TB36","featured_media":{"alt":null,"id":26088873820259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43800098144355,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"NST01350P1-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499393635,"product_id":7888979296355,"position":2,"created_at":"2025-09-23T12:13:05+08:00","updated_at":"2025-09-23T12:13:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788","variant_ids":[43744929022051,43800098144355,43800098177123,44201703473251,44201704357987,44201704816739,44201705177187]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Violet","public_title":"Violet","options":["Violet"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01350P1-TB36","featured_media":{"alt":null,"id":26088873820259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43800098177123,"title":"Pastel Matcha","option1":"Pastel Matcha","option2":null,"option3":null,"sku":"NST013503R-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499393635,"product_id":7888979296355,"position":2,"created_at":"2025-09-23T12:13:05+08:00","updated_at":"2025-09-23T12:13:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788","variant_ids":[43744929022051,43800098144355,43800098177123,44201703473251,44201704357987,44201704816739,44201705177187]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Pastel Matcha","public_title":"Pastel Matcha","options":["Pastel Matcha"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013503R-TB36","featured_media":{"alt":null,"id":26088873820259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201703473251,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013506A-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499393635,"product_id":7888979296355,"position":2,"created_at":"2025-09-23T12:13:05+08:00","updated_at":"2025-09-23T12:13:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788","variant_ids":[43744929022051,43800098144355,43800098177123,44201703473251,44201704357987,44201704816739,44201705177187]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013506A-TB36","featured_media":{"alt":null,"id":26088873820259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201704357987,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013505X-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499393635,"product_id":7888979296355,"position":2,"created_at":"2025-09-23T12:13:05+08:00","updated_at":"2025-09-23T12:13:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788","variant_ids":[43744929022051,43800098144355,43800098177123,44201703473251,44201704357987,44201704816739,44201705177187]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013505X-TB36","featured_media":{"alt":null,"id":26088873820259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201704816739,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013505Y-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499393635,"product_id":7888979296355,"position":2,"created_at":"2025-09-23T12:13:05+08:00","updated_at":"2025-09-23T12:13:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788","variant_ids":[43744929022051,43800098144355,43800098177123,44201703473251,44201704357987,44201704816739,44201705177187]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Field Green","public_title":"Field Green","options":["Field Green"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013505Y-TB36","featured_media":{"alt":null,"id":26088873820259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201705177187,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013505Z-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518499393635,"product_id":7888979296355,"position":2,"created_at":"2025-09-23T12:13:05+08:00","updated_at":"2025-09-23T12:13:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788","variant_ids":[43744929022051,43800098144355,43800098177123,44201703473251,44201704357987,44201704816739,44201705177187]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013505Z-TB36","featured_media":{"alt":null,"id":26088873820259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57e858d9942af943b2190eb34569bab5f89073c.webp?v=1758600788"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43744926597219,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013504H-TB36","requires_shipping":true,"taxable":true,"featured_image":{"id":34518500147299,"product_id":7888979296355,"position":8,"created_at":"2025-09-23T12:13:09+08:00","updated_at":"2025-09-23T12:13:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b6aa3777d49cdcdd93f9a950e075c9106c9ccf9.webp?v=1758600790","variant_ids":[43744926597219]},"available":true,"name":"iPhone 17 SolidX Oracle Red Bull Racing F1 Close up - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013504H-TB36","featured_media":{"alt":null,"id":26088874573923,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7b6aa3777d49cdcdd93f9a950e075c9106c9ccf9.webp?v=1758600790"}},"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: "停產"
}