$product = {"id":8050536579171,"title":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚","handle":"iphone-17-pro-solidx-magsafe-jo122","description":null,"published_at":"2026-07-20T15:09:19+08:00","created_at":"2026-07-01T11:14:46+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-kid","device-iPhone 17 Pro","merge","reseller-kid"],"price":145000,"price_min":145000,"price_max":145000,"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":44306681561187,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140620578915,"product_id":8050536579171,"position":8,"created_at":"2026-07-01T11:15:39+08:00","updated_at":"2026-07-01T11:15:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a30bdf6e87819e2f78da8bb86f49cd8fdff132f3.webp?v=1782875741","variant_ids":[44306681561187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520F-JO122","featured_media":{"alt":null,"id":27645511630947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a30bdf6e87819e2f78da8bb86f49cd8fdff132f3.webp?v=1782875741"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306683625571,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140619989091,"product_id":8050536579171,"position":7,"created_at":"2026-07-01T11:15:39+08:00","updated_at":"2026-07-01T11:15:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97046568450500ef0807c429e50d51fe50669c96.webp?v=1782875741","variant_ids":[44306683625571]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-JO122","featured_media":{"alt":null,"id":27645510975587,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97046568450500ef0807c429e50d51fe50669c96.webp?v=1782875741"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306683854947,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140619366499,"product_id":8050536579171,"position":6,"created_at":"2026-07-01T11:15:38+08:00","updated_at":"2026-07-01T11:15:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f75b17ec5b6d18da4fb39e0853e7276382336400.webp?v=1782875740","variant_ids":[44306683854947]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01352O8-JO122","featured_media":{"alt":null,"id":27645510385763,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f75b17ec5b6d18da4fb39e0853e7276382336400.webp?v=1782875740"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306684149859,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140621168739,"product_id":8050536579171,"position":9,"created_at":"2026-07-01T11:15:40+08:00","updated_at":"2026-07-01T11:15:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f57870f11410e23bd56bd935951dc0a96701ed30.webp?v=1782875742","variant_ids":[44306684149859]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-JO122","featured_media":{"alt":null,"id":27645512188003,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f57870f11410e23bd56bd935951dc0a96701ed30.webp?v=1782875742"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306684641379,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140616712291,"product_id":8050536579171,"position":1,"created_at":"2026-07-01T11:15:35+08:00","updated_at":"2026-07-01T11:15:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/096cd59587ccdac9f3abb125d0b2178c2e7e658d.webp?v=1782875736","variant_ids":[44306684641379]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520B-JO122","featured_media":{"alt":null,"id":27645507764323,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/096cd59587ccdac9f3abb125d0b2178c2e7e658d.webp?v=1782875736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306684903523,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140621824099,"product_id":8050536579171,"position":10,"created_at":"2026-07-01T11:15:40+08:00","updated_at":"2026-07-01T11:15:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/948e122929399d00cec2e27c64c7297ba76d48dd.webp?v=1782875742","variant_ids":[44306684903523]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013523O-JO122","featured_media":{"alt":null,"id":27645512876131,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/948e122929399d00cec2e27c64c7297ba76d48dd.webp?v=1782875742"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306685100131,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140617990243,"product_id":8050536579171,"position":3,"created_at":"2026-07-01T11:15:36+08:00","updated_at":"2026-07-01T11:15:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62577511305a2407a6b3bc168afb5c7cf0f64173.webp?v=1782875739","variant_ids":[44306685100131]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524H-JO122","featured_media":{"alt":null,"id":27645509042275,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62577511305a2407a6b3bc168afb5c7cf0f64173.webp?v=1782875739"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306685493347,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140618481763,"product_id":8050536579171,"position":4,"created_at":"2026-07-01T11:15:37+08:00","updated_at":"2026-07-01T11:15:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6688050e85eb8d235dddcdce24a0258dac10568.webp?v=1782875739","variant_ids":[44306685493347]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524I-JO122","featured_media":{"alt":null,"id":27645509533795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6688050e85eb8d235dddcdce24a0258dac10568.webp?v=1782875739"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306685755491,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140617465955,"product_id":8050536579171,"position":2,"created_at":"2026-07-01T11:15:36+08:00","updated_at":"2026-07-01T11:15:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499472df0ac780b6a6dfe0081e55c9c2f75fb585.webp?v=1782875738","variant_ids":[44306685755491]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525H-JO122","featured_media":{"alt":null,"id":27645508517987,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499472df0ac780b6a6dfe0081e55c9c2f75fb585.webp?v=1782875738"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306686017635,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140623724643,"product_id":8050536579171,"position":13,"created_at":"2026-07-01T11:15:42+08:00","updated_at":"2026-07-01T11:15:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5677796d1c5400dfdebf47e2db49f89c8ca0d902.webp?v=1782875744","variant_ids":[44306686017635]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525X-JO122","featured_media":{"alt":null,"id":27645514776675,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5677796d1c5400dfdebf47e2db49f89c8ca0d902.webp?v=1782875744"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306686279779,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140622479459,"product_id":8050536579171,"position":11,"created_at":"2026-07-01T11:15:41+08:00","updated_at":"2026-07-01T11:15:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7aec156a5ec84a4e45059a6894a8e0e7894cf8ad.webp?v=1782875743","variant_ids":[44306686279779]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Y-JO122","featured_media":{"alt":null,"id":27645513531491,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7aec156a5ec84a4e45059a6894a8e0e7894cf8ad.webp?v=1782875743"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306686509155,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140618809443,"product_id":8050536579171,"position":5,"created_at":"2026-07-01T11:15:37+08:00","updated_at":"2026-07-01T11:15:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2448e17c653e461f6c985c5fa31c127fdeb96b65.webp?v=1782875739","variant_ids":[44306686509155]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Z-JO122","featured_media":{"alt":null,"id":27645509828707,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2448e17c653e461f6c985c5fa31c127fdeb96b65.webp?v=1782875739"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306686804067,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140623003747,"product_id":8050536579171,"position":12,"created_at":"2026-07-01T11:15:42+08:00","updated_at":"2026-07-01T11:15:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d729fc0abc7ad0230d6ca094e4842f90b3c281a3.webp?v=1782875744","variant_ids":[44306686804067]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013526A-JO122","featured_media":{"alt":null,"id":27645514088547,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d729fc0abc7ad0230d6ca094e4842f90b3c281a3.webp?v=1782875744"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/096cd59587ccdac9f3abb125d0b2178c2e7e658d.webp?v=1782875736","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499472df0ac780b6a6dfe0081e55c9c2f75fb585.webp?v=1782875738","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62577511305a2407a6b3bc168afb5c7cf0f64173.webp?v=1782875739","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6688050e85eb8d235dddcdce24a0258dac10568.webp?v=1782875739","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2448e17c653e461f6c985c5fa31c127fdeb96b65.webp?v=1782875739","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f75b17ec5b6d18da4fb39e0853e7276382336400.webp?v=1782875740","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97046568450500ef0807c429e50d51fe50669c96.webp?v=1782875741","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a30bdf6e87819e2f78da8bb86f49cd8fdff132f3.webp?v=1782875741","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f57870f11410e23bd56bd935951dc0a96701ed30.webp?v=1782875742","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/948e122929399d00cec2e27c64c7297ba76d48dd.webp?v=1782875742","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7aec156a5ec84a4e45059a6894a8e0e7894cf8ad.webp?v=1782875743","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d729fc0abc7ad0230d6ca094e4842f90b3c281a3.webp?v=1782875744","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5677796d1c5400dfdebf47e2db49f89c8ca0d902.webp?v=1782875744"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/096cd59587ccdac9f3abb125d0b2178c2e7e658d.webp?v=1782875736","options":["color"],"media":[{"alt":null,"id":27645507764323,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/096cd59587ccdac9f3abb125d0b2178c2e7e658d.webp?v=1782875736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/096cd59587ccdac9f3abb125d0b2178c2e7e658d.webp?v=1782875736","width":2000},{"alt":null,"id":27645508517987,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499472df0ac780b6a6dfe0081e55c9c2f75fb585.webp?v=1782875738"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499472df0ac780b6a6dfe0081e55c9c2f75fb585.webp?v=1782875738","width":2000},{"alt":null,"id":27645509042275,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62577511305a2407a6b3bc168afb5c7cf0f64173.webp?v=1782875739"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62577511305a2407a6b3bc168afb5c7cf0f64173.webp?v=1782875739","width":2000},{"alt":null,"id":27645509533795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6688050e85eb8d235dddcdce24a0258dac10568.webp?v=1782875739"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6688050e85eb8d235dddcdce24a0258dac10568.webp?v=1782875739","width":2000},{"alt":null,"id":27645509828707,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2448e17c653e461f6c985c5fa31c127fdeb96b65.webp?v=1782875739"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2448e17c653e461f6c985c5fa31c127fdeb96b65.webp?v=1782875739","width":2000},{"alt":null,"id":27645510385763,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f75b17ec5b6d18da4fb39e0853e7276382336400.webp?v=1782875740"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f75b17ec5b6d18da4fb39e0853e7276382336400.webp?v=1782875740","width":2000},{"alt":null,"id":27645510975587,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97046568450500ef0807c429e50d51fe50669c96.webp?v=1782875741"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97046568450500ef0807c429e50d51fe50669c96.webp?v=1782875741","width":2000},{"alt":null,"id":27645511630947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a30bdf6e87819e2f78da8bb86f49cd8fdff132f3.webp?v=1782875741"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a30bdf6e87819e2f78da8bb86f49cd8fdff132f3.webp?v=1782875741","width":2000},{"alt":null,"id":27645512188003,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f57870f11410e23bd56bd935951dc0a96701ed30.webp?v=1782875742"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f57870f11410e23bd56bd935951dc0a96701ed30.webp?v=1782875742","width":2000},{"alt":null,"id":27645512876131,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/948e122929399d00cec2e27c64c7297ba76d48dd.webp?v=1782875742"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/948e122929399d00cec2e27c64c7297ba76d48dd.webp?v=1782875742","width":2000},{"alt":null,"id":27645513531491,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7aec156a5ec84a4e45059a6894a8e0e7894cf8ad.webp?v=1782875743"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7aec156a5ec84a4e45059a6894a8e0e7894cf8ad.webp?v=1782875743","width":2000},{"alt":null,"id":27645514088547,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d729fc0abc7ad0230d6ca094e4842f90b3c281a3.webp?v=1782875744"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d729fc0abc7ad0230d6ca094e4842f90b3c281a3.webp?v=1782875744","width":2000},{"alt":null,"id":27645514776675,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5677796d1c5400dfdebf47e2db49f89c8ca0d902.webp?v=1782875744"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5677796d1c5400dfdebf47e2db49f89c8ca0d902.webp?v=1782875744","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44306681561187,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140620578915,"product_id":8050536579171,"position":8,"created_at":"2026-07-01T11:15:39+08:00","updated_at":"2026-07-01T11:15:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a30bdf6e87819e2f78da8bb86f49cd8fdff132f3.webp?v=1782875741","variant_ids":[44306681561187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520F-JO122","featured_media":{"alt":null,"id":27645511630947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a30bdf6e87819e2f78da8bb86f49cd8fdff132f3.webp?v=1782875741"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306683625571,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140619989091,"product_id":8050536579171,"position":7,"created_at":"2026-07-01T11:15:39+08:00","updated_at":"2026-07-01T11:15:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97046568450500ef0807c429e50d51fe50669c96.webp?v=1782875741","variant_ids":[44306683625571]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-JO122","featured_media":{"alt":null,"id":27645510975587,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/97046568450500ef0807c429e50d51fe50669c96.webp?v=1782875741"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306683854947,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140619366499,"product_id":8050536579171,"position":6,"created_at":"2026-07-01T11:15:38+08:00","updated_at":"2026-07-01T11:15:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f75b17ec5b6d18da4fb39e0853e7276382336400.webp?v=1782875740","variant_ids":[44306683854947]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01352O8-JO122","featured_media":{"alt":null,"id":27645510385763,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f75b17ec5b6d18da4fb39e0853e7276382336400.webp?v=1782875740"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306684149859,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140621168739,"product_id":8050536579171,"position":9,"created_at":"2026-07-01T11:15:40+08:00","updated_at":"2026-07-01T11:15:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f57870f11410e23bd56bd935951dc0a96701ed30.webp?v=1782875742","variant_ids":[44306684149859]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-JO122","featured_media":{"alt":null,"id":27645512188003,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f57870f11410e23bd56bd935951dc0a96701ed30.webp?v=1782875742"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306684641379,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140616712291,"product_id":8050536579171,"position":1,"created_at":"2026-07-01T11:15:35+08:00","updated_at":"2026-07-01T11:15:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/096cd59587ccdac9f3abb125d0b2178c2e7e658d.webp?v=1782875736","variant_ids":[44306684641379]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520B-JO122","featured_media":{"alt":null,"id":27645507764323,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/096cd59587ccdac9f3abb125d0b2178c2e7e658d.webp?v=1782875736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306684903523,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140621824099,"product_id":8050536579171,"position":10,"created_at":"2026-07-01T11:15:40+08:00","updated_at":"2026-07-01T11:15:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/948e122929399d00cec2e27c64c7297ba76d48dd.webp?v=1782875742","variant_ids":[44306684903523]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013523O-JO122","featured_media":{"alt":null,"id":27645512876131,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/948e122929399d00cec2e27c64c7297ba76d48dd.webp?v=1782875742"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306685100131,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140617990243,"product_id":8050536579171,"position":3,"created_at":"2026-07-01T11:15:36+08:00","updated_at":"2026-07-01T11:15:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62577511305a2407a6b3bc168afb5c7cf0f64173.webp?v=1782875739","variant_ids":[44306685100131]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524H-JO122","featured_media":{"alt":null,"id":27645509042275,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/62577511305a2407a6b3bc168afb5c7cf0f64173.webp?v=1782875739"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306685493347,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140618481763,"product_id":8050536579171,"position":4,"created_at":"2026-07-01T11:15:37+08:00","updated_at":"2026-07-01T11:15:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6688050e85eb8d235dddcdce24a0258dac10568.webp?v=1782875739","variant_ids":[44306685493347]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524I-JO122","featured_media":{"alt":null,"id":27645509533795,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6688050e85eb8d235dddcdce24a0258dac10568.webp?v=1782875739"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306685755491,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140617465955,"product_id":8050536579171,"position":2,"created_at":"2026-07-01T11:15:36+08:00","updated_at":"2026-07-01T11:15:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499472df0ac780b6a6dfe0081e55c9c2f75fb585.webp?v=1782875738","variant_ids":[44306685755491]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525H-JO122","featured_media":{"alt":null,"id":27645508517987,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/499472df0ac780b6a6dfe0081e55c9c2f75fb585.webp?v=1782875738"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306686017635,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140623724643,"product_id":8050536579171,"position":13,"created_at":"2026-07-01T11:15:42+08:00","updated_at":"2026-07-01T11:15:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5677796d1c5400dfdebf47e2db49f89c8ca0d902.webp?v=1782875744","variant_ids":[44306686017635]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525X-JO122","featured_media":{"alt":null,"id":27645514776675,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5677796d1c5400dfdebf47e2db49f89c8ca0d902.webp?v=1782875744"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306686279779,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140622479459,"product_id":8050536579171,"position":11,"created_at":"2026-07-01T11:15:41+08:00","updated_at":"2026-07-01T11:15:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7aec156a5ec84a4e45059a6894a8e0e7894cf8ad.webp?v=1782875743","variant_ids":[44306686279779]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Y-JO122","featured_media":{"alt":null,"id":27645513531491,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7aec156a5ec84a4e45059a6894a8e0e7894cf8ad.webp?v=1782875743"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306686509155,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140618809443,"product_id":8050536579171,"position":5,"created_at":"2026-07-01T11:15:37+08:00","updated_at":"2026-07-01T11:15:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2448e17c653e461f6c985c5fa31c127fdeb96b65.webp?v=1782875739","variant_ids":[44306686509155]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Z-JO122","featured_media":{"alt":null,"id":27645509828707,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2448e17c653e461f6c985c5fa31c127fdeb96b65.webp?v=1782875739"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44306686804067,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140623003747,"product_id":8050536579171,"position":12,"created_at":"2026-07-01T11:15:42+08:00","updated_at":"2026-07-01T11:15:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d729fc0abc7ad0230d6ca094e4842f90b3c281a3.webp?v=1782875744","variant_ids":[44306686804067]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013526A-JO122","featured_media":{"alt":null,"id":27645514088547,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d729fc0abc7ad0230d6ca094e4842f90b3c281a3.webp?v=1782875744"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44306681561187,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-JO122","requires_shipping":true,"taxable":true,"featured_image":{"id":36140620578915,"product_id":8050536579171,"position":8,"created_at":"2026-07-01T11:15:39+08:00","updated_at":"2026-07-01T11:15:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a30bdf6e87819e2f78da8bb86f49cd8fdff132f3.webp?v=1782875741","variant_ids":[44306681561187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) KID 蘭嶼飛魚 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520F-JO122","featured_media":{"alt":null,"id":27645511630947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a30bdf6e87819e2f78da8bb86f49cd8fdff132f3.webp?v=1782875741"}},"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: "停產" }