$product = {"id":7876193189987,"title":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合","handle":"iphone-17-pro-solidx-magsafe-ea110","description":null,"published_at":"2025-09-10T00:24:27+08:00","created_at":"2025-09-03T12:26:01+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":145000,"price_min":145000,"price_max":145000,"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":43675787952227,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416760946787,"product_id":7876193189987,"position":1,"created_at":"2025-09-03T12:26:06+08:00","updated_at":"2025-09-03T12:26:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c03463d65f44b4cbf982f9d7eb983a12f35d8d90.webp?v=1756873568","variant_ids":[43675787952227]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524I-EA110","featured_media":{"alt":null,"id":25989035720803,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c03463d65f44b4cbf982f9d7eb983a12f35d8d90.webp?v=1756873568"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675791097955,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416761471075,"product_id":7876193189987,"position":3,"created_at":"2025-09-03T12:26:07+08:00","updated_at":"2025-09-03T12:26:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/496715b5d3e949daf3c0bb57a7b8ea6de5e14eb2.webp?v=1756873570","variant_ids":[43675791097955]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520B-EA110","featured_media":{"alt":null,"id":25989036245091,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/496715b5d3e949daf3c0bb57a7b8ea6de5e14eb2.webp?v=1756873570"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675791130723,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416761274467,"product_id":7876193189987,"position":2,"created_at":"2025-09-03T12:26:07+08:00","updated_at":"2025-09-03T12:26:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2d53dc4328589bbd659bc6aaf8ab05891c7c7ad.webp?v=1756873569","variant_ids":[43675791130723]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-EA110","featured_media":{"alt":null,"id":25989036048483,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2d53dc4328589bbd659bc6aaf8ab05891c7c7ad.webp?v=1756873569"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675791196259,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416762585187,"product_id":7876193189987,"position":8,"created_at":"2025-09-03T12:26:11+08:00","updated_at":"2025-09-03T12:26:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ee78c9d8216d5a3ba31a60a1b382a103b2acc0f.webp?v=1756873574","variant_ids":[43675791196259]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524H-EA110","featured_media":{"alt":null,"id":25989037326435,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ee78c9d8216d5a3ba31a60a1b382a103b2acc0f.webp?v=1756873574"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675791261795,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416761929827,"product_id":7876193189987,"position":5,"created_at":"2025-09-03T12:26:09+08:00","updated_at":"2025-09-03T12:26:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dd69651928afb5ba31d1f2ac8bf51f3a178b89d.webp?v=1756873571","variant_ids":[43675791261795]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01352O8-EA110","featured_media":{"alt":null,"id":25989036703843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dd69651928afb5ba31d1f2ac8bf51f3a178b89d.webp?v=1756873571"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675791327331,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416762224739,"product_id":7876193189987,"position":6,"created_at":"2025-09-03T12:26:10+08:00","updated_at":"2025-09-03T12:26:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572","variant_ids":[43675791327331,43798274736227,43798274768995,44201330933859,44201331556451,44201332113507,44201332834403,44264124121187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-EA110","featured_media":{"alt":null,"id":25989036998755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798274736227,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416762224739,"product_id":7876193189987,"position":6,"created_at":"2025-09-03T12:26:10+08:00","updated_at":"2025-09-03T12:26:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572","variant_ids":[43675791327331,43798274736227,43798274768995,44201330933859,44201331556451,44201332113507,44201332834403,44264124121187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013523O-EA110","featured_media":{"alt":null,"id":25989036998755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798274768995,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416762224739,"product_id":7876193189987,"position":6,"created_at":"2025-09-03T12:26:10+08:00","updated_at":"2025-09-03T12:26:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572","variant_ids":[43675791327331,43798274736227,43798274768995,44201330933859,44201331556451,44201332113507,44201332834403,44264124121187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520F-EA110","featured_media":{"alt":null,"id":25989036998755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201330933859,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416762224739,"product_id":7876193189987,"position":6,"created_at":"2025-09-03T12:26:10+08:00","updated_at":"2025-09-03T12:26:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572","variant_ids":[43675791327331,43798274736227,43798274768995,44201330933859,44201331556451,44201332113507,44201332834403,44264124121187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013526A-EA110","featured_media":{"alt":null,"id":25989036998755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201331556451,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416762224739,"product_id":7876193189987,"position":6,"created_at":"2025-09-03T12:26:10+08:00","updated_at":"2025-09-03T12:26:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572","variant_ids":[43675791327331,43798274736227,43798274768995,44201330933859,44201331556451,44201332113507,44201332834403,44264124121187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525X-EA110","featured_media":{"alt":null,"id":25989036998755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201332113507,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416762224739,"product_id":7876193189987,"position":6,"created_at":"2025-09-03T12:26:10+08:00","updated_at":"2025-09-03T12:26:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572","variant_ids":[43675791327331,43798274736227,43798274768995,44201330933859,44201331556451,44201332113507,44201332834403,44264124121187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Y-EA110","featured_media":{"alt":null,"id":25989036998755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201332834403,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416762224739,"product_id":7876193189987,"position":6,"created_at":"2025-09-03T12:26:10+08:00","updated_at":"2025-09-03T12:26:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572","variant_ids":[43675791327331,43798274736227,43798274768995,44201330933859,44201331556451,44201332113507,44201332834403,44264124121187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Z-EA110","featured_media":{"alt":null,"id":25989036998755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264124121187,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416762224739,"product_id":7876193189987,"position":6,"created_at":"2025-09-03T12:26:10+08:00","updated_at":"2025-09-03T12:26:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572","variant_ids":[43675791327331,43798274736227,43798274768995,44201330933859,44201331556451,44201332113507,44201332834403,44264124121187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525H-EA110","featured_media":{"alt":null,"id":25989036998755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c03463d65f44b4cbf982f9d7eb983a12f35d8d90.webp?v=1756873568","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2d53dc4328589bbd659bc6aaf8ab05891c7c7ad.webp?v=1756873569","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/496715b5d3e949daf3c0bb57a7b8ea6de5e14eb2.webp?v=1756873570","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/283223f4cf71c41cffd5771d4f62f24db69ae59d.webp?v=1756873570","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dd69651928afb5ba31d1f2ac8bf51f3a178b89d.webp?v=1756873571","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a9e2e8ae16c999fa9f4fb51b93f04ff9ef237e9.webp?v=1756873573","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ee78c9d8216d5a3ba31a60a1b382a103b2acc0f.webp?v=1756873574","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c39b09e085163b9f58b8d37387308fcd69f8b94.webp?v=1756873574"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c03463d65f44b4cbf982f9d7eb983a12f35d8d90.webp?v=1756873568","options":["color"],"media":[{"alt":null,"id":25989035720803,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c03463d65f44b4cbf982f9d7eb983a12f35d8d90.webp?v=1756873568"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c03463d65f44b4cbf982f9d7eb983a12f35d8d90.webp?v=1756873568","width":2000},{"alt":null,"id":25989036048483,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2d53dc4328589bbd659bc6aaf8ab05891c7c7ad.webp?v=1756873569"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2d53dc4328589bbd659bc6aaf8ab05891c7c7ad.webp?v=1756873569","width":2000},{"alt":null,"id":25989036245091,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/496715b5d3e949daf3c0bb57a7b8ea6de5e14eb2.webp?v=1756873570"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/496715b5d3e949daf3c0bb57a7b8ea6de5e14eb2.webp?v=1756873570","width":2000},{"alt":null,"id":25989036343395,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/283223f4cf71c41cffd5771d4f62f24db69ae59d.webp?v=1756873570"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/283223f4cf71c41cffd5771d4f62f24db69ae59d.webp?v=1756873570","width":2000},{"alt":null,"id":25989036703843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dd69651928afb5ba31d1f2ac8bf51f3a178b89d.webp?v=1756873571"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dd69651928afb5ba31d1f2ac8bf51f3a178b89d.webp?v=1756873571","width":2000},{"alt":null,"id":25989036998755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572","width":2000},{"alt":null,"id":25989037162595,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a9e2e8ae16c999fa9f4fb51b93f04ff9ef237e9.webp?v=1756873573"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0a9e2e8ae16c999fa9f4fb51b93f04ff9ef237e9.webp?v=1756873573","width":2000},{"alt":null,"id":25989037326435,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ee78c9d8216d5a3ba31a60a1b382a103b2acc0f.webp?v=1756873574"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ee78c9d8216d5a3ba31a60a1b382a103b2acc0f.webp?v=1756873574","width":2000},{"alt":null,"id":25989037523043,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c39b09e085163b9f58b8d37387308fcd69f8b94.webp?v=1756873574"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1c39b09e085163b9f58b8d37387308fcd69f8b94.webp?v=1756873574","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43675787952227,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416760946787,"product_id":7876193189987,"position":1,"created_at":"2025-09-03T12:26:06+08:00","updated_at":"2025-09-03T12:26:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c03463d65f44b4cbf982f9d7eb983a12f35d8d90.webp?v=1756873568","variant_ids":[43675787952227]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524I-EA110","featured_media":{"alt":null,"id":25989035720803,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c03463d65f44b4cbf982f9d7eb983a12f35d8d90.webp?v=1756873568"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675791097955,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416761471075,"product_id":7876193189987,"position":3,"created_at":"2025-09-03T12:26:07+08:00","updated_at":"2025-09-03T12:26:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/496715b5d3e949daf3c0bb57a7b8ea6de5e14eb2.webp?v=1756873570","variant_ids":[43675791097955]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520B-EA110","featured_media":{"alt":null,"id":25989036245091,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/496715b5d3e949daf3c0bb57a7b8ea6de5e14eb2.webp?v=1756873570"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675791130723,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416761274467,"product_id":7876193189987,"position":2,"created_at":"2025-09-03T12:26:07+08:00","updated_at":"2025-09-03T12:26:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2d53dc4328589bbd659bc6aaf8ab05891c7c7ad.webp?v=1756873569","variant_ids":[43675791130723]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-EA110","featured_media":{"alt":null,"id":25989036048483,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2d53dc4328589bbd659bc6aaf8ab05891c7c7ad.webp?v=1756873569"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675791196259,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416762585187,"product_id":7876193189987,"position":8,"created_at":"2025-09-03T12:26:11+08:00","updated_at":"2025-09-03T12:26:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ee78c9d8216d5a3ba31a60a1b382a103b2acc0f.webp?v=1756873574","variant_ids":[43675791196259]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524H-EA110","featured_media":{"alt":null,"id":25989037326435,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ee78c9d8216d5a3ba31a60a1b382a103b2acc0f.webp?v=1756873574"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675791261795,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416761929827,"product_id":7876193189987,"position":5,"created_at":"2025-09-03T12:26:09+08:00","updated_at":"2025-09-03T12:26:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dd69651928afb5ba31d1f2ac8bf51f3a178b89d.webp?v=1756873571","variant_ids":[43675791261795]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01352O8-EA110","featured_media":{"alt":null,"id":25989036703843,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4dd69651928afb5ba31d1f2ac8bf51f3a178b89d.webp?v=1756873571"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43675791327331,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416762224739,"product_id":7876193189987,"position":6,"created_at":"2025-09-03T12:26:10+08:00","updated_at":"2025-09-03T12:26:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572","variant_ids":[43675791327331,43798274736227,43798274768995,44201330933859,44201331556451,44201332113507,44201332834403,44264124121187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-EA110","featured_media":{"alt":null,"id":25989036998755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798274736227,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416762224739,"product_id":7876193189987,"position":6,"created_at":"2025-09-03T12:26:10+08:00","updated_at":"2025-09-03T12:26:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572","variant_ids":[43675791327331,43798274736227,43798274768995,44201330933859,44201331556451,44201332113507,44201332834403,44264124121187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013523O-EA110","featured_media":{"alt":null,"id":25989036998755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798274768995,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416762224739,"product_id":7876193189987,"position":6,"created_at":"2025-09-03T12:26:10+08:00","updated_at":"2025-09-03T12:26:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572","variant_ids":[43675791327331,43798274736227,43798274768995,44201330933859,44201331556451,44201332113507,44201332834403,44264124121187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520F-EA110","featured_media":{"alt":null,"id":25989036998755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201330933859,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416762224739,"product_id":7876193189987,"position":6,"created_at":"2025-09-03T12:26:10+08:00","updated_at":"2025-09-03T12:26:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572","variant_ids":[43675791327331,43798274736227,43798274768995,44201330933859,44201331556451,44201332113507,44201332834403,44264124121187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013526A-EA110","featured_media":{"alt":null,"id":25989036998755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201331556451,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416762224739,"product_id":7876193189987,"position":6,"created_at":"2025-09-03T12:26:10+08:00","updated_at":"2025-09-03T12:26:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572","variant_ids":[43675791327331,43798274736227,43798274768995,44201330933859,44201331556451,44201332113507,44201332834403,44264124121187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525X-EA110","featured_media":{"alt":null,"id":25989036998755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201332113507,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416762224739,"product_id":7876193189987,"position":6,"created_at":"2025-09-03T12:26:10+08:00","updated_at":"2025-09-03T12:26:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572","variant_ids":[43675791327331,43798274736227,43798274768995,44201330933859,44201331556451,44201332113507,44201332834403,44264124121187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Y-EA110","featured_media":{"alt":null,"id":25989036998755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44201332834403,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416762224739,"product_id":7876193189987,"position":6,"created_at":"2025-09-03T12:26:10+08:00","updated_at":"2025-09-03T12:26:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572","variant_ids":[43675791327331,43798274736227,43798274768995,44201330933859,44201331556451,44201332113507,44201332834403,44264124121187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Z-EA110","featured_media":{"alt":null,"id":25989036998755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264124121187,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416762224739,"product_id":7876193189987,"position":6,"created_at":"2025-09-03T12:26:10+08:00","updated_at":"2025-09-03T12:26:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572","variant_ids":[43675791327331,43798274736227,43798274768995,44201330933859,44201331556451,44201332113507,44201332834403,44264124121187]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525H-EA110","featured_media":{"alt":null,"id":25989036998755,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9ceb02ddd866bb63022c139a00c7cbbb0015448.webp?v=1756873572"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43675787952227,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-EA110","requires_shipping":true,"taxable":true,"featured_image":{"id":34416760946787,"product_id":7876193189987,"position":1,"created_at":"2025-09-03T12:26:06+08:00","updated_at":"2025-09-03T12:26:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c03463d65f44b4cbf982f9d7eb983a12f35d8d90.webp?v=1756873568","variant_ids":[43675787952227]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 爽爽貓 by SECOND 好運集合 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524I-EA110","featured_media":{"alt":null,"id":25989035720803,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c03463d65f44b4cbf982f9d7eb983a12f35d8d90.webp?v=1756873568"}},"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: "停產" }