$product = {"id":7868303540323,"title":"iPhone 17 Pro SolidX 爽爽貓 by SECOND 檸檬","handle":"iphone-17-pro-solidx-ea45","description":null,"published_at":"2025-09-10T01:52:43+08:00","created_at":"2025-08-26T16:14:17+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":43634270535779,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213172732003,"product_id":7868303540323,"position":3,"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\/6e9410cc83e2500c3366ffe35db07e89ccfca489.webp?v=1783504935","variant_ids":[43634270535779]},"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-EA45","featured_media":{"alt":null,"id":27717966266467,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e9410cc83e2500c3366ffe35db07e89ccfca489.webp?v=1783504935"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634272370787,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213178892387,"product_id":7868303540323,"position":12,"created_at":"2026-07-08T18:02:27+08:00","updated_at":"2026-07-08T18:02:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52bee6c9f7e8de8ced392ee38a35438bf2a0766.webp?v=1783504950","variant_ids":[43634272370787]},"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-EA45","featured_media":{"alt":null,"id":27717972394083,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52bee6c9f7e8de8ced392ee38a35438bf2a0766.webp?v=1783504950"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634272403555,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213174501475,"product_id":7868303540323,"position":7,"created_at":"2026-07-08T18:02:16+08:00","updated_at":"2026-07-08T18:02:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ca38df8db1d991455ec0f47757e23bbcaad6da7.webp?v=1783504939","variant_ids":[43634272403555]},"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-EA45","featured_media":{"alt":null,"id":27717967970403,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ca38df8db1d991455ec0f47757e23bbcaad6da7.webp?v=1783504939"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634272436323,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213173420131,"product_id":7868303540323,"position":4,"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\/43bd38c3b7e4acf293047cd17f6bc7eef0d58ce3.webp?v=1783504936","variant_ids":[43634272436323]},"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-EA45","featured_media":{"alt":null,"id":27717966889059,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43bd38c3b7e4acf293047cd17f6bc7eef0d58ce3.webp?v=1783504936"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634272469091,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213173878883,"product_id":7868303540323,"position":5,"created_at":"2026-07-08T18:02:14+08:00","updated_at":"2026-07-08T18:02:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3763f5a460cdcab201e26be7c430b6a1fae3a742.webp?v=1783504937","variant_ids":[43634272469091]},"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-EA45","featured_media":{"alt":null,"id":27717967347811,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3763f5a460cdcab201e26be7c430b6a1fae3a742.webp?v=1783504937"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634272501859,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213179056227,"product_id":7868303540323,"position":13,"created_at":"2026-07-08T18:02:28+08:00","updated_at":"2026-07-08T18:02:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d140f1d72892fbfbadba29495af2b208bd3cdb81.webp?v=1783504950","variant_ids":[43634272501859]},"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-EA45","featured_media":{"alt":null,"id":27717972525155,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d140f1d72892fbfbadba29495af2b208bd3cdb81.webp?v=1783504950"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43797981823075,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213179187299,"product_id":7868303540323,"position":14,"created_at":"2026-07-08T18:02:30+08:00","updated_at":"2026-07-08T18:02:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70b1616c5b0a8ebce0f001fd247a4da7c180639c.webp?v=1783504952","variant_ids":[43797981823075]},"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-EA45","featured_media":{"alt":null,"id":27717972656227,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70b1616c5b0a8ebce0f001fd247a4da7c180639c.webp?v=1783504952"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43797981855843,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213172043875,"product_id":7868303540323,"position":2,"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\/ed2f14b746d8594b42dd116abf7f1513c94756c0.webp?v=1783504934","variant_ids":[43797981855843]},"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-EA45","featured_media":{"alt":null,"id":27717965480035,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed2f14b746d8594b42dd116abf7f1513c94756c0.webp?v=1783504934"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199943110755,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213174304867,"product_id":7868303540323,"position":6,"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\/628a90c1ac0d9c3d3152299cac4b49a3a5af7538.webp?v=1783504937","variant_ids":[44199943110755]},"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-EA45","featured_media":{"alt":null,"id":27717967773795,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/628a90c1ac0d9c3d3152299cac4b49a3a5af7538.webp?v=1783504937"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199943602275,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213174894691,"product_id":7868303540323,"position":8,"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\/33b0c3792cce2f8944ac4b0d1f6f9326953a56cf.webp?v=1783504938","variant_ids":[44199943602275]},"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-EA45","featured_media":{"alt":null,"id":27717968330851,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33b0c3792cce2f8944ac4b0d1f6f9326953a56cf.webp?v=1783504938"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199944159331,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213175550051,"product_id":7868303540323,"position":10,"created_at":"2026-07-08T18:02:17+08:00","updated_at":"2026-07-08T18:02:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c094a41585e5ca019d528325389e87486a7637a.webp?v=1783504939","variant_ids":[44199944159331]},"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-EA45","featured_media":{"alt":null,"id":27717969018979,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c094a41585e5ca019d528325389e87486a7637a.webp?v=1783504939"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199944945763,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213178728547,"product_id":7868303540323,"position":11,"created_at":"2026-07-08T18:02:27+08:00","updated_at":"2026-07-08T18:02:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4c6b8ef4785a64f168af69b97580019090cf43f.webp?v=1783504949","variant_ids":[44199944945763]},"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-EA45","featured_media":{"alt":null,"id":27717972164707,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4c6b8ef4785a64f168af69b97580019090cf43f.webp?v=1783504949"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264058388579,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213175222371,"product_id":7868303540323,"position":9,"created_at":"2026-07-08T18:02:17+08:00","updated_at":"2026-07-08T18:02:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccc115b1447d13bdc2a925ed99650796d9bfef8d.webp?v=1783504939","variant_ids":[44264058388579]},"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-EA45","featured_media":{"alt":null,"id":27717968691299,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccc115b1447d13bdc2a925ed99650796d9bfef8d.webp?v=1783504939"}},"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-EA45.png?v=1756196060","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed2f14b746d8594b42dd116abf7f1513c94756c0.webp?v=1783504934","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e9410cc83e2500c3366ffe35db07e89ccfca489.webp?v=1783504935","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43bd38c3b7e4acf293047cd17f6bc7eef0d58ce3.webp?v=1783504936","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3763f5a460cdcab201e26be7c430b6a1fae3a742.webp?v=1783504937","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/628a90c1ac0d9c3d3152299cac4b49a3a5af7538.webp?v=1783504937","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ca38df8db1d991455ec0f47757e23bbcaad6da7.webp?v=1783504939","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33b0c3792cce2f8944ac4b0d1f6f9326953a56cf.webp?v=1783504938","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccc115b1447d13bdc2a925ed99650796d9bfef8d.webp?v=1783504939","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c094a41585e5ca019d528325389e87486a7637a.webp?v=1783504939","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4c6b8ef4785a64f168af69b97580019090cf43f.webp?v=1783504949","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52bee6c9f7e8de8ced392ee38a35438bf2a0766.webp?v=1783504950","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d140f1d72892fbfbadba29495af2b208bd3cdb81.webp?v=1783504950","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70b1616c5b0a8ebce0f001fd247a4da7c180639c.webp?v=1783504952"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-EA45.png?v=1756196060","options":["color"],"media":[{"alt":null,"id":25961094807651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-EA45.png?v=1756196060"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-EA45.png?v=1756196060","width":2000},{"alt":null,"id":27717965480035,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed2f14b746d8594b42dd116abf7f1513c94756c0.webp?v=1783504934"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed2f14b746d8594b42dd116abf7f1513c94756c0.webp?v=1783504934","width":2000},{"alt":null,"id":27717966266467,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e9410cc83e2500c3366ffe35db07e89ccfca489.webp?v=1783504935"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e9410cc83e2500c3366ffe35db07e89ccfca489.webp?v=1783504935","width":2000},{"alt":null,"id":27717966889059,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43bd38c3b7e4acf293047cd17f6bc7eef0d58ce3.webp?v=1783504936"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43bd38c3b7e4acf293047cd17f6bc7eef0d58ce3.webp?v=1783504936","width":2000},{"alt":null,"id":27717967347811,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3763f5a460cdcab201e26be7c430b6a1fae3a742.webp?v=1783504937"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3763f5a460cdcab201e26be7c430b6a1fae3a742.webp?v=1783504937","width":2000},{"alt":null,"id":27717967773795,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/628a90c1ac0d9c3d3152299cac4b49a3a5af7538.webp?v=1783504937"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/628a90c1ac0d9c3d3152299cac4b49a3a5af7538.webp?v=1783504937","width":2000},{"alt":null,"id":27717967970403,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ca38df8db1d991455ec0f47757e23bbcaad6da7.webp?v=1783504939"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ca38df8db1d991455ec0f47757e23bbcaad6da7.webp?v=1783504939","width":2000},{"alt":null,"id":27717968330851,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33b0c3792cce2f8944ac4b0d1f6f9326953a56cf.webp?v=1783504938"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33b0c3792cce2f8944ac4b0d1f6f9326953a56cf.webp?v=1783504938","width":2000},{"alt":null,"id":27717968691299,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccc115b1447d13bdc2a925ed99650796d9bfef8d.webp?v=1783504939"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccc115b1447d13bdc2a925ed99650796d9bfef8d.webp?v=1783504939","width":2000},{"alt":null,"id":27717969018979,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c094a41585e5ca019d528325389e87486a7637a.webp?v=1783504939"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c094a41585e5ca019d528325389e87486a7637a.webp?v=1783504939","width":2000},{"alt":null,"id":27717972164707,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4c6b8ef4785a64f168af69b97580019090cf43f.webp?v=1783504949"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4c6b8ef4785a64f168af69b97580019090cf43f.webp?v=1783504949","width":2000},{"alt":null,"id":27717972394083,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52bee6c9f7e8de8ced392ee38a35438bf2a0766.webp?v=1783504950"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52bee6c9f7e8de8ced392ee38a35438bf2a0766.webp?v=1783504950","width":2000},{"alt":null,"id":27717972525155,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d140f1d72892fbfbadba29495af2b208bd3cdb81.webp?v=1783504950"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d140f1d72892fbfbadba29495af2b208bd3cdb81.webp?v=1783504950","width":2000},{"alt":null,"id":27717972656227,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70b1616c5b0a8ebce0f001fd247a4da7c180639c.webp?v=1783504952"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70b1616c5b0a8ebce0f001fd247a4da7c180639c.webp?v=1783504952","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43634270535779,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213172732003,"product_id":7868303540323,"position":3,"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\/6e9410cc83e2500c3366ffe35db07e89ccfca489.webp?v=1783504935","variant_ids":[43634270535779]},"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-EA45","featured_media":{"alt":null,"id":27717966266467,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e9410cc83e2500c3366ffe35db07e89ccfca489.webp?v=1783504935"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634272370787,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213178892387,"product_id":7868303540323,"position":12,"created_at":"2026-07-08T18:02:27+08:00","updated_at":"2026-07-08T18:02:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52bee6c9f7e8de8ced392ee38a35438bf2a0766.webp?v=1783504950","variant_ids":[43634272370787]},"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-EA45","featured_media":{"alt":null,"id":27717972394083,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c52bee6c9f7e8de8ced392ee38a35438bf2a0766.webp?v=1783504950"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634272403555,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213174501475,"product_id":7868303540323,"position":7,"created_at":"2026-07-08T18:02:16+08:00","updated_at":"2026-07-08T18:02:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ca38df8db1d991455ec0f47757e23bbcaad6da7.webp?v=1783504939","variant_ids":[43634272403555]},"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-EA45","featured_media":{"alt":null,"id":27717967970403,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2ca38df8db1d991455ec0f47757e23bbcaad6da7.webp?v=1783504939"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634272436323,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213173420131,"product_id":7868303540323,"position":4,"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\/43bd38c3b7e4acf293047cd17f6bc7eef0d58ce3.webp?v=1783504936","variant_ids":[43634272436323]},"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-EA45","featured_media":{"alt":null,"id":27717966889059,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43bd38c3b7e4acf293047cd17f6bc7eef0d58ce3.webp?v=1783504936"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634272469091,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213173878883,"product_id":7868303540323,"position":5,"created_at":"2026-07-08T18:02:14+08:00","updated_at":"2026-07-08T18:02:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3763f5a460cdcab201e26be7c430b6a1fae3a742.webp?v=1783504937","variant_ids":[43634272469091]},"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-EA45","featured_media":{"alt":null,"id":27717967347811,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3763f5a460cdcab201e26be7c430b6a1fae3a742.webp?v=1783504937"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634272501859,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213179056227,"product_id":7868303540323,"position":13,"created_at":"2026-07-08T18:02:28+08:00","updated_at":"2026-07-08T18:02:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d140f1d72892fbfbadba29495af2b208bd3cdb81.webp?v=1783504950","variant_ids":[43634272501859]},"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-EA45","featured_media":{"alt":null,"id":27717972525155,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d140f1d72892fbfbadba29495af2b208bd3cdb81.webp?v=1783504950"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43797981823075,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213179187299,"product_id":7868303540323,"position":14,"created_at":"2026-07-08T18:02:30+08:00","updated_at":"2026-07-08T18:02:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70b1616c5b0a8ebce0f001fd247a4da7c180639c.webp?v=1783504952","variant_ids":[43797981823075]},"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-EA45","featured_media":{"alt":null,"id":27717972656227,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70b1616c5b0a8ebce0f001fd247a4da7c180639c.webp?v=1783504952"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43797981855843,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213172043875,"product_id":7868303540323,"position":2,"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\/ed2f14b746d8594b42dd116abf7f1513c94756c0.webp?v=1783504934","variant_ids":[43797981855843]},"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-EA45","featured_media":{"alt":null,"id":27717965480035,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed2f14b746d8594b42dd116abf7f1513c94756c0.webp?v=1783504934"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199943110755,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213174304867,"product_id":7868303540323,"position":6,"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\/628a90c1ac0d9c3d3152299cac4b49a3a5af7538.webp?v=1783504937","variant_ids":[44199943110755]},"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-EA45","featured_media":{"alt":null,"id":27717967773795,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/628a90c1ac0d9c3d3152299cac4b49a3a5af7538.webp?v=1783504937"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199943602275,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213174894691,"product_id":7868303540323,"position":8,"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\/33b0c3792cce2f8944ac4b0d1f6f9326953a56cf.webp?v=1783504938","variant_ids":[44199943602275]},"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-EA45","featured_media":{"alt":null,"id":27717968330851,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33b0c3792cce2f8944ac4b0d1f6f9326953a56cf.webp?v=1783504938"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199944159331,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213175550051,"product_id":7868303540323,"position":10,"created_at":"2026-07-08T18:02:17+08:00","updated_at":"2026-07-08T18:02:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c094a41585e5ca019d528325389e87486a7637a.webp?v=1783504939","variant_ids":[44199944159331]},"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-EA45","featured_media":{"alt":null,"id":27717969018979,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c094a41585e5ca019d528325389e87486a7637a.webp?v=1783504939"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199944945763,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213178728547,"product_id":7868303540323,"position":11,"created_at":"2026-07-08T18:02:27+08:00","updated_at":"2026-07-08T18:02:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4c6b8ef4785a64f168af69b97580019090cf43f.webp?v=1783504949","variant_ids":[44199944945763]},"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-EA45","featured_media":{"alt":null,"id":27717972164707,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f4c6b8ef4785a64f168af69b97580019090cf43f.webp?v=1783504949"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264058388579,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213175222371,"product_id":7868303540323,"position":9,"created_at":"2026-07-08T18:02:17+08:00","updated_at":"2026-07-08T18:02:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccc115b1447d13bdc2a925ed99650796d9bfef8d.webp?v=1783504939","variant_ids":[44264058388579]},"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-EA45","featured_media":{"alt":null,"id":27717968691299,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccc115b1447d13bdc2a925ed99650796d9bfef8d.webp?v=1783504939"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43634270535779,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-EA45","requires_shipping":true,"taxable":true,"featured_image":{"id":36213172732003,"product_id":7868303540323,"position":3,"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\/6e9410cc83e2500c3366ffe35db07e89ccfca489.webp?v=1783504935","variant_ids":[43634270535779]},"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-EA45","featured_media":{"alt":null,"id":27717966266467,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e9410cc83e2500c3366ffe35db07e89ccfca489.webp?v=1783504935"}},"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: "停產"
}