$product = {"id":8048403316835,"title":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ","handle":"iphone-17-pro-max-solidx-rj06","description":null,"published_at":"2026-06-29T10:15:39+08:00","created_at":"2026-06-29T09:46:33+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-rj","device-iPhone 17 Pro Max","merge","reseller-rj"],"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":44300167676003,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122755498083,"product_id":8048403316835,"position":1,"created_at":"2026-06-29T09:47:14+08:00","updated_at":"2026-06-29T09:47:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb369745d249dc468616fb4ca9d421f96390f8a7.webp?v=1782697635","variant_ids":[44300167676003]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628000346211,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb369745d249dc468616fb4ca9d421f96390f8a7.webp?v=1782697635"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300175474787,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122756251747,"product_id":8048403316835,"position":7,"created_at":"2026-06-29T09:47:17+08:00","updated_at":"2026-06-29T09:47:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed6d4bc0646c1f7b56020e3d1b3aaa85147e9110.webp?v=1782697639","variant_ids":[44300175474787]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628001099875,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed6d4bc0646c1f7b56020e3d1b3aaa85147e9110.webp?v=1782697639"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300175638627,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122755956835,"product_id":8048403316835,"position":5,"created_at":"2026-06-29T09:47:16+08:00","updated_at":"2026-06-29T09:47:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc3ca1f49336519793b08722039e1e5b1c825d1.webp?v=1782697638","variant_ids":[44300175638627]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628000804963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc3ca1f49336519793b08722039e1e5b1c825d1.webp?v=1782697638"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300175736931,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122758152291,"product_id":8048403316835,"position":13,"created_at":"2026-06-29T09:47:20+08:00","updated_at":"2026-06-29T09:47:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96fe1a58d7062c94e9102fe25c7abf748db69a76.webp?v=1782697642","variant_ids":[44300175736931]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628002607203,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96fe1a58d7062c94e9102fe25c7abf748db69a76.webp?v=1782697642"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300175868003,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122755694691,"product_id":8048403316835,"position":3,"created_at":"2026-06-29T09:47:15+08:00","updated_at":"2026-06-29T09:47:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fc3683565a92822a1d41a8801cdc02f0e121803.webp?v=1782697637","variant_ids":[44300175868003]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628000542819,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fc3683565a92822a1d41a8801cdc02f0e121803.webp?v=1782697637"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300175966307,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122756972643,"product_id":8048403316835,"position":10,"created_at":"2026-06-29T09:47:19+08:00","updated_at":"2026-06-29T09:47:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d524592c38ce0ecbecd22df188acc493bc237c4d.webp?v=1782697641","variant_ids":[44300175966307]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628001820771,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d524592c38ce0ecbecd22df188acc493bc237c4d.webp?v=1782697641"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300176162915,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122755792995,"product_id":8048403316835,"position":4,"created_at":"2026-06-29T09:47:15+08:00","updated_at":"2026-06-29T09:47:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74940932ad4e596c915ddf2d71740ec1d4f403e2.webp?v=1782697637","variant_ids":[44300176162915]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628000641123,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74940932ad4e596c915ddf2d71740ec1d4f403e2.webp?v=1782697637"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300176359523,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122756415587,"product_id":8048403316835,"position":8,"created_at":"2026-06-29T09:47:17+08:00","updated_at":"2026-06-29T09:47:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/800a46d7490b66ecedbe69531297c8fdaa7e615e.webp?v=1782697639","variant_ids":[44300176359523]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628001329251,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/800a46d7490b66ecedbe69531297c8fdaa7e615e.webp?v=1782697639"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300176588899,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122757169251,"product_id":8048403316835,"position":11,"created_at":"2026-06-29T09:47:19+08:00","updated_at":"2026-06-29T09:47:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8243f3794d6e09c1a889d136f6b5263232777286.webp?v=1782697641","variant_ids":[44300176588899]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628002017379,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8243f3794d6e09c1a889d136f6b5263232777286.webp?v=1782697641"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300176851043,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122757398627,"product_id":8048403316835,"position":12,"created_at":"2026-06-29T09:47:20+08:00","updated_at":"2026-06-29T09:47:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c70bafe0c19bd853ef8a5b9188684aa3d5576e1.webp?v=1782697642","variant_ids":[44300176851043]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628002246755,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c70bafe0c19bd853ef8a5b9188684aa3d5576e1.webp?v=1782697642"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300177080419,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122756087907,"product_id":8048403316835,"position":6,"created_at":"2026-06-29T09:47:16+08:00","updated_at":"2026-06-29T09:47:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4893a247d1a1263e0c5dbc48dd0fc1895e905c1e.webp?v=1782697638","variant_ids":[44300177080419]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628000936035,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4893a247d1a1263e0c5dbc48dd0fc1895e905c1e.webp?v=1782697638"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300177309795,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122756743267,"product_id":8048403316835,"position":9,"created_at":"2026-06-29T09:47:18+08:00","updated_at":"2026-06-29T09:47:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0800a113f1f6eed9a5cf1f7b803e219580b5e5ee.webp?v=1782697640","variant_ids":[44300177309795]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628001591395,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0800a113f1f6eed9a5cf1f7b803e219580b5e5ee.webp?v=1782697640"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300177571939,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122755596387,"product_id":8048403316835,"position":2,"created_at":"2026-06-29T09:47:14+08:00","updated_at":"2026-06-29T09:47:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a88f6b0cc4dbd858616c5f71bb6c704d68725f03.webp?v=1782697636","variant_ids":[44300177571939]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628000444515,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a88f6b0cc4dbd858616c5f71bb6c704d68725f03.webp?v=1782697636"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb369745d249dc468616fb4ca9d421f96390f8a7.webp?v=1782697635","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a88f6b0cc4dbd858616c5f71bb6c704d68725f03.webp?v=1782697636","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fc3683565a92822a1d41a8801cdc02f0e121803.webp?v=1782697637","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74940932ad4e596c915ddf2d71740ec1d4f403e2.webp?v=1782697637","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc3ca1f49336519793b08722039e1e5b1c825d1.webp?v=1782697638","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4893a247d1a1263e0c5dbc48dd0fc1895e905c1e.webp?v=1782697638","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed6d4bc0646c1f7b56020e3d1b3aaa85147e9110.webp?v=1782697639","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/800a46d7490b66ecedbe69531297c8fdaa7e615e.webp?v=1782697639","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0800a113f1f6eed9a5cf1f7b803e219580b5e5ee.webp?v=1782697640","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d524592c38ce0ecbecd22df188acc493bc237c4d.webp?v=1782697641","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8243f3794d6e09c1a889d136f6b5263232777286.webp?v=1782697641","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c70bafe0c19bd853ef8a5b9188684aa3d5576e1.webp?v=1782697642","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96fe1a58d7062c94e9102fe25c7abf748db69a76.webp?v=1782697642"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb369745d249dc468616fb4ca9d421f96390f8a7.webp?v=1782697635","options":["color"],"media":[{"alt":null,"id":27628000346211,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb369745d249dc468616fb4ca9d421f96390f8a7.webp?v=1782697635"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb369745d249dc468616fb4ca9d421f96390f8a7.webp?v=1782697635","width":2000},{"alt":null,"id":27628000444515,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a88f6b0cc4dbd858616c5f71bb6c704d68725f03.webp?v=1782697636"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a88f6b0cc4dbd858616c5f71bb6c704d68725f03.webp?v=1782697636","width":2000},{"alt":null,"id":27628000542819,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fc3683565a92822a1d41a8801cdc02f0e121803.webp?v=1782697637"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fc3683565a92822a1d41a8801cdc02f0e121803.webp?v=1782697637","width":2000},{"alt":null,"id":27628000641123,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74940932ad4e596c915ddf2d71740ec1d4f403e2.webp?v=1782697637"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74940932ad4e596c915ddf2d71740ec1d4f403e2.webp?v=1782697637","width":2000},{"alt":null,"id":27628000804963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc3ca1f49336519793b08722039e1e5b1c825d1.webp?v=1782697638"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc3ca1f49336519793b08722039e1e5b1c825d1.webp?v=1782697638","width":2000},{"alt":null,"id":27628000936035,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4893a247d1a1263e0c5dbc48dd0fc1895e905c1e.webp?v=1782697638"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4893a247d1a1263e0c5dbc48dd0fc1895e905c1e.webp?v=1782697638","width":2000},{"alt":null,"id":27628001099875,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed6d4bc0646c1f7b56020e3d1b3aaa85147e9110.webp?v=1782697639"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed6d4bc0646c1f7b56020e3d1b3aaa85147e9110.webp?v=1782697639","width":2000},{"alt":null,"id":27628001329251,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/800a46d7490b66ecedbe69531297c8fdaa7e615e.webp?v=1782697639"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/800a46d7490b66ecedbe69531297c8fdaa7e615e.webp?v=1782697639","width":2000},{"alt":null,"id":27628001591395,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0800a113f1f6eed9a5cf1f7b803e219580b5e5ee.webp?v=1782697640"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0800a113f1f6eed9a5cf1f7b803e219580b5e5ee.webp?v=1782697640","width":2000},{"alt":null,"id":27628001820771,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d524592c38ce0ecbecd22df188acc493bc237c4d.webp?v=1782697641"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d524592c38ce0ecbecd22df188acc493bc237c4d.webp?v=1782697641","width":2000},{"alt":null,"id":27628002017379,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8243f3794d6e09c1a889d136f6b5263232777286.webp?v=1782697641"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8243f3794d6e09c1a889d136f6b5263232777286.webp?v=1782697641","width":2000},{"alt":null,"id":27628002246755,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c70bafe0c19bd853ef8a5b9188684aa3d5576e1.webp?v=1782697642"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c70bafe0c19bd853ef8a5b9188684aa3d5576e1.webp?v=1782697642","width":2000},{"alt":null,"id":27628002607203,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96fe1a58d7062c94e9102fe25c7abf748db69a76.webp?v=1782697642"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96fe1a58d7062c94e9102fe25c7abf748db69a76.webp?v=1782697642","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44300167676003,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122755498083,"product_id":8048403316835,"position":1,"created_at":"2026-06-29T09:47:14+08:00","updated_at":"2026-06-29T09:47:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb369745d249dc468616fb4ca9d421f96390f8a7.webp?v=1782697635","variant_ids":[44300167676003]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628000346211,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb369745d249dc468616fb4ca9d421f96390f8a7.webp?v=1782697635"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300175474787,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122756251747,"product_id":8048403316835,"position":7,"created_at":"2026-06-29T09:47:17+08:00","updated_at":"2026-06-29T09:47:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed6d4bc0646c1f7b56020e3d1b3aaa85147e9110.webp?v=1782697639","variant_ids":[44300175474787]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628001099875,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed6d4bc0646c1f7b56020e3d1b3aaa85147e9110.webp?v=1782697639"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300175638627,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122755956835,"product_id":8048403316835,"position":5,"created_at":"2026-06-29T09:47:16+08:00","updated_at":"2026-06-29T09:47:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc3ca1f49336519793b08722039e1e5b1c825d1.webp?v=1782697638","variant_ids":[44300175638627]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628000804963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5cc3ca1f49336519793b08722039e1e5b1c825d1.webp?v=1782697638"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300175736931,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122758152291,"product_id":8048403316835,"position":13,"created_at":"2026-06-29T09:47:20+08:00","updated_at":"2026-06-29T09:47:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96fe1a58d7062c94e9102fe25c7abf748db69a76.webp?v=1782697642","variant_ids":[44300175736931]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628002607203,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/96fe1a58d7062c94e9102fe25c7abf748db69a76.webp?v=1782697642"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300175868003,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122755694691,"product_id":8048403316835,"position":3,"created_at":"2026-06-29T09:47:15+08:00","updated_at":"2026-06-29T09:47:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fc3683565a92822a1d41a8801cdc02f0e121803.webp?v=1782697637","variant_ids":[44300175868003]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628000542819,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fc3683565a92822a1d41a8801cdc02f0e121803.webp?v=1782697637"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300175966307,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122756972643,"product_id":8048403316835,"position":10,"created_at":"2026-06-29T09:47:19+08:00","updated_at":"2026-06-29T09:47:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d524592c38ce0ecbecd22df188acc493bc237c4d.webp?v=1782697641","variant_ids":[44300175966307]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628001820771,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d524592c38ce0ecbecd22df188acc493bc237c4d.webp?v=1782697641"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300176162915,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122755792995,"product_id":8048403316835,"position":4,"created_at":"2026-06-29T09:47:15+08:00","updated_at":"2026-06-29T09:47:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74940932ad4e596c915ddf2d71740ec1d4f403e2.webp?v=1782697637","variant_ids":[44300176162915]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628000641123,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74940932ad4e596c915ddf2d71740ec1d4f403e2.webp?v=1782697637"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300176359523,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122756415587,"product_id":8048403316835,"position":8,"created_at":"2026-06-29T09:47:17+08:00","updated_at":"2026-06-29T09:47:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/800a46d7490b66ecedbe69531297c8fdaa7e615e.webp?v=1782697639","variant_ids":[44300176359523]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628001329251,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/800a46d7490b66ecedbe69531297c8fdaa7e615e.webp?v=1782697639"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300176588899,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122757169251,"product_id":8048403316835,"position":11,"created_at":"2026-06-29T09:47:19+08:00","updated_at":"2026-06-29T09:47:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8243f3794d6e09c1a889d136f6b5263232777286.webp?v=1782697641","variant_ids":[44300176588899]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628002017379,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8243f3794d6e09c1a889d136f6b5263232777286.webp?v=1782697641"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300176851043,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122757398627,"product_id":8048403316835,"position":12,"created_at":"2026-06-29T09:47:20+08:00","updated_at":"2026-06-29T09:47:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c70bafe0c19bd853ef8a5b9188684aa3d5576e1.webp?v=1782697642","variant_ids":[44300176851043]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628002246755,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7c70bafe0c19bd853ef8a5b9188684aa3d5576e1.webp?v=1782697642"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300177080419,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122756087907,"product_id":8048403316835,"position":6,"created_at":"2026-06-29T09:47:16+08:00","updated_at":"2026-06-29T09:47:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4893a247d1a1263e0c5dbc48dd0fc1895e905c1e.webp?v=1782697638","variant_ids":[44300177080419]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628000936035,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4893a247d1a1263e0c5dbc48dd0fc1895e905c1e.webp?v=1782697638"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300177309795,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122756743267,"product_id":8048403316835,"position":9,"created_at":"2026-06-29T09:47:18+08:00","updated_at":"2026-06-29T09:47:20+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0800a113f1f6eed9a5cf1f7b803e219580b5e5ee.webp?v=1782697640","variant_ids":[44300177309795]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628001591395,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0800a113f1f6eed9a5cf1f7b803e219580b5e5ee.webp?v=1782697640"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300177571939,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122755596387,"product_id":8048403316835,"position":2,"created_at":"2026-06-29T09:47:14+08:00","updated_at":"2026-06-29T09:47:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a88f6b0cc4dbd858616c5f71bb6c704d68725f03.webp?v=1782697636","variant_ids":[44300177571939]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628000444515,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a88f6b0cc4dbd858616c5f71bb6c704d68725f03.webp?v=1782697636"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44300167676003,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-RJ06","requires_shipping":true,"taxable":true,"featured_image":{"id":36122755498083,"product_id":8048403316835,"position":1,"created_at":"2026-06-29T09:47:14+08:00","updated_at":"2026-06-29T09:47:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb369745d249dc468616fb4ca9d421f96390f8a7.webp?v=1782697635","variant_ids":[44300167676003]},"available":true,"name":"iPhone 17 Pro Max SolidX 於是日常了 高調閃光彈-比心RJ - 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-RJ06","featured_media":{"alt":null,"id":27628000346211,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb369745d249dc468616fb4ca9d421f96390f8a7.webp?v=1782697635"}},"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: "停產" }