$product = {"id":7868371894371,"title":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day","handle":"iphone-17-pro-solidx-ea06","description":null,"published_at":"2025-09-10T01:35:20+08:00","created_at":"2025-08-26T16:21:50+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":43634678104163,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213154742371,"product_id":7868371894371,"position":6,"created_at":"2026-07-08T18:01:38+08:00","updated_at":"2026-07-08T18:01:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/181010686bbbaeb81e4299575d0bdcaae4ad01c3.webp?v=1783504900","variant_ids":[43634678104163]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717948211299,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/181010686bbbaeb81e4299575d0bdcaae4ad01c3.webp?v=1783504900"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634680234083,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213153857635,"product_id":7868371894371,"position":3,"created_at":"2026-07-08T18:01:37+08:00","updated_at":"2026-07-08T18:01:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57ca305549ecafde3f227a45480d04f4bf8d949.webp?v=1783504899","variant_ids":[43634680234083]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717947326563,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57ca305549ecafde3f227a45480d04f4bf8d949.webp?v=1783504899"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634680266851,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213158543459,"product_id":7868371894371,"position":14,"created_at":"2026-07-08T18:01:43+08:00","updated_at":"2026-07-08T18:01:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b3d4086257362a79951322b8b984a2fbd7fdccb.webp?v=1783504905","variant_ids":[43634680266851]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717951946851,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b3d4086257362a79951322b8b984a2fbd7fdccb.webp?v=1783504905"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634680299619,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213153628259,"product_id":7868371894371,"position":2,"created_at":"2026-07-08T18:01:36+08:00","updated_at":"2026-07-08T18:01:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41f798cd6e5a0262d522d63bb4902c99eaa3180b.webp?v=1783504898","variant_ids":[43634680299619]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717947097187,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41f798cd6e5a0262d522d63bb4902c99eaa3180b.webp?v=1783504898"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634680332387,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213154349155,"product_id":7868371894371,"position":5,"created_at":"2026-07-08T18:01:38+08:00","updated_at":"2026-07-08T18:01:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c34e38ad6950b78ea8f84bdb4aa23243bff07b14.webp?v=1783504900","variant_ids":[43634680332387]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717947818083,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c34e38ad6950b78ea8f84bdb4aa23243bff07b14.webp?v=1783504900"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634680365155,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213155168355,"product_id":7868371894371,"position":7,"created_at":"2026-07-08T18:01:39+08:00","updated_at":"2026-07-08T18:01:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da7750991dd51f374982ad164bbc0181012b666b.webp?v=1783504901","variant_ids":[43634680365155]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717948637283,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da7750991dd51f374982ad164bbc0181012b666b.webp?v=1783504901"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798357442659,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213156282467,"product_id":7868371894371,"position":9,"created_at":"2026-07-08T18:01:40+08:00","updated_at":"2026-07-08T18:01:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfd060b9eefd101d5ace09c03c097405a4cd454b.webp?v=1783504902","variant_ids":[43798357442659]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717949751395,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfd060b9eefd101d5ace09c03c097405a4cd454b.webp?v=1783504902"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798357475427,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213156708451,"product_id":7868371894371,"position":10,"created_at":"2026-07-08T18:01:41+08:00","updated_at":"2026-07-08T18:01:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c1c0d28d19c1e50693f7027aefe5389846027c0.webp?v=1783504903","variant_ids":[43798357475427]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717950144611,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c1c0d28d19c1e50693f7027aefe5389846027c0.webp?v=1783504903"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199938064483,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213154119779,"product_id":7868371894371,"position":4,"created_at":"2026-07-08T18:01:37+08:00","updated_at":"2026-07-08T18:01:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ca99c6f1b216600db3fb4018c5aeb4a801debe3.webp?v=1783504899","variant_ids":[44199938064483]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717947588707,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ca99c6f1b216600db3fb4018c5aeb4a801debe3.webp?v=1783504899"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199939276899,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213155790947,"product_id":7868371894371,"position":8,"created_at":"2026-07-08T18:01:39+08:00","updated_at":"2026-07-08T18:01:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a75fcebdb37df827e4123d25a3b4811d05e676aa.webp?v=1783504901","variant_ids":[44199939276899]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717949227107,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a75fcebdb37df827e4123d25a3b4811d05e676aa.webp?v=1783504901"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199940161635,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213157789795,"product_id":7868371894371,"position":12,"created_at":"2026-07-08T18:01:42+08:00","updated_at":"2026-07-08T18:01:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb91d28b7b7da65cc6078a82b0a7189ba0fd6f7d.webp?v=1783504904","variant_ids":[44199940161635]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717951225955,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb91d28b7b7da65cc6078a82b0a7189ba0fd6f7d.webp?v=1783504904"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199940948067,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213158346851,"product_id":7868371894371,"position":13,"created_at":"2026-07-08T18:01:42+08:00","updated_at":"2026-07-08T18:01:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9d6c8b6d83772d17468bc1e1b060bc63d4981c2.webp?v=1783504904","variant_ids":[44199940948067]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717951783011,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9d6c8b6d83772d17468bc1e1b060bc63d4981c2.webp?v=1783504904"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264057012323,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213157396579,"product_id":7868371894371,"position":11,"created_at":"2026-07-08T18:01:41+08:00","updated_at":"2026-07-08T18:01:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1b13c603af38066c42ebbbedc75e52a938112a7.webp?v=1783504903","variant_ids":[44264057012323]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717950799971,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1b13c603af38066c42ebbbedc75e52a938112a7.webp?v=1783504903"}},"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-EA06.png?v=1756196513","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41f798cd6e5a0262d522d63bb4902c99eaa3180b.webp?v=1783504898","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57ca305549ecafde3f227a45480d04f4bf8d949.webp?v=1783504899","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ca99c6f1b216600db3fb4018c5aeb4a801debe3.webp?v=1783504899","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c34e38ad6950b78ea8f84bdb4aa23243bff07b14.webp?v=1783504900","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/181010686bbbaeb81e4299575d0bdcaae4ad01c3.webp?v=1783504900","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da7750991dd51f374982ad164bbc0181012b666b.webp?v=1783504901","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a75fcebdb37df827e4123d25a3b4811d05e676aa.webp?v=1783504901","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfd060b9eefd101d5ace09c03c097405a4cd454b.webp?v=1783504902","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c1c0d28d19c1e50693f7027aefe5389846027c0.webp?v=1783504903","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1b13c603af38066c42ebbbedc75e52a938112a7.webp?v=1783504903","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb91d28b7b7da65cc6078a82b0a7189ba0fd6f7d.webp?v=1783504904","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9d6c8b6d83772d17468bc1e1b060bc63d4981c2.webp?v=1783504904","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b3d4086257362a79951322b8b984a2fbd7fdccb.webp?v=1783504905"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-EA06.png?v=1756196513","options":["color"],"media":[{"alt":null,"id":25961175253091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-EA06.png?v=1756196513"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-352-EA06.png?v=1756196513","width":2000},{"alt":null,"id":27717947097187,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41f798cd6e5a0262d522d63bb4902c99eaa3180b.webp?v=1783504898"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41f798cd6e5a0262d522d63bb4902c99eaa3180b.webp?v=1783504898","width":2000},{"alt":null,"id":27717947326563,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57ca305549ecafde3f227a45480d04f4bf8d949.webp?v=1783504899"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57ca305549ecafde3f227a45480d04f4bf8d949.webp?v=1783504899","width":2000},{"alt":null,"id":27717947588707,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ca99c6f1b216600db3fb4018c5aeb4a801debe3.webp?v=1783504899"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ca99c6f1b216600db3fb4018c5aeb4a801debe3.webp?v=1783504899","width":2000},{"alt":null,"id":27717947818083,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c34e38ad6950b78ea8f84bdb4aa23243bff07b14.webp?v=1783504900"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c34e38ad6950b78ea8f84bdb4aa23243bff07b14.webp?v=1783504900","width":2000},{"alt":null,"id":27717948211299,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/181010686bbbaeb81e4299575d0bdcaae4ad01c3.webp?v=1783504900"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/181010686bbbaeb81e4299575d0bdcaae4ad01c3.webp?v=1783504900","width":2000},{"alt":null,"id":27717948637283,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da7750991dd51f374982ad164bbc0181012b666b.webp?v=1783504901"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da7750991dd51f374982ad164bbc0181012b666b.webp?v=1783504901","width":2000},{"alt":null,"id":27717949227107,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a75fcebdb37df827e4123d25a3b4811d05e676aa.webp?v=1783504901"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a75fcebdb37df827e4123d25a3b4811d05e676aa.webp?v=1783504901","width":2000},{"alt":null,"id":27717949751395,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfd060b9eefd101d5ace09c03c097405a4cd454b.webp?v=1783504902"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfd060b9eefd101d5ace09c03c097405a4cd454b.webp?v=1783504902","width":2000},{"alt":null,"id":27717950144611,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c1c0d28d19c1e50693f7027aefe5389846027c0.webp?v=1783504903"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c1c0d28d19c1e50693f7027aefe5389846027c0.webp?v=1783504903","width":2000},{"alt":null,"id":27717950799971,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1b13c603af38066c42ebbbedc75e52a938112a7.webp?v=1783504903"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1b13c603af38066c42ebbbedc75e52a938112a7.webp?v=1783504903","width":2000},{"alt":null,"id":27717951225955,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb91d28b7b7da65cc6078a82b0a7189ba0fd6f7d.webp?v=1783504904"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb91d28b7b7da65cc6078a82b0a7189ba0fd6f7d.webp?v=1783504904","width":2000},{"alt":null,"id":27717951783011,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9d6c8b6d83772d17468bc1e1b060bc63d4981c2.webp?v=1783504904"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9d6c8b6d83772d17468bc1e1b060bc63d4981c2.webp?v=1783504904","width":2000},{"alt":null,"id":27717951946851,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b3d4086257362a79951322b8b984a2fbd7fdccb.webp?v=1783504905"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b3d4086257362a79951322b8b984a2fbd7fdccb.webp?v=1783504905","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43634678104163,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213154742371,"product_id":7868371894371,"position":6,"created_at":"2026-07-08T18:01:38+08:00","updated_at":"2026-07-08T18:01:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/181010686bbbaeb81e4299575d0bdcaae4ad01c3.webp?v=1783504900","variant_ids":[43634678104163]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717948211299,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/181010686bbbaeb81e4299575d0bdcaae4ad01c3.webp?v=1783504900"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634680234083,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01352O8-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213153857635,"product_id":7868371894371,"position":3,"created_at":"2026-07-08T18:01:37+08:00","updated_at":"2026-07-08T18:01:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57ca305549ecafde3f227a45480d04f4bf8d949.webp?v=1783504899","variant_ids":[43634680234083]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717947326563,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e57ca305549ecafde3f227a45480d04f4bf8d949.webp?v=1783504899"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634680266851,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013520B-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213158543459,"product_id":7868371894371,"position":14,"created_at":"2026-07-08T18:01:43+08:00","updated_at":"2026-07-08T18:01:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b3d4086257362a79951322b8b984a2fbd7fdccb.webp?v=1783504905","variant_ids":[43634680266851]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717951946851,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5b3d4086257362a79951322b8b984a2fbd7fdccb.webp?v=1783504905"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634680299619,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013524I-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213153628259,"product_id":7868371894371,"position":2,"created_at":"2026-07-08T18:01:36+08:00","updated_at":"2026-07-08T18:01:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41f798cd6e5a0262d522d63bb4902c99eaa3180b.webp?v=1783504898","variant_ids":[43634680299619]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717947097187,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41f798cd6e5a0262d522d63bb4902c99eaa3180b.webp?v=1783504898"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634680332387,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013524H-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213154349155,"product_id":7868371894371,"position":5,"created_at":"2026-07-08T18:01:38+08:00","updated_at":"2026-07-08T18:01:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c34e38ad6950b78ea8f84bdb4aa23243bff07b14.webp?v=1783504900","variant_ids":[43634680332387]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717947818083,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c34e38ad6950b78ea8f84bdb4aa23243bff07b14.webp?v=1783504900"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634680365155,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135253-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213155168355,"product_id":7868371894371,"position":7,"created_at":"2026-07-08T18:01:39+08:00","updated_at":"2026-07-08T18:01:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da7750991dd51f374982ad164bbc0181012b666b.webp?v=1783504901","variant_ids":[43634680365155]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717948637283,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/da7750991dd51f374982ad164bbc0181012b666b.webp?v=1783504901"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798357442659,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013523O-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213156282467,"product_id":7868371894371,"position":9,"created_at":"2026-07-08T18:01:40+08:00","updated_at":"2026-07-08T18:01:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfd060b9eefd101d5ace09c03c097405a4cd454b.webp?v=1783504902","variant_ids":[43798357442659]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717949751395,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dfd060b9eefd101d5ace09c03c097405a4cd454b.webp?v=1783504902"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43798357475427,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013520F-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213156708451,"product_id":7868371894371,"position":10,"created_at":"2026-07-08T18:01:41+08:00","updated_at":"2026-07-08T18:01:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c1c0d28d19c1e50693f7027aefe5389846027c0.webp?v=1783504903","variant_ids":[43798357475427]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717950144611,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c1c0d28d19c1e50693f7027aefe5389846027c0.webp?v=1783504903"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199938064483,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013526A-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213154119779,"product_id":7868371894371,"position":4,"created_at":"2026-07-08T18:01:37+08:00","updated_at":"2026-07-08T18:01:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ca99c6f1b216600db3fb4018c5aeb4a801debe3.webp?v=1783504899","variant_ids":[44199938064483]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717947588707,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ca99c6f1b216600db3fb4018c5aeb4a801debe3.webp?v=1783504899"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199939276899,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013525X-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213155790947,"product_id":7868371894371,"position":8,"created_at":"2026-07-08T18:01:39+08:00","updated_at":"2026-07-08T18:01:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a75fcebdb37df827e4123d25a3b4811d05e676aa.webp?v=1783504901","variant_ids":[44199939276899]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717949227107,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a75fcebdb37df827e4123d25a3b4811d05e676aa.webp?v=1783504901"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199940161635,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013525Y-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213157789795,"product_id":7868371894371,"position":12,"created_at":"2026-07-08T18:01:42+08:00","updated_at":"2026-07-08T18:01:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb91d28b7b7da65cc6078a82b0a7189ba0fd6f7d.webp?v=1783504904","variant_ids":[44199940161635]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717951225955,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb91d28b7b7da65cc6078a82b0a7189ba0fd6f7d.webp?v=1783504904"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199940948067,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013525Z-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213158346851,"product_id":7868371894371,"position":13,"created_at":"2026-07-08T18:01:42+08:00","updated_at":"2026-07-08T18:01:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9d6c8b6d83772d17468bc1e1b060bc63d4981c2.webp?v=1783504904","variant_ids":[44199940948067]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717951783011,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b9d6c8b6d83772d17468bc1e1b060bc63d4981c2.webp?v=1783504904"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264057012323,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013525H-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213157396579,"product_id":7868371894371,"position":11,"created_at":"2026-07-08T18:01:41+08:00","updated_at":"2026-07-08T18:01:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1b13c603af38066c42ebbbedc75e52a938112a7.webp?v=1783504903","variant_ids":[44264057012323]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717950799971,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1b13c603af38066c42ebbbedc75e52a938112a7.webp?v=1783504903"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43634678104163,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135252-EA06","requires_shipping":true,"taxable":true,"featured_image":{"id":36213154742371,"product_id":7868371894371,"position":6,"created_at":"2026-07-08T18:01:38+08:00","updated_at":"2026-07-08T18:01:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/181010686bbbaeb81e4299575d0bdcaae4ad01c3.webp?v=1783504900","variant_ids":[43634678104163]},"available":true,"name":"iPhone 17 Pro SolidX 爽爽貓 by SECOND Make it a great day - 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-EA06","featured_media":{"alt":null,"id":27717948211299,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/181010686bbbaeb81e4299575d0bdcaae4ad01c3.webp?v=1783504900"}},"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: "停產" }