$product = {"id":15432590491747,"title":"iPhone 17 Pro Max SolidX 嗨小強 角色集合","handle":"iphone-17-pro-max-solidx-fv71","description":null,"published_at":"2026-10-15T16:31:46+08:00","created_at":"2026-10-15T09:42:49+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-hijohnnn","device-iPhone 17 Pro Max","reseller-hijohnnn"],"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":67714208268387,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013950B-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363641524323,"product_id":15432590491747,"position":14,"created_at":"2026-10-15T09:48:54+08:00","updated_at":"2026-10-15T09:48:55+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013950B-FV71_9cb3a35e-c60a-4b78-84b3-7b9939d0d08a.webp?v=1792028935","variant_ids":[67714208268387]},"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":"NST013950B-FV71","featured_media":{"alt":null,"id":46477931348067,"position":14,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013950B-FV71_9cb3a35e-c60a-4b78-84b3-7b9939d0d08a.webp?v=1792028935"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67714219769955,"title":"Dusk Mauve","option1":"Dusk Mauve","option2":null,"option3":null,"sku":"NST013956F-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363641720931,"product_id":15432590491747,"position":15,"created_at":"2026-10-15T09:48:54+08:00","updated_at":"2026-10-15T09:48:55+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013956F-FV71_f776662b-3b01-42d9-9854-35e8f836828d.webp?v=1792028935","variant_ids":[67714219769955]},"available":true,"name":"iPhone 17 Pro Max SolidX 嗨小強 角色集合 - Dusk Mauve","public_title":"Dusk Mauve","options":["Dusk Mauve"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013956F-FV71","featured_media":{"alt":null,"id":46477931610211,"position":15,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013956F-FV71_f776662b-3b01-42d9-9854-35e8f836828d.webp?v=1792028935"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67714221801571,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013955X-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363641917539,"product_id":15432590491747,"position":16,"created_at":"2026-10-15T09:48:55+08:00","updated_at":"2026-10-15T09:48:56+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955X-FV71_91e4d35f-4197-495d-a4c2-819d26769fe1.webp?v=1792028936","variant_ids":[67714221801571]},"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":"NST013955X-FV71","featured_media":{"alt":null,"id":46477931839587,"position":16,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955X-FV71_91e4d35f-4197-495d-a4c2-819d26769fe1.webp?v=1792028936"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67714227896419,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013955H-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363641393251,"product_id":15432590491747,"position":13,"created_at":"2026-10-15T09:48:53+08:00","updated_at":"2026-10-15T09:48:54+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955H-FV71_3e63736a-63a9-49e8-a5a9-eb6c163d205a.webp?v=1792028934","variant_ids":[67714227896419]},"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":"NST013955H-FV71","featured_media":{"alt":null,"id":46477931216995,"position":13,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955H-FV71_3e63736a-63a9-49e8-a5a9-eb6c163d205a.webp?v=1792028934"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67714228322403,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013954I-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363642605667,"product_id":15432590491747,"position":18,"created_at":"2026-10-15T09:48:56+08:00","updated_at":"2026-10-15T09:48:57+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013954I-FV71_7f5b2483-ae19-4e3a-ab77-ad0954f4c5bf.webp?v=1792028937","variant_ids":[67714228322403]},"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":"NST013954I-FV71","featured_media":{"alt":null,"id":46477932560483,"position":18,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013954I-FV71_7f5b2483-ae19-4e3a-ab77-ad0954f4c5bf.webp?v=1792028937"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67714229665891,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363642409059,"product_id":15432590491747,"position":17,"created_at":"2026-10-15T09:48:55+08:00","updated_at":"2026-10-15T09:48:56+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013534H-FV71_6b32d9b3-09b2-4752-b7de-dd6f559045ca.webp?v=1792028936","variant_ids":[67714229665891]},"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-FV71","featured_media":{"alt":null,"id":46477932331107,"position":17,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013534H-FV71_6b32d9b3-09b2-4752-b7de-dd6f559045ca.webp?v=1792028936"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67714232451171,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363643457635,"product_id":15432590491747,"position":21,"created_at":"2026-10-15T09:48:57+08:00","updated_at":"2026-10-15T09:48:58+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013530F-FV71_af3f96b1-ef04-4028-84d4-806832f855bd.webp?v=1792028938","variant_ids":[67714232451171]},"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-FV71","featured_media":{"alt":null,"id":46477933183075,"position":21,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013530F-FV71_af3f96b1-ef04-4028-84d4-806832f855bd.webp?v=1792028938"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67714236645475,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0139552-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363643949155,"product_id":15432590491747,"position":24,"created_at":"2026-10-15T09:48:59+08:00","updated_at":"2026-10-15T09:49:00+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST0139552-FV71_bf95ee29-5075-4496-aa9f-fdb4acd60f35.webp?v=1792028940","variant_ids":[67714236645475]},"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":"NST0139552-FV71","featured_media":{"alt":null,"id":46477934002275,"position":24,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST0139552-FV71_bf95ee29-5075-4496-aa9f-fdb4acd60f35.webp?v=1792028940"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67714237694051,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01395O8-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363643785315,"product_id":15432590491747,"position":23,"created_at":"2026-10-15T09:48:58+08:00","updated_at":"2026-10-15T09:48:59+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST01395O8-FV71_5dfd41c3-a584-41d5-9d13-51daf6e1167a.webp?v=1792028939","variant_ids":[67714237694051]},"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":"NST01395O8-FV71","featured_media":{"alt":null,"id":46477933838435,"position":23,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST01395O8-FV71_5dfd41c3-a584-41d5-9d13-51daf6e1167a.webp?v=1792028939"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67714238283875,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0139553-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363644178531,"product_id":15432590491747,"position":25,"created_at":"2026-10-15T09:48:59+08:00","updated_at":"2026-10-15T09:49:00+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST0139553-FV71_da1ec203-5ba2-4555-a898-066fc996a019.webp?v=1792028940","variant_ids":[67714238283875]},"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":"NST0139553-FV71","featured_media":{"alt":null,"id":46477934231651,"position":25,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST0139553-FV71_da1ec203-5ba2-4555-a898-066fc996a019.webp?v=1792028940"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955H-FV71.webp?v=1792028582","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013956F-FV71.webp?v=1792028585","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955X-FV71.webp?v=1792028587","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013534H-FV71.webp?v=1792028587","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013954I-FV71.webp?v=1792028588","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013535Y-FV71.webp?v=1792028589","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013536A-FV71.webp?v=1792028590","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013530F-FV71.webp?v=1792028592","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013533O-FV71.webp?v=1792028593","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST01395O8-FV71.webp?v=1792028594","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST0139552-FV71.webp?v=1792028595","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST0139553-FV71.webp?v=1792028597","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955H-FV71_3e63736a-63a9-49e8-a5a9-eb6c163d205a.webp?v=1792028934","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013950B-FV71_9cb3a35e-c60a-4b78-84b3-7b9939d0d08a.webp?v=1792028935","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013956F-FV71_f776662b-3b01-42d9-9854-35e8f836828d.webp?v=1792028935","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955X-FV71_91e4d35f-4197-495d-a4c2-819d26769fe1.webp?v=1792028936","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013534H-FV71_6b32d9b3-09b2-4752-b7de-dd6f559045ca.webp?v=1792028936","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013954I-FV71_7f5b2483-ae19-4e3a-ab77-ad0954f4c5bf.webp?v=1792028937","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013535Y-FV71_1be37144-0d79-4fb1-9f1f-3722e2e15597.webp?v=1792028937","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013536A-FV71_d302e57f-2d04-452f-a9a4-2d9789da2b3c.webp?v=1792028938","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013530F-FV71_af3f96b1-ef04-4028-84d4-806832f855bd.webp?v=1792028938","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013533O-FV71_12ee390a-fec2-4088-bd88-9f3d3d778aa2.webp?v=1792028939","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST01395O8-FV71_5dfd41c3-a584-41d5-9d13-51daf6e1167a.webp?v=1792028939","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST0139552-FV71_bf95ee29-5075-4496-aa9f-fdb4acd60f35.webp?v=1792028940","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST0139553-FV71_da1ec203-5ba2-4555-a898-066fc996a019.webp?v=1792028940"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955H-FV71.webp?v=1792028582","options":["color"],"media":[{"alt":null,"id":46477798637667,"position":1,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955H-FV71.webp?v=1792028582"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955H-FV71.webp?v=1792028582","width":550},{"alt":null,"id":46477799161955,"position":2,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013956F-FV71.webp?v=1792028585"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013956F-FV71.webp?v=1792028585","width":550},{"alt":null,"id":46477799686243,"position":3,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955X-FV71.webp?v=1792028587"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955X-FV71.webp?v=1792028587","width":550},{"alt":null,"id":46477800374371,"position":4,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013534H-FV71.webp?v=1792028587"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013534H-FV71.webp?v=1792028587","width":550},{"alt":null,"id":46477800833123,"position":5,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013954I-FV71.webp?v=1792028588"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013954I-FV71.webp?v=1792028588","width":550},{"alt":null,"id":46477801848931,"position":6,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013535Y-FV71.webp?v=1792028589"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013535Y-FV71.webp?v=1792028589","width":550},{"alt":null,"id":46477802340451,"position":7,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013536A-FV71.webp?v=1792028590"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013536A-FV71.webp?v=1792028590","width":550},{"alt":null,"id":46477803323491,"position":8,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013530F-FV71.webp?v=1792028592"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013530F-FV71.webp?v=1792028592","width":550},{"alt":null,"id":46477803880547,"position":9,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013533O-FV71.webp?v=1792028593"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013533O-FV71.webp?v=1792028593","width":550},{"alt":null,"id":46477804503139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST01395O8-FV71.webp?v=1792028594"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST01395O8-FV71.webp?v=1792028594","width":550},{"alt":null,"id":46477805420643,"position":11,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST0139552-FV71.webp?v=1792028595"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST0139552-FV71.webp?v=1792028595","width":550},{"alt":null,"id":46477806567523,"position":12,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST0139553-FV71.webp?v=1792028597"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST0139553-FV71.webp?v=1792028597","width":550},{"alt":null,"id":46477931216995,"position":13,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955H-FV71_3e63736a-63a9-49e8-a5a9-eb6c163d205a.webp?v=1792028934"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955H-FV71_3e63736a-63a9-49e8-a5a9-eb6c163d205a.webp?v=1792028934","width":550},{"alt":null,"id":46477931348067,"position":14,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013950B-FV71_9cb3a35e-c60a-4b78-84b3-7b9939d0d08a.webp?v=1792028935"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013950B-FV71_9cb3a35e-c60a-4b78-84b3-7b9939d0d08a.webp?v=1792028935","width":550},{"alt":null,"id":46477931610211,"position":15,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013956F-FV71_f776662b-3b01-42d9-9854-35e8f836828d.webp?v=1792028935"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013956F-FV71_f776662b-3b01-42d9-9854-35e8f836828d.webp?v=1792028935","width":550},{"alt":null,"id":46477931839587,"position":16,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955X-FV71_91e4d35f-4197-495d-a4c2-819d26769fe1.webp?v=1792028936"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955X-FV71_91e4d35f-4197-495d-a4c2-819d26769fe1.webp?v=1792028936","width":550},{"alt":null,"id":46477932331107,"position":17,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013534H-FV71_6b32d9b3-09b2-4752-b7de-dd6f559045ca.webp?v=1792028936"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013534H-FV71_6b32d9b3-09b2-4752-b7de-dd6f559045ca.webp?v=1792028936","width":550},{"alt":null,"id":46477932560483,"position":18,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013954I-FV71_7f5b2483-ae19-4e3a-ab77-ad0954f4c5bf.webp?v=1792028937"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013954I-FV71_7f5b2483-ae19-4e3a-ab77-ad0954f4c5bf.webp?v=1792028937","width":550},{"alt":null,"id":46477932757091,"position":19,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013535Y-FV71_1be37144-0d79-4fb1-9f1f-3722e2e15597.webp?v=1792028937"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013535Y-FV71_1be37144-0d79-4fb1-9f1f-3722e2e15597.webp?v=1792028937","width":550},{"alt":null,"id":46477932920931,"position":20,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013536A-FV71_d302e57f-2d04-452f-a9a4-2d9789da2b3c.webp?v=1792028938"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013536A-FV71_d302e57f-2d04-452f-a9a4-2d9789da2b3c.webp?v=1792028938","width":550},{"alt":null,"id":46477933183075,"position":21,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013530F-FV71_af3f96b1-ef04-4028-84d4-806832f855bd.webp?v=1792028938"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013530F-FV71_af3f96b1-ef04-4028-84d4-806832f855bd.webp?v=1792028938","width":550},{"alt":null,"id":46477933641827,"position":22,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013533O-FV71_12ee390a-fec2-4088-bd88-9f3d3d778aa2.webp?v=1792028939"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013533O-FV71_12ee390a-fec2-4088-bd88-9f3d3d778aa2.webp?v=1792028939","width":550},{"alt":null,"id":46477933838435,"position":23,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST01395O8-FV71_5dfd41c3-a584-41d5-9d13-51daf6e1167a.webp?v=1792028939"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST01395O8-FV71_5dfd41c3-a584-41d5-9d13-51daf6e1167a.webp?v=1792028939","width":550},{"alt":null,"id":46477934002275,"position":24,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST0139552-FV71_bf95ee29-5075-4496-aa9f-fdb4acd60f35.webp?v=1792028940"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST0139552-FV71_bf95ee29-5075-4496-aa9f-fdb4acd60f35.webp?v=1792028940","width":550},{"alt":null,"id":46477934231651,"position":25,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST0139553-FV71_da1ec203-5ba2-4555-a898-066fc996a019.webp?v=1792028940"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST0139553-FV71_da1ec203-5ba2-4555-a898-066fc996a019.webp?v=1792028940","width":550}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":67714208268387,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013950B-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363641524323,"product_id":15432590491747,"position":14,"created_at":"2026-10-15T09:48:54+08:00","updated_at":"2026-10-15T09:48:55+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013950B-FV71_9cb3a35e-c60a-4b78-84b3-7b9939d0d08a.webp?v=1792028935","variant_ids":[67714208268387]},"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":"NST013950B-FV71","featured_media":{"alt":null,"id":46477931348067,"position":14,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013950B-FV71_9cb3a35e-c60a-4b78-84b3-7b9939d0d08a.webp?v=1792028935"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67714219769955,"title":"Dusk Mauve","option1":"Dusk Mauve","option2":null,"option3":null,"sku":"NST013956F-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363641720931,"product_id":15432590491747,"position":15,"created_at":"2026-10-15T09:48:54+08:00","updated_at":"2026-10-15T09:48:55+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013956F-FV71_f776662b-3b01-42d9-9854-35e8f836828d.webp?v=1792028935","variant_ids":[67714219769955]},"available":true,"name":"iPhone 17 Pro Max SolidX 嗨小強 角色集合 - Dusk Mauve","public_title":"Dusk Mauve","options":["Dusk Mauve"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013956F-FV71","featured_media":{"alt":null,"id":46477931610211,"position":15,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013956F-FV71_f776662b-3b01-42d9-9854-35e8f836828d.webp?v=1792028935"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67714221801571,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013955X-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363641917539,"product_id":15432590491747,"position":16,"created_at":"2026-10-15T09:48:55+08:00","updated_at":"2026-10-15T09:48:56+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955X-FV71_91e4d35f-4197-495d-a4c2-819d26769fe1.webp?v=1792028936","variant_ids":[67714221801571]},"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":"NST013955X-FV71","featured_media":{"alt":null,"id":46477931839587,"position":16,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955X-FV71_91e4d35f-4197-495d-a4c2-819d26769fe1.webp?v=1792028936"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67714227896419,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013955H-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363641393251,"product_id":15432590491747,"position":13,"created_at":"2026-10-15T09:48:53+08:00","updated_at":"2026-10-15T09:48:54+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955H-FV71_3e63736a-63a9-49e8-a5a9-eb6c163d205a.webp?v=1792028934","variant_ids":[67714227896419]},"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":"NST013955H-FV71","featured_media":{"alt":null,"id":46477931216995,"position":13,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013955H-FV71_3e63736a-63a9-49e8-a5a9-eb6c163d205a.webp?v=1792028934"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67714228322403,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013954I-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363642605667,"product_id":15432590491747,"position":18,"created_at":"2026-10-15T09:48:56+08:00","updated_at":"2026-10-15T09:48:57+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013954I-FV71_7f5b2483-ae19-4e3a-ab77-ad0954f4c5bf.webp?v=1792028937","variant_ids":[67714228322403]},"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":"NST013954I-FV71","featured_media":{"alt":null,"id":46477932560483,"position":18,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013954I-FV71_7f5b2483-ae19-4e3a-ab77-ad0954f4c5bf.webp?v=1792028937"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67714229665891,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363642409059,"product_id":15432590491747,"position":17,"created_at":"2026-10-15T09:48:55+08:00","updated_at":"2026-10-15T09:48:56+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013534H-FV71_6b32d9b3-09b2-4752-b7de-dd6f559045ca.webp?v=1792028936","variant_ids":[67714229665891]},"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-FV71","featured_media":{"alt":null,"id":46477932331107,"position":17,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013534H-FV71_6b32d9b3-09b2-4752-b7de-dd6f559045ca.webp?v=1792028936"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67714232451171,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363643457635,"product_id":15432590491747,"position":21,"created_at":"2026-10-15T09:48:57+08:00","updated_at":"2026-10-15T09:48:58+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013530F-FV71_af3f96b1-ef04-4028-84d4-806832f855bd.webp?v=1792028938","variant_ids":[67714232451171]},"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-FV71","featured_media":{"alt":null,"id":46477933183075,"position":21,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013530F-FV71_af3f96b1-ef04-4028-84d4-806832f855bd.webp?v=1792028938"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67714236645475,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0139552-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363643949155,"product_id":15432590491747,"position":24,"created_at":"2026-10-15T09:48:59+08:00","updated_at":"2026-10-15T09:49:00+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST0139552-FV71_bf95ee29-5075-4496-aa9f-fdb4acd60f35.webp?v=1792028940","variant_ids":[67714236645475]},"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":"NST0139552-FV71","featured_media":{"alt":null,"id":46477934002275,"position":24,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST0139552-FV71_bf95ee29-5075-4496-aa9f-fdb4acd60f35.webp?v=1792028940"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67714237694051,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01395O8-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363643785315,"product_id":15432590491747,"position":23,"created_at":"2026-10-15T09:48:58+08:00","updated_at":"2026-10-15T09:48:59+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST01395O8-FV71_5dfd41c3-a584-41d5-9d13-51daf6e1167a.webp?v=1792028939","variant_ids":[67714237694051]},"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":"NST01395O8-FV71","featured_media":{"alt":null,"id":46477933838435,"position":23,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST01395O8-FV71_5dfd41c3-a584-41d5-9d13-51daf6e1167a.webp?v=1792028939"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67714238283875,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0139553-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363644178531,"product_id":15432590491747,"position":25,"created_at":"2026-10-15T09:48:59+08:00","updated_at":"2026-10-15T09:49:00+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST0139553-FV71_da1ec203-5ba2-4555-a898-066fc996a019.webp?v=1792028940","variant_ids":[67714238283875]},"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":"NST0139553-FV71","featured_media":{"alt":null,"id":46477934231651,"position":25,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST0139553-FV71_da1ec203-5ba2-4555-a898-066fc996a019.webp?v=1792028940"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":67714208268387,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013950B-FV71","requires_shipping":true,"taxable":true,"featured_image":{"id":43363641524323,"product_id":15432590491747,"position":14,"created_at":"2026-10-15T09:48:54+08:00","updated_at":"2026-10-15T09:48:55+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013950B-FV71_9cb3a35e-c60a-4b78-84b3-7b9939d0d08a.webp?v=1792028935","variant_ids":[67714208268387]},"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":"NST013950B-FV71","featured_media":{"alt":null,"id":46477931348067,"position":14,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/NST013950B-FV71_9cb3a35e-c60a-4b78-84b3-7b9939d0d08a.webp?v=1792028935"}},"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: "停產"
}