$product = {"id":7868182429795,"title":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園","handle":"iphone-17-pro-solidx-ea41","description":null,"published_at":"2025-09-10T02:24:13+08:00","created_at":"2025-08-26T15:59:54+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-songsongmeow","device-iPhone 17 Pro","merge","reseller-songsongmeow"],"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":43633548722275,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213170995299,"product_id":7868182429795,"position":6,"created_at":"2026-07-08T18:02:08+08:00","updated_at":"2026-07-08T18:02:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/392dd463a60a6f78f64f5cb5622670ac65a32005.webp?v=1783504931","variant_ids":[43633548722275]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717964464227,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/392dd463a60a6f78f64f5cb5622670ac65a32005.webp?v=1783504931"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633551376483,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213169782883,"product_id":7868182429795,"position":4,"created_at":"2026-07-08T18:02:06+08:00","updated_at":"2026-07-08T18:02:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9741d1a8cb37f85ea93ad6e8736f5bb9902d8d9.webp?v=1783504928","variant_ids":[43633551376483]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717963251811,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9741d1a8cb37f85ea93ad6e8736f5bb9902d8d9.webp?v=1783504928"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633551409251,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213172863075,"product_id":7868182429795,"position":9,"created_at":"2026-07-08T18:02:13+08:00","updated_at":"2026-07-08T18:02:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7115bca53dfb6ac75df210f3934a03eb787a9e5e.webp?v=1783504935","variant_ids":[43633551409251]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717966332003,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7115bca53dfb6ac75df210f3934a03eb787a9e5e.webp?v=1783504935"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633551442019,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213168930915,"product_id":7868182429795,"position":2,"created_at":"2026-07-08T18:02:05+08:00","updated_at":"2026-07-08T18:02:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19604cc4ef43ddb53051449287e341a9f57944d2.webp?v=1783504927","variant_ids":[43633551442019]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717962006627,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19604cc4ef43ddb53051449287e341a9f57944d2.webp?v=1783504927"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633551474787,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213170602083,"product_id":7868182429795,"position":5,"created_at":"2026-07-08T18:02:07+08:00","updated_at":"2026-07-08T18:02:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32e2dd121c43e16a37b577816d00dea6841240f3.webp?v=1783504929","variant_ids":[43633551474787]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717963907171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32e2dd121c43e16a37b577816d00dea6841240f3.webp?v=1783504929"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633551507555,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213174534243,"product_id":7868182429795,"position":13,"created_at":"2026-07-08T18:02:16+08:00","updated_at":"2026-07-08T18:02:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9648d3a4758ab4957f258d4fd29653bcda34fbe.webp?v=1783504938","variant_ids":[43633551507555]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717968003171,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9648d3a4758ab4957f258d4fd29653bcda34fbe.webp?v=1783504938"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43797904588899,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213172273251,"product_id":7868182429795,"position":8,"created_at":"2026-07-08T18:02:12+08:00","updated_at":"2026-07-08T18:02:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa25fe5f33f5adf9fb4d8e46225b3cecc1fe78a3.webp?v=1783504934","variant_ids":[43797904588899]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717965742179,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa25fe5f33f5adf9fb4d8e46225b3cecc1fe78a3.webp?v=1783504934"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43797904621667,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213174960227,"product_id":7868182429795,"position":14,"created_at":"2026-07-08T18:02:16+08:00","updated_at":"2026-07-08T18:02:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8342f504e20fce91a3e564bcb4bb6abd3b8dd70.webp?v=1783504938","variant_ids":[43797904621667]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717968396387,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8342f504e20fce91a3e564bcb4bb6abd3b8dd70.webp?v=1783504938"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198396231779,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213174108259,"product_id":7868182429795,"position":12,"created_at":"2026-07-08T18:02:15+08:00","updated_at":"2026-07-08T18:02:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49dcd60e6d7974da614515ff2082f3a6b7c794fd.webp?v=1783504937","variant_ids":[44198396231779]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717967577187,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49dcd60e6d7974da614515ff2082f3a6b7c794fd.webp?v=1783504937"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198398034019,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213169520739,"product_id":7868182429795,"position":3,"created_at":"2026-07-08T18:02:05+08:00","updated_at":"2026-07-08T18:02:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13f48ab1e8a16f6b4208349f84292989422eae89.webp?v=1783504927","variant_ids":[44198398034019]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717962924131,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13f48ab1e8a16f6b4208349f84292989422eae89.webp?v=1783504927"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198400098403,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213173813347,"product_id":7868182429795,"position":11,"created_at":"2026-07-08T18:02:14+08:00","updated_at":"2026-07-08T18:02:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49c613159dc71859e9c2fb5a5f2bf7bad54f51df.webp?v=1783504936","variant_ids":[44198400098403]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717967282275,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49c613159dc71859e9c2fb5a5f2bf7bad54f51df.webp?v=1783504936"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198400458851,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213173354595,"product_id":7868182429795,"position":10,"created_at":"2026-07-08T18:02:14+08:00","updated_at":"2026-07-08T18:02:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38d6376648af6c6ca12d208c3e86c0eed1058c64.webp?v=1783504936","variant_ids":[44198400458851]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717966823523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38d6376648af6c6ca12d208c3e86c0eed1058c64.webp?v=1783504936"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264058191971,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213171486819,"product_id":7868182429795,"position":7,"created_at":"2026-07-08T18:02:11+08:00","updated_at":"2026-07-08T18:02:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/728a2899b1319d2bcda9b2757b1ee41e768254a7.webp?v=1783504933","variant_ids":[44264058191971]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717964955747,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/728a2899b1319d2bcda9b2757b1ee41e768254a7.webp?v=1783504933"}},"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-EA41.png?v=1756195197","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19604cc4ef43ddb53051449287e341a9f57944d2.webp?v=1783504927","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13f48ab1e8a16f6b4208349f84292989422eae89.webp?v=1783504927","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9741d1a8cb37f85ea93ad6e8736f5bb9902d8d9.webp?v=1783504928","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32e2dd121c43e16a37b577816d00dea6841240f3.webp?v=1783504929","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/392dd463a60a6f78f64f5cb5622670ac65a32005.webp?v=1783504931","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/728a2899b1319d2bcda9b2757b1ee41e768254a7.webp?v=1783504933","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa25fe5f33f5adf9fb4d8e46225b3cecc1fe78a3.webp?v=1783504934","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7115bca53dfb6ac75df210f3934a03eb787a9e5e.webp?v=1783504935","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38d6376648af6c6ca12d208c3e86c0eed1058c64.webp?v=1783504936","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49c613159dc71859e9c2fb5a5f2bf7bad54f51df.webp?v=1783504936","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49dcd60e6d7974da614515ff2082f3a6b7c794fd.webp?v=1783504937","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9648d3a4758ab4957f258d4fd29653bcda34fbe.webp?v=1783504938","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8342f504e20fce91a3e564bcb4bb6abd3b8dd70.webp?v=1783504938"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-EA41.png?v=1756195197","options":["color"],"media":[{"alt":null,"id":25960950792291,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-EA41.png?v=1756195197"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-EA41.png?v=1756195197","width":2000},{"alt":null,"id":27717962006627,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19604cc4ef43ddb53051449287e341a9f57944d2.webp?v=1783504927"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19604cc4ef43ddb53051449287e341a9f57944d2.webp?v=1783504927","width":2000},{"alt":null,"id":27717962924131,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13f48ab1e8a16f6b4208349f84292989422eae89.webp?v=1783504927"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13f48ab1e8a16f6b4208349f84292989422eae89.webp?v=1783504927","width":2000},{"alt":null,"id":27717963251811,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9741d1a8cb37f85ea93ad6e8736f5bb9902d8d9.webp?v=1783504928"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9741d1a8cb37f85ea93ad6e8736f5bb9902d8d9.webp?v=1783504928","width":2000},{"alt":null,"id":27717963907171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32e2dd121c43e16a37b577816d00dea6841240f3.webp?v=1783504929"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32e2dd121c43e16a37b577816d00dea6841240f3.webp?v=1783504929","width":2000},{"alt":null,"id":27717964464227,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/392dd463a60a6f78f64f5cb5622670ac65a32005.webp?v=1783504931"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/392dd463a60a6f78f64f5cb5622670ac65a32005.webp?v=1783504931","width":2000},{"alt":null,"id":27717964955747,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/728a2899b1319d2bcda9b2757b1ee41e768254a7.webp?v=1783504933"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/728a2899b1319d2bcda9b2757b1ee41e768254a7.webp?v=1783504933","width":2000},{"alt":null,"id":27717965742179,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa25fe5f33f5adf9fb4d8e46225b3cecc1fe78a3.webp?v=1783504934"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa25fe5f33f5adf9fb4d8e46225b3cecc1fe78a3.webp?v=1783504934","width":2000},{"alt":null,"id":27717966332003,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7115bca53dfb6ac75df210f3934a03eb787a9e5e.webp?v=1783504935"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7115bca53dfb6ac75df210f3934a03eb787a9e5e.webp?v=1783504935","width":2000},{"alt":null,"id":27717966823523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38d6376648af6c6ca12d208c3e86c0eed1058c64.webp?v=1783504936"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38d6376648af6c6ca12d208c3e86c0eed1058c64.webp?v=1783504936","width":2000},{"alt":null,"id":27717967282275,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49c613159dc71859e9c2fb5a5f2bf7bad54f51df.webp?v=1783504936"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49c613159dc71859e9c2fb5a5f2bf7bad54f51df.webp?v=1783504936","width":2000},{"alt":null,"id":27717967577187,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49dcd60e6d7974da614515ff2082f3a6b7c794fd.webp?v=1783504937"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49dcd60e6d7974da614515ff2082f3a6b7c794fd.webp?v=1783504937","width":2000},{"alt":null,"id":27717968003171,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9648d3a4758ab4957f258d4fd29653bcda34fbe.webp?v=1783504938"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9648d3a4758ab4957f258d4fd29653bcda34fbe.webp?v=1783504938","width":2000},{"alt":null,"id":27717968396387,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8342f504e20fce91a3e564bcb4bb6abd3b8dd70.webp?v=1783504938"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8342f504e20fce91a3e564bcb4bb6abd3b8dd70.webp?v=1783504938","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43633548722275,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213170995299,"product_id":7868182429795,"position":6,"created_at":"2026-07-08T18:02:08+08:00","updated_at":"2026-07-08T18:02:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/392dd463a60a6f78f64f5cb5622670ac65a32005.webp?v=1783504931","variant_ids":[43633548722275]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717964464227,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/392dd463a60a6f78f64f5cb5622670ac65a32005.webp?v=1783504931"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633551376483,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213169782883,"product_id":7868182429795,"position":4,"created_at":"2026-07-08T18:02:06+08:00","updated_at":"2026-07-08T18:02:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9741d1a8cb37f85ea93ad6e8736f5bb9902d8d9.webp?v=1783504928","variant_ids":[43633551376483]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717963251811,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9741d1a8cb37f85ea93ad6e8736f5bb9902d8d9.webp?v=1783504928"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633551409251,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213172863075,"product_id":7868182429795,"position":9,"created_at":"2026-07-08T18:02:13+08:00","updated_at":"2026-07-08T18:02:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7115bca53dfb6ac75df210f3934a03eb787a9e5e.webp?v=1783504935","variant_ids":[43633551409251]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717966332003,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7115bca53dfb6ac75df210f3934a03eb787a9e5e.webp?v=1783504935"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633551442019,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213168930915,"product_id":7868182429795,"position":2,"created_at":"2026-07-08T18:02:05+08:00","updated_at":"2026-07-08T18:02:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19604cc4ef43ddb53051449287e341a9f57944d2.webp?v=1783504927","variant_ids":[43633551442019]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717962006627,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/19604cc4ef43ddb53051449287e341a9f57944d2.webp?v=1783504927"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633551474787,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213170602083,"product_id":7868182429795,"position":5,"created_at":"2026-07-08T18:02:07+08:00","updated_at":"2026-07-08T18:02:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32e2dd121c43e16a37b577816d00dea6841240f3.webp?v=1783504929","variant_ids":[43633551474787]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717963907171,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/32e2dd121c43e16a37b577816d00dea6841240f3.webp?v=1783504929"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43633551507555,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213174534243,"product_id":7868182429795,"position":13,"created_at":"2026-07-08T18:02:16+08:00","updated_at":"2026-07-08T18:02:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9648d3a4758ab4957f258d4fd29653bcda34fbe.webp?v=1783504938","variant_ids":[43633551507555]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717968003171,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f9648d3a4758ab4957f258d4fd29653bcda34fbe.webp?v=1783504938"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43797904588899,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213172273251,"product_id":7868182429795,"position":8,"created_at":"2026-07-08T18:02:12+08:00","updated_at":"2026-07-08T18:02:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa25fe5f33f5adf9fb4d8e46225b3cecc1fe78a3.webp?v=1783504934","variant_ids":[43797904588899]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717965742179,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa25fe5f33f5adf9fb4d8e46225b3cecc1fe78a3.webp?v=1783504934"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43797904621667,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213174960227,"product_id":7868182429795,"position":14,"created_at":"2026-07-08T18:02:16+08:00","updated_at":"2026-07-08T18:02:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8342f504e20fce91a3e564bcb4bb6abd3b8dd70.webp?v=1783504938","variant_ids":[43797904621667]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717968396387,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8342f504e20fce91a3e564bcb4bb6abd3b8dd70.webp?v=1783504938"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198396231779,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213174108259,"product_id":7868182429795,"position":12,"created_at":"2026-07-08T18:02:15+08:00","updated_at":"2026-07-08T18:02:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49dcd60e6d7974da614515ff2082f3a6b7c794fd.webp?v=1783504937","variant_ids":[44198396231779]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717967577187,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49dcd60e6d7974da614515ff2082f3a6b7c794fd.webp?v=1783504937"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198398034019,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213169520739,"product_id":7868182429795,"position":3,"created_at":"2026-07-08T18:02:05+08:00","updated_at":"2026-07-08T18:02:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13f48ab1e8a16f6b4208349f84292989422eae89.webp?v=1783504927","variant_ids":[44198398034019]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717962924131,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13f48ab1e8a16f6b4208349f84292989422eae89.webp?v=1783504927"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198400098403,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213173813347,"product_id":7868182429795,"position":11,"created_at":"2026-07-08T18:02:14+08:00","updated_at":"2026-07-08T18:02:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49c613159dc71859e9c2fb5a5f2bf7bad54f51df.webp?v=1783504936","variant_ids":[44198400098403]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717967282275,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/49c613159dc71859e9c2fb5a5f2bf7bad54f51df.webp?v=1783504936"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44198400458851,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213173354595,"product_id":7868182429795,"position":10,"created_at":"2026-07-08T18:02:14+08:00","updated_at":"2026-07-08T18:02:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38d6376648af6c6ca12d208c3e86c0eed1058c64.webp?v=1783504936","variant_ids":[44198400458851]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717966823523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38d6376648af6c6ca12d208c3e86c0eed1058c64.webp?v=1783504936"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264058191971,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213171486819,"product_id":7868182429795,"position":7,"created_at":"2026-07-08T18:02:11+08:00","updated_at":"2026-07-08T18:02:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/728a2899b1319d2bcda9b2757b1ee41e768254a7.webp?v=1783504933","variant_ids":[44264058191971]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717964955747,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/728a2899b1319d2bcda9b2757b1ee41e768254a7.webp?v=1783504933"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43633548722275,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-EA41","requires_shipping":true,"taxable":true,"featured_image":{"id":36213170995299,"product_id":7868182429795,"position":6,"created_at":"2026-07-08T18:02:08+08:00","updated_at":"2026-07-08T18:02:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/392dd463a60a6f78f64f5cb5622670ac65a32005.webp?v=1783504931","variant_ids":[43633548722275]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 爽爽貓花園 - 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-EA41","featured_media":{"alt":null,"id":27717964464227,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/392dd463a60a6f78f64f5cb5622670ac65a32005.webp?v=1783504931"}},"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: "停產"
}