$product = {"id":7868251963491,"title":"iPhone 17 Pro SolidX 迪士尼-皮克斯 超人特攻隊出動","handle":"iphone-17-pro-solidx-pd37","description":null,"published_at":"2025-09-10T02:05:48+08:00","created_at":"2025-08-26T16:08:24+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-pixar","device-iPhone 17 Pro","merge","reseller-pixar"],"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":43633963073635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134785024099,"product_id":7868251963491,"position":2,"created_at":"2026-06-30T18:03:49+08:00","updated_at":"2026-06-30T18:03:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39c6259617520cef2c08b5f1f6ce77ab369f0348.webp?v=1782813831","variant_ids":[43633963073635]},"available":true,"name":"iPhone 17 Pro 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":"NST0135252-PD37","featured_media":{"alt":null,"id":27639730307171,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39c6259617520cef2c08b5f1f6ce77ab369f0348.webp?v=1782813831"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633964810339,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134785908835,"product_id":7868251963491,"position":5,"created_at":"2026-06-30T18:03:50+08:00","updated_at":"2026-06-30T18:03:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25633e1a30064dac92ed36963e799a3cd5602616.webp?v=1782813833","variant_ids":[43633964810339]},"available":true,"name":"iPhone 17 Pro 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":"NST01352O8-PD37","featured_media":{"alt":null,"id":27639731191907,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25633e1a30064dac92ed36963e799a3cd5602616.webp?v=1782813833"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633964843107,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134786203747,"product_id":7868251963491,"position":6,"created_at":"2026-06-30T18:03:51+08:00","updated_at":"2026-06-30T18:03:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7670c40c7391cb13adc38e3d138535c0e1763bb0.webp?v=1782813833","variant_ids":[43633964843107]},"available":true,"name":"iPhone 17 Pro 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":"NST013520B-PD37","featured_media":{"alt":null,"id":27639731486819,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7670c40c7391cb13adc38e3d138535c0e1763bb0.webp?v=1782813833"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633964875875,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134789152867,"product_id":7868251963491,"position":14,"created_at":"2026-06-30T18:03:56+08:00","updated_at":"2026-06-30T18:03:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac81afde7def130206a523b5f7af29deb30d215.webp?v=1782813838","variant_ids":[43633964875875]},"available":true,"name":"iPhone 17 Pro 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":"NST013524I-PD37","featured_media":{"alt":null,"id":27639734468707,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac81afde7def130206a523b5f7af29deb30d215.webp?v=1782813838"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633964908643,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134787678307,"product_id":7868251963491,"position":10,"created_at":"2026-06-30T18:03:53+08:00","updated_at":"2026-06-30T18:03:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b29c50003f4ac3caeb92ed30d6ec98033eb6bab7.webp?v=1782813835","variant_ids":[43633964908643]},"available":true,"name":"iPhone 17 Pro 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":"NST013524H-PD37","featured_media":{"alt":null,"id":27639732961379,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b29c50003f4ac3caeb92ed30d6ec98033eb6bab7.webp?v=1782813835"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633964941411,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134785613923,"product_id":7868251963491,"position":4,"created_at":"2026-06-30T18:03:50+08:00","updated_at":"2026-06-30T18:03:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/457326575bc508ed56d77285c913efa126a3dd50.webp?v=1782813832","variant_ids":[43633964941411]},"available":true,"name":"iPhone 17 Pro 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":"NST0135253-PD37","featured_media":{"alt":null,"id":27639730896995,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/457326575bc508ed56d77285c913efa126a3dd50.webp?v=1782813832"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798340370531,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134785286243,"product_id":7868251963491,"position":3,"created_at":"2026-06-30T18:03:49+08:00","updated_at":"2026-06-30T18:03:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72e043b67679f75ec67c034487ccd245b8db0a7e.webp?v=1782813831","variant_ids":[43798340370531]},"available":true,"name":"iPhone 17 Pro 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":"NST013523O-PD37","featured_media":{"alt":null,"id":27639730569315,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72e043b67679f75ec67c034487ccd245b8db0a7e.webp?v=1782813831"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798340403299,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134788726883,"product_id":7868251963491,"position":13,"created_at":"2026-06-30T18:03:55+08:00","updated_at":"2026-06-30T18:03:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c170a61ddf3168282f2892d372e1c643f28e55.webp?v=1782813837","variant_ids":[43798340403299]},"available":true,"name":"iPhone 17 Pro 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":"NST013520F-PD37","featured_media":{"alt":null,"id":27639734009955,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c170a61ddf3168282f2892d372e1c643f28e55.webp?v=1782813837"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200456880227,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134787317859,"product_id":7868251963491,"position":9,"created_at":"2026-06-30T18:03:53+08:00","updated_at":"2026-06-30T18:03:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f202e07c1b65b5a71b5c52ee9d2084c5376562f2.webp?v=1782813835","variant_ids":[44200456880227]},"available":true,"name":"iPhone 17 Pro 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":"NST013526A-PD37","featured_media":{"alt":null,"id":27639732633699,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f202e07c1b65b5a71b5c52ee9d2084c5376562f2.webp?v=1782813835"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200458059875,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134788005987,"product_id":7868251963491,"position":11,"created_at":"2026-06-30T18:03:54+08:00","updated_at":"2026-06-30T18:03:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/503a74dc9d7a2d84a467e634207d8f08a3d7df2d.webp?v=1782813836","variant_ids":[44200458059875]},"available":true,"name":"iPhone 17 Pro 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":"NST013525X-PD37","featured_media":{"alt":null,"id":27639733289059,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/503a74dc9d7a2d84a467e634207d8f08a3d7df2d.webp?v=1782813836"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200459108451,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134786924643,"product_id":7868251963491,"position":8,"created_at":"2026-06-30T18:03:52+08:00","updated_at":"2026-06-30T18:03:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20d0428ca982cb4d6f3502cb86b7713b6ad49e83.webp?v=1782813834","variant_ids":[44200459108451]},"available":true,"name":"iPhone 17 Pro 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":"NST013525Y-PD37","featured_media":{"alt":null,"id":27639732207715,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20d0428ca982cb4d6f3502cb86b7713b6ad49e83.webp?v=1782813834"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200459796579,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134788366435,"product_id":7868251963491,"position":12,"created_at":"2026-06-30T18:03:54+08:00","updated_at":"2026-06-30T18:03:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67436261cbc7ef8be0f70b817681cd4d6304c611.webp?v=1782813836","variant_ids":[44200459796579]},"available":true,"name":"iPhone 17 Pro 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":"NST013525Z-PD37","featured_media":{"alt":null,"id":27639733649507,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67436261cbc7ef8be0f70b817681cd4d6304c611.webp?v=1782813836"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264265318499,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134786564195,"product_id":7868251963491,"position":7,"created_at":"2026-06-30T18:03:52+08:00","updated_at":"2026-06-30T18:03:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00dd7474811499f82e52f47f97027ba048bff5d5.webp?v=1782813834","variant_ids":[44264265318499]},"available":true,"name":"iPhone 17 Pro 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":"NST013525H-PD37","featured_media":{"alt":null,"id":27639731847267,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00dd7474811499f82e52f47f97027ba048bff5d5.webp?v=1782813834"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-PD37.png?v=1756195707","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39c6259617520cef2c08b5f1f6ce77ab369f0348.webp?v=1782813831","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72e043b67679f75ec67c034487ccd245b8db0a7e.webp?v=1782813831","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/457326575bc508ed56d77285c913efa126a3dd50.webp?v=1782813832","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25633e1a30064dac92ed36963e799a3cd5602616.webp?v=1782813833","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7670c40c7391cb13adc38e3d138535c0e1763bb0.webp?v=1782813833","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00dd7474811499f82e52f47f97027ba048bff5d5.webp?v=1782813834","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20d0428ca982cb4d6f3502cb86b7713b6ad49e83.webp?v=1782813834","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f202e07c1b65b5a71b5c52ee9d2084c5376562f2.webp?v=1782813835","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b29c50003f4ac3caeb92ed30d6ec98033eb6bab7.webp?v=1782813835","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/503a74dc9d7a2d84a467e634207d8f08a3d7df2d.webp?v=1782813836","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67436261cbc7ef8be0f70b817681cd4d6304c611.webp?v=1782813836","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c170a61ddf3168282f2892d372e1c643f28e55.webp?v=1782813837","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac81afde7def130206a523b5f7af29deb30d215.webp?v=1782813838"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-PD37.png?v=1756195707","options":["color"],"media":[{"alt":null,"id":25961032581219,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-PD37.png?v=1756195707"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-PD37.png?v=1756195707","width":2000},{"alt":null,"id":27639730307171,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39c6259617520cef2c08b5f1f6ce77ab369f0348.webp?v=1782813831"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39c6259617520cef2c08b5f1f6ce77ab369f0348.webp?v=1782813831","width":2000},{"alt":null,"id":27639730569315,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72e043b67679f75ec67c034487ccd245b8db0a7e.webp?v=1782813831"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72e043b67679f75ec67c034487ccd245b8db0a7e.webp?v=1782813831","width":2000},{"alt":null,"id":27639730896995,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/457326575bc508ed56d77285c913efa126a3dd50.webp?v=1782813832"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/457326575bc508ed56d77285c913efa126a3dd50.webp?v=1782813832","width":2000},{"alt":null,"id":27639731191907,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25633e1a30064dac92ed36963e799a3cd5602616.webp?v=1782813833"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25633e1a30064dac92ed36963e799a3cd5602616.webp?v=1782813833","width":2000},{"alt":null,"id":27639731486819,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7670c40c7391cb13adc38e3d138535c0e1763bb0.webp?v=1782813833"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7670c40c7391cb13adc38e3d138535c0e1763bb0.webp?v=1782813833","width":2000},{"alt":null,"id":27639731847267,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00dd7474811499f82e52f47f97027ba048bff5d5.webp?v=1782813834"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00dd7474811499f82e52f47f97027ba048bff5d5.webp?v=1782813834","width":2000},{"alt":null,"id":27639732207715,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20d0428ca982cb4d6f3502cb86b7713b6ad49e83.webp?v=1782813834"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20d0428ca982cb4d6f3502cb86b7713b6ad49e83.webp?v=1782813834","width":2000},{"alt":null,"id":27639732633699,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f202e07c1b65b5a71b5c52ee9d2084c5376562f2.webp?v=1782813835"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f202e07c1b65b5a71b5c52ee9d2084c5376562f2.webp?v=1782813835","width":2000},{"alt":null,"id":27639732961379,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b29c50003f4ac3caeb92ed30d6ec98033eb6bab7.webp?v=1782813835"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b29c50003f4ac3caeb92ed30d6ec98033eb6bab7.webp?v=1782813835","width":2000},{"alt":null,"id":27639733289059,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/503a74dc9d7a2d84a467e634207d8f08a3d7df2d.webp?v=1782813836"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/503a74dc9d7a2d84a467e634207d8f08a3d7df2d.webp?v=1782813836","width":2000},{"alt":null,"id":27639733649507,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67436261cbc7ef8be0f70b817681cd4d6304c611.webp?v=1782813836"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67436261cbc7ef8be0f70b817681cd4d6304c611.webp?v=1782813836","width":2000},{"alt":null,"id":27639734009955,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c170a61ddf3168282f2892d372e1c643f28e55.webp?v=1782813837"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c170a61ddf3168282f2892d372e1c643f28e55.webp?v=1782813837","width":2000},{"alt":null,"id":27639734468707,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac81afde7def130206a523b5f7af29deb30d215.webp?v=1782813838"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac81afde7def130206a523b5f7af29deb30d215.webp?v=1782813838","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43633963073635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134785024099,"product_id":7868251963491,"position":2,"created_at":"2026-06-30T18:03:49+08:00","updated_at":"2026-06-30T18:03:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39c6259617520cef2c08b5f1f6ce77ab369f0348.webp?v=1782813831","variant_ids":[43633963073635]},"available":true,"name":"iPhone 17 Pro 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":"NST0135252-PD37","featured_media":{"alt":null,"id":27639730307171,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39c6259617520cef2c08b5f1f6ce77ab369f0348.webp?v=1782813831"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633964810339,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134785908835,"product_id":7868251963491,"position":5,"created_at":"2026-06-30T18:03:50+08:00","updated_at":"2026-06-30T18:03:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25633e1a30064dac92ed36963e799a3cd5602616.webp?v=1782813833","variant_ids":[43633964810339]},"available":true,"name":"iPhone 17 Pro 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":"NST01352O8-PD37","featured_media":{"alt":null,"id":27639731191907,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25633e1a30064dac92ed36963e799a3cd5602616.webp?v=1782813833"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633964843107,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134786203747,"product_id":7868251963491,"position":6,"created_at":"2026-06-30T18:03:51+08:00","updated_at":"2026-06-30T18:03:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7670c40c7391cb13adc38e3d138535c0e1763bb0.webp?v=1782813833","variant_ids":[43633964843107]},"available":true,"name":"iPhone 17 Pro 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":"NST013520B-PD37","featured_media":{"alt":null,"id":27639731486819,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7670c40c7391cb13adc38e3d138535c0e1763bb0.webp?v=1782813833"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633964875875,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134789152867,"product_id":7868251963491,"position":14,"created_at":"2026-06-30T18:03:56+08:00","updated_at":"2026-06-30T18:03:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac81afde7def130206a523b5f7af29deb30d215.webp?v=1782813838","variant_ids":[43633964875875]},"available":true,"name":"iPhone 17 Pro 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":"NST013524I-PD37","featured_media":{"alt":null,"id":27639734468707,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ac81afde7def130206a523b5f7af29deb30d215.webp?v=1782813838"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633964908643,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134787678307,"product_id":7868251963491,"position":10,"created_at":"2026-06-30T18:03:53+08:00","updated_at":"2026-06-30T18:03:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b29c50003f4ac3caeb92ed30d6ec98033eb6bab7.webp?v=1782813835","variant_ids":[43633964908643]},"available":true,"name":"iPhone 17 Pro 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":"NST013524H-PD37","featured_media":{"alt":null,"id":27639732961379,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b29c50003f4ac3caeb92ed30d6ec98033eb6bab7.webp?v=1782813835"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633964941411,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134785613923,"product_id":7868251963491,"position":4,"created_at":"2026-06-30T18:03:50+08:00","updated_at":"2026-06-30T18:03:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/457326575bc508ed56d77285c913efa126a3dd50.webp?v=1782813832","variant_ids":[43633964941411]},"available":true,"name":"iPhone 17 Pro 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":"NST0135253-PD37","featured_media":{"alt":null,"id":27639730896995,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/457326575bc508ed56d77285c913efa126a3dd50.webp?v=1782813832"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798340370531,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134785286243,"product_id":7868251963491,"position":3,"created_at":"2026-06-30T18:03:49+08:00","updated_at":"2026-06-30T18:03:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72e043b67679f75ec67c034487ccd245b8db0a7e.webp?v=1782813831","variant_ids":[43798340370531]},"available":true,"name":"iPhone 17 Pro 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":"NST013523O-PD37","featured_media":{"alt":null,"id":27639730569315,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/72e043b67679f75ec67c034487ccd245b8db0a7e.webp?v=1782813831"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798340403299,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134788726883,"product_id":7868251963491,"position":13,"created_at":"2026-06-30T18:03:55+08:00","updated_at":"2026-06-30T18:03:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c170a61ddf3168282f2892d372e1c643f28e55.webp?v=1782813837","variant_ids":[43798340403299]},"available":true,"name":"iPhone 17 Pro 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":"NST013520F-PD37","featured_media":{"alt":null,"id":27639734009955,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60c170a61ddf3168282f2892d372e1c643f28e55.webp?v=1782813837"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200456880227,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134787317859,"product_id":7868251963491,"position":9,"created_at":"2026-06-30T18:03:53+08:00","updated_at":"2026-06-30T18:03:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f202e07c1b65b5a71b5c52ee9d2084c5376562f2.webp?v=1782813835","variant_ids":[44200456880227]},"available":true,"name":"iPhone 17 Pro 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":"NST013526A-PD37","featured_media":{"alt":null,"id":27639732633699,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f202e07c1b65b5a71b5c52ee9d2084c5376562f2.webp?v=1782813835"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200458059875,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134788005987,"product_id":7868251963491,"position":11,"created_at":"2026-06-30T18:03:54+08:00","updated_at":"2026-06-30T18:03:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/503a74dc9d7a2d84a467e634207d8f08a3d7df2d.webp?v=1782813836","variant_ids":[44200458059875]},"available":true,"name":"iPhone 17 Pro 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":"NST013525X-PD37","featured_media":{"alt":null,"id":27639733289059,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/503a74dc9d7a2d84a467e634207d8f08a3d7df2d.webp?v=1782813836"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200459108451,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134786924643,"product_id":7868251963491,"position":8,"created_at":"2026-06-30T18:03:52+08:00","updated_at":"2026-06-30T18:03:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20d0428ca982cb4d6f3502cb86b7713b6ad49e83.webp?v=1782813834","variant_ids":[44200459108451]},"available":true,"name":"iPhone 17 Pro 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":"NST013525Y-PD37","featured_media":{"alt":null,"id":27639732207715,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/20d0428ca982cb4d6f3502cb86b7713b6ad49e83.webp?v=1782813834"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44200459796579,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134788366435,"product_id":7868251963491,"position":12,"created_at":"2026-06-30T18:03:54+08:00","updated_at":"2026-06-30T18:03:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67436261cbc7ef8be0f70b817681cd4d6304c611.webp?v=1782813836","variant_ids":[44200459796579]},"available":true,"name":"iPhone 17 Pro 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":"NST013525Z-PD37","featured_media":{"alt":null,"id":27639733649507,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67436261cbc7ef8be0f70b817681cd4d6304c611.webp?v=1782813836"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264265318499,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134786564195,"product_id":7868251963491,"position":7,"created_at":"2026-06-30T18:03:52+08:00","updated_at":"2026-06-30T18:03:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00dd7474811499f82e52f47f97027ba048bff5d5.webp?v=1782813834","variant_ids":[44264265318499]},"available":true,"name":"iPhone 17 Pro 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":"NST013525H-PD37","featured_media":{"alt":null,"id":27639731847267,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/00dd7474811499f82e52f47f97027ba048bff5d5.webp?v=1782813834"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43633963073635,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-PD37","requires_shipping":true,"taxable":true,"featured_image":{"id":36134785024099,"product_id":7868251963491,"position":2,"created_at":"2026-06-30T18:03:49+08:00","updated_at":"2026-06-30T18:03:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39c6259617520cef2c08b5f1f6ce77ab369f0348.webp?v=1782813831","variant_ids":[43633963073635]},"available":true,"name":"iPhone 17 Pro 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":"NST0135252-PD37","featured_media":{"alt":null,"id":27639730307171,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39c6259617520cef2c08b5f1f6ce77ab369f0348.webp?v=1782813831"}},"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: "停產" }