$product = {"id":8048508665955,"title":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒","handle":"iphone-17-pro-max-solidx-sf60","description":null,"published_at":"2026-06-29T15:16:13+08:00","created_at":"2026-06-29T10:21:25+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-disney-princess","device-iPhone 17 Pro Max","merge","reseller-disney-princess"],"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":44300498731107,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123165589603,"product_id":8048508665955,"position":6,"created_at":"2026-06-29T10:22:10+08:00","updated_at":"2026-06-29T10:22:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d9f2fac9b1c7cd29c4b2dd3eadfb8af566cd17e.webp?v=1782699732","variant_ids":[44300498731107]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530F-SF60","featured_media":{"alt":null,"id":27628410372195,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d9f2fac9b1c7cd29c4b2dd3eadfb8af566cd17e.webp?v=1782699732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300504236131,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163099235,"product_id":8048508665955,"position":1,"created_at":"2026-06-29T10:22:06+08:00","updated_at":"2026-06-29T10:22:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6e4d1ee3d59cb9d0c07d8ac79fd3067b87d606d.webp?v=1782699728","variant_ids":[44300504236131]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013536A-SF60","featured_media":{"alt":null,"id":27628407849059,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6e4d1ee3d59cb9d0c07d8ac79fd3067b87d606d.webp?v=1782699728"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300504662115,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163885667,"product_id":8048508665955,"position":3,"created_at":"2026-06-29T10:22:07+08:00","updated_at":"2026-06-29T10:22:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e810ee8894c54645ec38bc51184ac629ea40d0f7.webp?v=1782699730","variant_ids":[44300504662115]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Z-SF60","featured_media":{"alt":null,"id":27628408635491,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e810ee8894c54645ec38bc51184ac629ea40d0f7.webp?v=1782699730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300505022563,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123164213347,"product_id":8048508665955,"position":4,"created_at":"2026-06-29T10:22:08+08:00","updated_at":"2026-06-29T10:22:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73dfc0f0077f1325695fa84f558451eb5b30411b.webp?v=1782699730","variant_ids":[44300505022563]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Y-SF60","featured_media":{"alt":null,"id":27628408963171,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73dfc0f0077f1325695fa84f558451eb5b30411b.webp?v=1782699730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300505251939,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123170046051,"product_id":8048508665955,"position":13,"created_at":"2026-06-29T10:22:14+08:00","updated_at":"2026-06-29T10:22:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9e82f2f0e0f4d2f5736edaac510942789fef94f.webp?v=1782699736","variant_ids":[44300505251939]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535X-SF60","featured_media":{"alt":null,"id":27628414795875,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9e82f2f0e0f4d2f5736edaac510942789fef94f.webp?v=1782699736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300505612387,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163525219,"product_id":8048508665955,"position":2,"created_at":"2026-06-29T10:22:07+08:00","updated_at":"2026-06-29T10:22:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47c01d17ba001c830602e5552cc3a2a6ccc8ea2a.webp?v=1782699729","variant_ids":[44300505612387]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535H-SF60","featured_media":{"alt":null,"id":27628408275043,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47c01d17ba001c830602e5552cc3a2a6ccc8ea2a.webp?v=1782699729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300506169443,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123169488995,"product_id":8048508665955,"position":12,"created_at":"2026-06-29T10:22:13+08:00","updated_at":"2026-06-29T10:22:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb2e05396e0a5ee9a19ce055cfa259e76ab2847f.webp?v=1782699735","variant_ids":[44300506169443]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534I-SF60","featured_media":{"alt":null,"id":27628414238819,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb2e05396e0a5ee9a19ce055cfa259e76ab2847f.webp?v=1782699735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300506726499,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123164868707,"product_id":8048508665955,"position":5,"created_at":"2026-06-29T10:22:09+08:00","updated_at":"2026-06-29T10:22:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe3378c854f6558627253a13dc491994bb51c9dc.webp?v=1782699731","variant_ids":[44300506726499]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534H-SF60","featured_media":{"alt":null,"id":27628409618531,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe3378c854f6558627253a13dc491994bb51c9dc.webp?v=1782699731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300507840611,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123166244963,"product_id":8048508665955,"position":7,"created_at":"2026-06-29T10:22:10+08:00","updated_at":"2026-06-29T10:22:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e6309c895aed365fb2023c1e4c64ea93a74eef2.webp?v=1782699733","variant_ids":[44300507840611]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013533O-SF60","featured_media":{"alt":null,"id":27628410994787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e6309c895aed365fb2023c1e4c64ea93a74eef2.webp?v=1782699733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300508495971,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123168702563,"product_id":8048508665955,"position":11,"created_at":"2026-06-29T10:22:13+08:00","updated_at":"2026-06-29T10:22:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/148bc3ce92f1de35226f951b2fde0ecba7176155.webp?v=1782699735","variant_ids":[44300508495971]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530B-SF60","featured_media":{"alt":null,"id":27628413452387,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/148bc3ce92f1de35226f951b2fde0ecba7176155.webp?v=1782699735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300509216867,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123166933091,"product_id":8048508665955,"position":8,"created_at":"2026-06-29T10:22:11+08:00","updated_at":"2026-06-29T10:22:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b484ba396360562a15fb5273becd2829cbb166d8.webp?v=1782699733","variant_ids":[44300509216867]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135352-SF60","featured_media":{"alt":null,"id":27628411617379,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b484ba396360562a15fb5273becd2829cbb166d8.webp?v=1782699733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300509970531,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123167490147,"product_id":8048508665955,"position":9,"created_at":"2026-06-29T10:22:12+08:00","updated_at":"2026-06-29T10:22:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1497acfbfed71e624877f8f94c8a2847a3bad9d7.webp?v=1782699734","variant_ids":[44300509970531]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01353O8-SF60","featured_media":{"alt":null,"id":27628412207203,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1497acfbfed71e624877f8f94c8a2847a3bad9d7.webp?v=1782699734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300510625891,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123168014435,"product_id":8048508665955,"position":10,"created_at":"2026-06-29T10:22:12+08:00","updated_at":"2026-06-29T10:22:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5451a57c1cf3ab1a4747ad0284c5fd7257b52eb9.webp?v=1782699734","variant_ids":[44300510625891]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135353-SF60","featured_media":{"alt":null,"id":27628412764259,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5451a57c1cf3ab1a4747ad0284c5fd7257b52eb9.webp?v=1782699734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6e4d1ee3d59cb9d0c07d8ac79fd3067b87d606d.webp?v=1782699728","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47c01d17ba001c830602e5552cc3a2a6ccc8ea2a.webp?v=1782699729","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e810ee8894c54645ec38bc51184ac629ea40d0f7.webp?v=1782699730","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73dfc0f0077f1325695fa84f558451eb5b30411b.webp?v=1782699730","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe3378c854f6558627253a13dc491994bb51c9dc.webp?v=1782699731","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d9f2fac9b1c7cd29c4b2dd3eadfb8af566cd17e.webp?v=1782699732","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e6309c895aed365fb2023c1e4c64ea93a74eef2.webp?v=1782699733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b484ba396360562a15fb5273becd2829cbb166d8.webp?v=1782699733","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1497acfbfed71e624877f8f94c8a2847a3bad9d7.webp?v=1782699734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5451a57c1cf3ab1a4747ad0284c5fd7257b52eb9.webp?v=1782699734","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/148bc3ce92f1de35226f951b2fde0ecba7176155.webp?v=1782699735","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb2e05396e0a5ee9a19ce055cfa259e76ab2847f.webp?v=1782699735","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9e82f2f0e0f4d2f5736edaac510942789fef94f.webp?v=1782699736"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6e4d1ee3d59cb9d0c07d8ac79fd3067b87d606d.webp?v=1782699728","options":["color"],"media":[{"alt":null,"id":27628407849059,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6e4d1ee3d59cb9d0c07d8ac79fd3067b87d606d.webp?v=1782699728"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6e4d1ee3d59cb9d0c07d8ac79fd3067b87d606d.webp?v=1782699728","width":2000},{"alt":null,"id":27628408275043,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47c01d17ba001c830602e5552cc3a2a6ccc8ea2a.webp?v=1782699729"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47c01d17ba001c830602e5552cc3a2a6ccc8ea2a.webp?v=1782699729","width":2000},{"alt":null,"id":27628408635491,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e810ee8894c54645ec38bc51184ac629ea40d0f7.webp?v=1782699730"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e810ee8894c54645ec38bc51184ac629ea40d0f7.webp?v=1782699730","width":2000},{"alt":null,"id":27628408963171,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73dfc0f0077f1325695fa84f558451eb5b30411b.webp?v=1782699730"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73dfc0f0077f1325695fa84f558451eb5b30411b.webp?v=1782699730","width":2000},{"alt":null,"id":27628409618531,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe3378c854f6558627253a13dc491994bb51c9dc.webp?v=1782699731"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe3378c854f6558627253a13dc491994bb51c9dc.webp?v=1782699731","width":2000},{"alt":null,"id":27628410372195,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d9f2fac9b1c7cd29c4b2dd3eadfb8af566cd17e.webp?v=1782699732"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d9f2fac9b1c7cd29c4b2dd3eadfb8af566cd17e.webp?v=1782699732","width":2000},{"alt":null,"id":27628410994787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e6309c895aed365fb2023c1e4c64ea93a74eef2.webp?v=1782699733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e6309c895aed365fb2023c1e4c64ea93a74eef2.webp?v=1782699733","width":2000},{"alt":null,"id":27628411617379,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b484ba396360562a15fb5273becd2829cbb166d8.webp?v=1782699733"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b484ba396360562a15fb5273becd2829cbb166d8.webp?v=1782699733","width":2000},{"alt":null,"id":27628412207203,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1497acfbfed71e624877f8f94c8a2847a3bad9d7.webp?v=1782699734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1497acfbfed71e624877f8f94c8a2847a3bad9d7.webp?v=1782699734","width":2000},{"alt":null,"id":27628412764259,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5451a57c1cf3ab1a4747ad0284c5fd7257b52eb9.webp?v=1782699734"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5451a57c1cf3ab1a4747ad0284c5fd7257b52eb9.webp?v=1782699734","width":2000},{"alt":null,"id":27628413452387,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/148bc3ce92f1de35226f951b2fde0ecba7176155.webp?v=1782699735"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/148bc3ce92f1de35226f951b2fde0ecba7176155.webp?v=1782699735","width":2000},{"alt":null,"id":27628414238819,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb2e05396e0a5ee9a19ce055cfa259e76ab2847f.webp?v=1782699735"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb2e05396e0a5ee9a19ce055cfa259e76ab2847f.webp?v=1782699735","width":2000},{"alt":null,"id":27628414795875,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9e82f2f0e0f4d2f5736edaac510942789fef94f.webp?v=1782699736"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9e82f2f0e0f4d2f5736edaac510942789fef94f.webp?v=1782699736","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44300498731107,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123165589603,"product_id":8048508665955,"position":6,"created_at":"2026-06-29T10:22:10+08:00","updated_at":"2026-06-29T10:22:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d9f2fac9b1c7cd29c4b2dd3eadfb8af566cd17e.webp?v=1782699732","variant_ids":[44300498731107]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530F-SF60","featured_media":{"alt":null,"id":27628410372195,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d9f2fac9b1c7cd29c4b2dd3eadfb8af566cd17e.webp?v=1782699732"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300504236131,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163099235,"product_id":8048508665955,"position":1,"created_at":"2026-06-29T10:22:06+08:00","updated_at":"2026-06-29T10:22:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6e4d1ee3d59cb9d0c07d8ac79fd3067b87d606d.webp?v=1782699728","variant_ids":[44300504236131]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013536A-SF60","featured_media":{"alt":null,"id":27628407849059,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6e4d1ee3d59cb9d0c07d8ac79fd3067b87d606d.webp?v=1782699728"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300504662115,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163885667,"product_id":8048508665955,"position":3,"created_at":"2026-06-29T10:22:07+08:00","updated_at":"2026-06-29T10:22:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e810ee8894c54645ec38bc51184ac629ea40d0f7.webp?v=1782699730","variant_ids":[44300504662115]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Z-SF60","featured_media":{"alt":null,"id":27628408635491,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e810ee8894c54645ec38bc51184ac629ea40d0f7.webp?v=1782699730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300505022563,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123164213347,"product_id":8048508665955,"position":4,"created_at":"2026-06-29T10:22:08+08:00","updated_at":"2026-06-29T10:22:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73dfc0f0077f1325695fa84f558451eb5b30411b.webp?v=1782699730","variant_ids":[44300505022563]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Y-SF60","featured_media":{"alt":null,"id":27628408963171,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73dfc0f0077f1325695fa84f558451eb5b30411b.webp?v=1782699730"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300505251939,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123170046051,"product_id":8048508665955,"position":13,"created_at":"2026-06-29T10:22:14+08:00","updated_at":"2026-06-29T10:22:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9e82f2f0e0f4d2f5736edaac510942789fef94f.webp?v=1782699736","variant_ids":[44300505251939]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535X-SF60","featured_media":{"alt":null,"id":27628414795875,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c9e82f2f0e0f4d2f5736edaac510942789fef94f.webp?v=1782699736"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300505612387,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123163525219,"product_id":8048508665955,"position":2,"created_at":"2026-06-29T10:22:07+08:00","updated_at":"2026-06-29T10:22:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47c01d17ba001c830602e5552cc3a2a6ccc8ea2a.webp?v=1782699729","variant_ids":[44300505612387]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535H-SF60","featured_media":{"alt":null,"id":27628408275043,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47c01d17ba001c830602e5552cc3a2a6ccc8ea2a.webp?v=1782699729"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300506169443,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123169488995,"product_id":8048508665955,"position":12,"created_at":"2026-06-29T10:22:13+08:00","updated_at":"2026-06-29T10:22:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb2e05396e0a5ee9a19ce055cfa259e76ab2847f.webp?v=1782699735","variant_ids":[44300506169443]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534I-SF60","featured_media":{"alt":null,"id":27628414238819,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb2e05396e0a5ee9a19ce055cfa259e76ab2847f.webp?v=1782699735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300506726499,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123164868707,"product_id":8048508665955,"position":5,"created_at":"2026-06-29T10:22:09+08:00","updated_at":"2026-06-29T10:22:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe3378c854f6558627253a13dc491994bb51c9dc.webp?v=1782699731","variant_ids":[44300506726499]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534H-SF60","featured_media":{"alt":null,"id":27628409618531,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe3378c854f6558627253a13dc491994bb51c9dc.webp?v=1782699731"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300507840611,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123166244963,"product_id":8048508665955,"position":7,"created_at":"2026-06-29T10:22:10+08:00","updated_at":"2026-06-29T10:22:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e6309c895aed365fb2023c1e4c64ea93a74eef2.webp?v=1782699733","variant_ids":[44300507840611]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013533O-SF60","featured_media":{"alt":null,"id":27628410994787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9e6309c895aed365fb2023c1e4c64ea93a74eef2.webp?v=1782699733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300508495971,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123168702563,"product_id":8048508665955,"position":11,"created_at":"2026-06-29T10:22:13+08:00","updated_at":"2026-06-29T10:22:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/148bc3ce92f1de35226f951b2fde0ecba7176155.webp?v=1782699735","variant_ids":[44300508495971]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530B-SF60","featured_media":{"alt":null,"id":27628413452387,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/148bc3ce92f1de35226f951b2fde0ecba7176155.webp?v=1782699735"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300509216867,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123166933091,"product_id":8048508665955,"position":8,"created_at":"2026-06-29T10:22:11+08:00","updated_at":"2026-06-29T10:22:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b484ba396360562a15fb5273becd2829cbb166d8.webp?v=1782699733","variant_ids":[44300509216867]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135352-SF60","featured_media":{"alt":null,"id":27628411617379,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b484ba396360562a15fb5273becd2829cbb166d8.webp?v=1782699733"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300509970531,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123167490147,"product_id":8048508665955,"position":9,"created_at":"2026-06-29T10:22:12+08:00","updated_at":"2026-06-29T10:22:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1497acfbfed71e624877f8f94c8a2847a3bad9d7.webp?v=1782699734","variant_ids":[44300509970531]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01353O8-SF60","featured_media":{"alt":null,"id":27628412207203,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1497acfbfed71e624877f8f94c8a2847a3bad9d7.webp?v=1782699734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44300510625891,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123168014435,"product_id":8048508665955,"position":10,"created_at":"2026-06-29T10:22:12+08:00","updated_at":"2026-06-29T10:22:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5451a57c1cf3ab1a4747ad0284c5fd7257b52eb9.webp?v=1782699734","variant_ids":[44300510625891]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135353-SF60","featured_media":{"alt":null,"id":27628412764259,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5451a57c1cf3ab1a4747ad0284c5fd7257b52eb9.webp?v=1782699734"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44300498731107,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-SF60","requires_shipping":true,"taxable":true,"featured_image":{"id":36123165589603,"product_id":8048508665955,"position":6,"created_at":"2026-06-29T10:22:10+08:00","updated_at":"2026-06-29T10:22:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d9f2fac9b1c7cd29c4b2dd3eadfb8af566cd17e.webp?v=1782699732","variant_ids":[44300498731107]},"available":true,"name":"iPhone 17 Pro Max SolidX 迪士尼公主系列 夢幻愛麗兒 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530F-SF60","featured_media":{"alt":null,"id":27628410372195,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d9f2fac9b1c7cd29c4b2dd3eadfb8af566cd17e.webp?v=1782699732"}},"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: "停產" }