$product = {"id":8077273170019,"title":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟","handle":"iphone-17-pro-max-solidx-pq34","description":null,"published_at":"2026-08-17T15:14:44+08:00","created_at":"2026-07-21T23:40:17+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-looney-tunes","device-iPhone 17 Pro Max","merge","reseller-looney-tunes"],"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":44384057557091,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337945280611,"product_id":8077273170019,"position":13,"created_at":"2026-07-21T23:42:01+08:00","updated_at":"2026-07-21T23:42:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/336f68926e9c9893faa559932e77cb26a5e808c2.webp?v=1784648523","variant_ids":[44384057557091]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841821442147,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/336f68926e9c9893faa559932e77cb26a5e808c2.webp?v=1784648523"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384069746787,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337941151843,"product_id":8077273170019,"position":6,"created_at":"2026-07-21T23:41:53+08:00","updated_at":"2026-07-21T23:41:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8d3e119641da9e47478379d663bfcd6fb99739.webp?v=1784648516","variant_ids":[44384069746787]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841817280611,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8d3e119641da9e47478379d663bfcd6fb99739.webp?v=1784648516"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384069943395,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337941348451,"product_id":8077273170019,"position":7,"created_at":"2026-07-21T23:41:54+08:00","updated_at":"2026-07-21T23:41:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9734626b63d8097b181f37ff018bd10d2826366f.webp?v=1784648516","variant_ids":[44384069943395]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841817509987,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9734626b63d8097b181f37ff018bd10d2826366f.webp?v=1784648516"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384070074467,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337940922467,"product_id":8077273170019,"position":4,"created_at":"2026-07-21T23:41:52+08:00","updated_at":"2026-07-21T23:41:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b5ee7b87d46eadcd23f984b547641bef7a66f5e.webp?v=1784648514","variant_ids":[44384070074467]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841815838819,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b5ee7b87d46eadcd23f984b547641bef7a66f5e.webp?v=1784648514"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384070271075,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337944821859,"product_id":8077273170019,"position":12,"created_at":"2026-07-21T23:42:01+08:00","updated_at":"2026-07-21T23:42:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61fde617d4978460f3d2bbe1f712ec488ea86da4.webp?v=1784648523","variant_ids":[44384070271075]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841820983395,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61fde617d4978460f3d2bbe1f712ec488ea86da4.webp?v=1784648523"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384070402147,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337942298723,"product_id":8077273170019,"position":10,"created_at":"2026-07-21T23:41:56+08:00","updated_at":"2026-07-21T23:41:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0678b9ffd8ef511cdbae9cf97670ee5fac4b6ef2.webp?v=1784648518","variant_ids":[44384070402147]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841818460259,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0678b9ffd8ef511cdbae9cf97670ee5fac4b6ef2.webp?v=1784648518"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384070565987,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337939054691,"product_id":8077273170019,"position":2,"created_at":"2026-07-21T23:41:51+08:00","updated_at":"2026-07-21T23:41:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/958eed57cf36a5a829c77d8901472e75647a02f5.webp?v=1784648513","variant_ids":[44384070565987]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841815216227,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/958eed57cf36a5a829c77d8901472e75647a02f5.webp?v=1784648513"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384070762595,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337941020771,"product_id":8077273170019,"position":5,"created_at":"2026-07-21T23:41:53+08:00","updated_at":"2026-07-21T23:41:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1795def7c9269747defcff32f95a7e23a9ec022.webp?v=1784648515","variant_ids":[44384070762595]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841817149539,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1795def7c9269747defcff32f95a7e23a9ec022.webp?v=1784648515"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384070926435,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337941971043,"product_id":8077273170019,"position":8,"created_at":"2026-07-21T23:41:55+08:00","updated_at":"2026-07-21T23:41:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f973eb9b945c1199b85adb9b01f8679bf97eb4.webp?v=1784648517","variant_ids":[44384070926435]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841817935971,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f973eb9b945c1199b85adb9b01f8679bf97eb4.webp?v=1784648517"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384071155811,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337942102115,"product_id":8077273170019,"position":9,"created_at":"2026-07-21T23:41:55+08:00","updated_at":"2026-07-21T23:41:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36aab2cfb2f4de3b62b15a88bcc720fc8c50e549.webp?v=1784648518","variant_ids":[44384071155811]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841818263651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36aab2cfb2f4de3b62b15a88bcc720fc8c50e549.webp?v=1784648518"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384071385187,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337939611747,"product_id":8077273170019,"position":3,"created_at":"2026-07-21T23:41:51+08:00","updated_at":"2026-07-21T23:41:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23489d5fbfe7773f5a679f75973304439b68ef1f.webp?v=1784648513","variant_ids":[44384071385187]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841815740515,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23489d5fbfe7773f5a679f75973304439b68ef1f.webp?v=1784648513"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384071745635,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337938956387,"product_id":8077273170019,"position":1,"created_at":"2026-07-21T23:41:51+08:00","updated_at":"2026-07-21T23:41:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95165f31f58e55910d304df168e014cedfa50af5.webp?v=1784648513","variant_ids":[44384071745635]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841815085155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95165f31f58e55910d304df168e014cedfa50af5.webp?v=1784648513"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384071843939,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337943412835,"product_id":8077273170019,"position":11,"created_at":"2026-07-21T23:41:57+08:00","updated_at":"2026-07-21T23:41:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/851fc2da99127f105e5ff2f5c6fc01bef990302a.webp?v=1784648519","variant_ids":[44384071843939]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841819574371,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/851fc2da99127f105e5ff2f5c6fc01bef990302a.webp?v=1784648519"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95165f31f58e55910d304df168e014cedfa50af5.webp?v=1784648513","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/958eed57cf36a5a829c77d8901472e75647a02f5.webp?v=1784648513","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23489d5fbfe7773f5a679f75973304439b68ef1f.webp?v=1784648513","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b5ee7b87d46eadcd23f984b547641bef7a66f5e.webp?v=1784648514","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1795def7c9269747defcff32f95a7e23a9ec022.webp?v=1784648515","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8d3e119641da9e47478379d663bfcd6fb99739.webp?v=1784648516","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9734626b63d8097b181f37ff018bd10d2826366f.webp?v=1784648516","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f973eb9b945c1199b85adb9b01f8679bf97eb4.webp?v=1784648517","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36aab2cfb2f4de3b62b15a88bcc720fc8c50e549.webp?v=1784648518","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0678b9ffd8ef511cdbae9cf97670ee5fac4b6ef2.webp?v=1784648518","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/851fc2da99127f105e5ff2f5c6fc01bef990302a.webp?v=1784648519","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61fde617d4978460f3d2bbe1f712ec488ea86da4.webp?v=1784648523","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/336f68926e9c9893faa559932e77cb26a5e808c2.webp?v=1784648523"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95165f31f58e55910d304df168e014cedfa50af5.webp?v=1784648513","options":["color"],"media":[{"alt":null,"id":27841815085155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95165f31f58e55910d304df168e014cedfa50af5.webp?v=1784648513"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95165f31f58e55910d304df168e014cedfa50af5.webp?v=1784648513","width":2000},{"alt":null,"id":27841815216227,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/958eed57cf36a5a829c77d8901472e75647a02f5.webp?v=1784648513"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/958eed57cf36a5a829c77d8901472e75647a02f5.webp?v=1784648513","width":2000},{"alt":null,"id":27841815740515,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23489d5fbfe7773f5a679f75973304439b68ef1f.webp?v=1784648513"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23489d5fbfe7773f5a679f75973304439b68ef1f.webp?v=1784648513","width":2000},{"alt":null,"id":27841815838819,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b5ee7b87d46eadcd23f984b547641bef7a66f5e.webp?v=1784648514"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b5ee7b87d46eadcd23f984b547641bef7a66f5e.webp?v=1784648514","width":2000},{"alt":null,"id":27841817149539,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1795def7c9269747defcff32f95a7e23a9ec022.webp?v=1784648515"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1795def7c9269747defcff32f95a7e23a9ec022.webp?v=1784648515","width":2000},{"alt":null,"id":27841817280611,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8d3e119641da9e47478379d663bfcd6fb99739.webp?v=1784648516"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8d3e119641da9e47478379d663bfcd6fb99739.webp?v=1784648516","width":2000},{"alt":null,"id":27841817509987,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9734626b63d8097b181f37ff018bd10d2826366f.webp?v=1784648516"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9734626b63d8097b181f37ff018bd10d2826366f.webp?v=1784648516","width":2000},{"alt":null,"id":27841817935971,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f973eb9b945c1199b85adb9b01f8679bf97eb4.webp?v=1784648517"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f973eb9b945c1199b85adb9b01f8679bf97eb4.webp?v=1784648517","width":2000},{"alt":null,"id":27841818263651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36aab2cfb2f4de3b62b15a88bcc720fc8c50e549.webp?v=1784648518"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36aab2cfb2f4de3b62b15a88bcc720fc8c50e549.webp?v=1784648518","width":2000},{"alt":null,"id":27841818460259,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0678b9ffd8ef511cdbae9cf97670ee5fac4b6ef2.webp?v=1784648518"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0678b9ffd8ef511cdbae9cf97670ee5fac4b6ef2.webp?v=1784648518","width":2000},{"alt":null,"id":27841819574371,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/851fc2da99127f105e5ff2f5c6fc01bef990302a.webp?v=1784648519"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/851fc2da99127f105e5ff2f5c6fc01bef990302a.webp?v=1784648519","width":2000},{"alt":null,"id":27841820983395,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61fde617d4978460f3d2bbe1f712ec488ea86da4.webp?v=1784648523"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61fde617d4978460f3d2bbe1f712ec488ea86da4.webp?v=1784648523","width":2000},{"alt":null,"id":27841821442147,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/336f68926e9c9893faa559932e77cb26a5e808c2.webp?v=1784648523"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/336f68926e9c9893faa559932e77cb26a5e808c2.webp?v=1784648523","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44384057557091,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337945280611,"product_id":8077273170019,"position":13,"created_at":"2026-07-21T23:42:01+08:00","updated_at":"2026-07-21T23:42:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/336f68926e9c9893faa559932e77cb26a5e808c2.webp?v=1784648523","variant_ids":[44384057557091]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841821442147,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/336f68926e9c9893faa559932e77cb26a5e808c2.webp?v=1784648523"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384069746787,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337941151843,"product_id":8077273170019,"position":6,"created_at":"2026-07-21T23:41:53+08:00","updated_at":"2026-07-21T23:41:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8d3e119641da9e47478379d663bfcd6fb99739.webp?v=1784648516","variant_ids":[44384069746787]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841817280611,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb8d3e119641da9e47478379d663bfcd6fb99739.webp?v=1784648516"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384069943395,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337941348451,"product_id":8077273170019,"position":7,"created_at":"2026-07-21T23:41:54+08:00","updated_at":"2026-07-21T23:41:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9734626b63d8097b181f37ff018bd10d2826366f.webp?v=1784648516","variant_ids":[44384069943395]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841817509987,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9734626b63d8097b181f37ff018bd10d2826366f.webp?v=1784648516"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384070074467,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337940922467,"product_id":8077273170019,"position":4,"created_at":"2026-07-21T23:41:52+08:00","updated_at":"2026-07-21T23:41:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b5ee7b87d46eadcd23f984b547641bef7a66f5e.webp?v=1784648514","variant_ids":[44384070074467]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841815838819,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2b5ee7b87d46eadcd23f984b547641bef7a66f5e.webp?v=1784648514"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384070271075,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337944821859,"product_id":8077273170019,"position":12,"created_at":"2026-07-21T23:42:01+08:00","updated_at":"2026-07-21T23:42:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61fde617d4978460f3d2bbe1f712ec488ea86da4.webp?v=1784648523","variant_ids":[44384070271075]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841820983395,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61fde617d4978460f3d2bbe1f712ec488ea86da4.webp?v=1784648523"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384070402147,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337942298723,"product_id":8077273170019,"position":10,"created_at":"2026-07-21T23:41:56+08:00","updated_at":"2026-07-21T23:41:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0678b9ffd8ef511cdbae9cf97670ee5fac4b6ef2.webp?v=1784648518","variant_ids":[44384070402147]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841818460259,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0678b9ffd8ef511cdbae9cf97670ee5fac4b6ef2.webp?v=1784648518"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384070565987,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337939054691,"product_id":8077273170019,"position":2,"created_at":"2026-07-21T23:41:51+08:00","updated_at":"2026-07-21T23:41:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/958eed57cf36a5a829c77d8901472e75647a02f5.webp?v=1784648513","variant_ids":[44384070565987]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841815216227,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/958eed57cf36a5a829c77d8901472e75647a02f5.webp?v=1784648513"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384070762595,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337941020771,"product_id":8077273170019,"position":5,"created_at":"2026-07-21T23:41:53+08:00","updated_at":"2026-07-21T23:41:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1795def7c9269747defcff32f95a7e23a9ec022.webp?v=1784648515","variant_ids":[44384070762595]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841817149539,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1795def7c9269747defcff32f95a7e23a9ec022.webp?v=1784648515"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384070926435,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337941971043,"product_id":8077273170019,"position":8,"created_at":"2026-07-21T23:41:55+08:00","updated_at":"2026-07-21T23:41:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f973eb9b945c1199b85adb9b01f8679bf97eb4.webp?v=1784648517","variant_ids":[44384070926435]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841817935971,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05f973eb9b945c1199b85adb9b01f8679bf97eb4.webp?v=1784648517"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384071155811,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337942102115,"product_id":8077273170019,"position":9,"created_at":"2026-07-21T23:41:55+08:00","updated_at":"2026-07-21T23:41:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36aab2cfb2f4de3b62b15a88bcc720fc8c50e549.webp?v=1784648518","variant_ids":[44384071155811]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841818263651,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36aab2cfb2f4de3b62b15a88bcc720fc8c50e549.webp?v=1784648518"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384071385187,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337939611747,"product_id":8077273170019,"position":3,"created_at":"2026-07-21T23:41:51+08:00","updated_at":"2026-07-21T23:41:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23489d5fbfe7773f5a679f75973304439b68ef1f.webp?v=1784648513","variant_ids":[44384071385187]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841815740515,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/23489d5fbfe7773f5a679f75973304439b68ef1f.webp?v=1784648513"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384071745635,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337938956387,"product_id":8077273170019,"position":1,"created_at":"2026-07-21T23:41:51+08:00","updated_at":"2026-07-21T23:41:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95165f31f58e55910d304df168e014cedfa50af5.webp?v=1784648513","variant_ids":[44384071745635]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841815085155,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/95165f31f58e55910d304df168e014cedfa50af5.webp?v=1784648513"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44384071843939,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337943412835,"product_id":8077273170019,"position":11,"created_at":"2026-07-21T23:41:57+08:00","updated_at":"2026-07-21T23:41:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/851fc2da99127f105e5ff2f5c6fc01bef990302a.webp?v=1784648519","variant_ids":[44384071843939]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841819574371,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/851fc2da99127f105e5ff2f5c6fc01bef990302a.webp?v=1784648519"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44384057557091,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-PQ34","requires_shipping":true,"taxable":true,"featured_image":{"id":36337945280611,"product_id":8077273170019,"position":13,"created_at":"2026-07-21T23:42:01+08:00","updated_at":"2026-07-21T23:42:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/336f68926e9c9893faa559932e77cb26a5e808c2.webp?v=1784648523","variant_ids":[44384057557091]},"available":true,"name":"iPhone 17 Pro Max SolidX Looney Tunes 粉紅崔弟 - 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-PQ34","featured_media":{"alt":null,"id":27841821442147,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/336f68926e9c9893faa559932e77cb26a5e808c2.webp?v=1784648523"}},"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: "停產"
}