$product = {"id":6986682466403,"title":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了","handle":"iphone-14-pro-solidsuit-classic-magsafe-ea64","description":null,"published_at":"2024-08-22T09:39:50+08:00","created_at":"2023-07-29T20:08:52+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-爽爽貓 Song Song Meow By SECOND","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-songsongmeow","device-iPhone 14 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":40612457545827,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126252-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211609010275,"product_id":6986682466403,"position":9,"created_at":"2026-07-08T16:51:41+08:00","updated_at":"2026-07-08T16:51:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6879505521653828e508d14f64619487f8cee27d.webp?v=1783500703","variant_ids":[40612457545827]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126252-EA64","featured_media":{"alt":null,"id":27716403363939,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6879505521653828e508d14f64619487f8cee27d.webp?v=1783500703"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612457578595,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MST0126253-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211609174115,"product_id":6986682466403,"position":10,"created_at":"2026-07-08T16:51:42+08:00","updated_at":"2026-07-08T16:51:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/019029697579b6762f2ef15ee6d1823f43c630e6.webp?v=1783500704","variant_ids":[40612457578595]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - White","public_title":"White","options":["White"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126253-EA64","featured_media":{"alt":null,"id":27716403855459,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/019029697579b6762f2ef15ee6d1823f43c630e6.webp?v=1783500704"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612457644131,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MST01262O8-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211605569635,"product_id":6986682466403,"position":3,"created_at":"2026-07-08T16:51:38+08:00","updated_at":"2026-07-08T16:51:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60ab893131a9a41f57ae47c6dec0757027a12cad.webp?v=1783500699","variant_ids":[40612457644131]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262O8-EA64","featured_media":{"alt":null,"id":27716399661155,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60ab893131a9a41f57ae47c6dec0757027a12cad.webp?v=1783500699"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42678833872995,"title":"Antique Bronze","option1":"Antique Bronze","option2":null,"option3":null,"sku":"MST01262P0-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":32254537171043,"product_id":6986682466403,"position":1,"created_at":"2024-08-20T14:41:00+08:00","updated_at":"2024-08-20T14:41:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd302d1c76a2761b897ae5935224fe454704ffcd.webp?v=1724136060","variant_ids":[40612458102883,42678833872995]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Antique Bronze","public_title":"Antique Bronze","options":["Antique Bronze"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262P0-EA64","featured_media":{"alt":null,"id":24554503864419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd302d1c76a2761b897ae5935224fe454704ffcd.webp?v=1724136060"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612457742435,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"MST01262P1-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211613237347,"product_id":6986682466403,"position":12,"created_at":"2026-07-08T16:51:48+08:00","updated_at":"2026-07-08T16:51:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/065ba74327a216525f7c43cfc5f6f830f4d8778b.webp?v=1783500710","variant_ids":[40612457742435]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Violet","public_title":"Violet","options":["Violet"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262P1-EA64","featured_media":{"alt":null,"id":27716407885923,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/065ba74327a216525f7c43cfc5f6f830f4d8778b.webp?v=1783500710"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612457775203,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"MST01262P2-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211608322147,"product_id":6986682466403,"position":8,"created_at":"2026-07-08T16:51:41+08:00","updated_at":"2026-07-08T16:51:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d03d0d18f56d5905a294ecd1083690ffb5fb74f.webp?v=1783500703","variant_ids":[40612457775203]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262P2-EA64","featured_media":{"alt":null,"id":27716402675811,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d03d0d18f56d5905a294ecd1083690ffb5fb74f.webp?v=1783500703"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612457840739,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST01262Z7-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211607830627,"product_id":6986682466403,"position":7,"created_at":"2026-07-08T16:51:40+08:00","updated_at":"2026-07-08T16:51:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8706f34ff608fe8e7e067969a3cf3f861aeeded5.webp?v=1783500702","variant_ids":[40612457840739]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262Z7-EA64","featured_media":{"alt":null,"id":27716401922147,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8706f34ff608fe8e7e067969a3cf3f861aeeded5.webp?v=1783500702"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612457873507,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01262Z8-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211606093923,"product_id":6986682466403,"position":4,"created_at":"2026-07-08T16:51:38+08:00","updated_at":"2026-07-08T16:51:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989e8d1cb937aac805ef764ce5f6f3573991ead4.webp?v=1783500701","variant_ids":[40612457873507]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262Z8-EA64","featured_media":{"alt":null,"id":27716400644195,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989e8d1cb937aac805ef764ce5f6f3573991ead4.webp?v=1783500701"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612457939043,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01262Z9-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211612549219,"product_id":6986682466403,"position":11,"created_at":"2026-07-08T16:51:48+08:00","updated_at":"2026-07-08T16:51:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2014f54a74e15c135acf64601b455fb525d329c.webp?v=1783500710","variant_ids":[40612457939043]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262Z9-EA64","featured_media":{"alt":null,"id":27716407230563,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2014f54a74e15c135acf64601b455fb525d329c.webp?v=1783500710"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612457971811,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST012620A-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211606650979,"product_id":6986682466403,"position":5,"created_at":"2026-07-08T16:51:39+08:00","updated_at":"2026-07-08T16:51:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d443d59a1f1ef3e949f48b75e3e56d3692cc004.webp?v=1783500701","variant_ids":[40612457971811]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620A-EA64","featured_media":{"alt":null,"id":27716401332323,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d443d59a1f1ef3e949f48b75e3e56d3692cc004.webp?v=1783500701"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612458004579,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012620B-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211606978659,"product_id":6986682466403,"position":6,"created_at":"2026-07-08T16:51:39+08:00","updated_at":"2026-07-08T16:51:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8be822c14f1b08f4b7ad286772ef84157637d9ee.webp?v=1783500701","variant_ids":[40612458004579]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620B-EA64","featured_media":{"alt":null,"id":27716401660003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8be822c14f1b08f4b7ad286772ef84157637d9ee.webp?v=1783500701"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612458102883,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012620C-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":32254537171043,"product_id":6986682466403,"position":1,"created_at":"2024-08-20T14:41:00+08:00","updated_at":"2024-08-20T14:41:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd302d1c76a2761b897ae5935224fe454704ffcd.webp?v=1724136060","variant_ids":[40612458102883,42678833872995]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620C-EA64","featured_media":{"alt":null,"id":24554503864419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd302d1c76a2761b897ae5935224fe454704ffcd.webp?v=1724136060"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612458135651,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012620E-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211604619363,"product_id":6986682466403,"position":2,"created_at":"2026-07-08T16:51:37+08:00","updated_at":"2026-07-08T16:51:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12a3b75897bdcaff05e7ea9b8f9774f224baecea.webp?v=1783500699","variant_ids":[40612458135651]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620E-EA64","featured_media":{"alt":null,"id":27716398841955,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12a3b75897bdcaff05e7ea9b8f9774f224baecea.webp?v=1783500699"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd302d1c76a2761b897ae5935224fe454704ffcd.webp?v=1724136060","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12a3b75897bdcaff05e7ea9b8f9774f224baecea.webp?v=1783500699","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60ab893131a9a41f57ae47c6dec0757027a12cad.webp?v=1783500699","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989e8d1cb937aac805ef764ce5f6f3573991ead4.webp?v=1783500701","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d443d59a1f1ef3e949f48b75e3e56d3692cc004.webp?v=1783500701","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8be822c14f1b08f4b7ad286772ef84157637d9ee.webp?v=1783500701","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8706f34ff608fe8e7e067969a3cf3f861aeeded5.webp?v=1783500702","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d03d0d18f56d5905a294ecd1083690ffb5fb74f.webp?v=1783500703","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6879505521653828e508d14f64619487f8cee27d.webp?v=1783500703","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/019029697579b6762f2ef15ee6d1823f43c630e6.webp?v=1783500704","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2014f54a74e15c135acf64601b455fb525d329c.webp?v=1783500710","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/065ba74327a216525f7c43cfc5f6f830f4d8778b.webp?v=1783500710"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd302d1c76a2761b897ae5935224fe454704ffcd.webp?v=1724136060","options":["color"],"media":[{"alt":null,"id":24554503864419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd302d1c76a2761b897ae5935224fe454704ffcd.webp?v=1724136060"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd302d1c76a2761b897ae5935224fe454704ffcd.webp?v=1724136060","width":2000},{"alt":null,"id":27716398841955,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12a3b75897bdcaff05e7ea9b8f9774f224baecea.webp?v=1783500699"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12a3b75897bdcaff05e7ea9b8f9774f224baecea.webp?v=1783500699","width":2000},{"alt":null,"id":27716399661155,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60ab893131a9a41f57ae47c6dec0757027a12cad.webp?v=1783500699"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60ab893131a9a41f57ae47c6dec0757027a12cad.webp?v=1783500699","width":2000},{"alt":null,"id":27716400644195,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989e8d1cb937aac805ef764ce5f6f3573991ead4.webp?v=1783500701"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989e8d1cb937aac805ef764ce5f6f3573991ead4.webp?v=1783500701","width":2000},{"alt":null,"id":27716401332323,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d443d59a1f1ef3e949f48b75e3e56d3692cc004.webp?v=1783500701"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d443d59a1f1ef3e949f48b75e3e56d3692cc004.webp?v=1783500701","width":2000},{"alt":null,"id":27716401660003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8be822c14f1b08f4b7ad286772ef84157637d9ee.webp?v=1783500701"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8be822c14f1b08f4b7ad286772ef84157637d9ee.webp?v=1783500701","width":2000},{"alt":null,"id":27716401922147,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8706f34ff608fe8e7e067969a3cf3f861aeeded5.webp?v=1783500702"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8706f34ff608fe8e7e067969a3cf3f861aeeded5.webp?v=1783500702","width":2000},{"alt":null,"id":27716402675811,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d03d0d18f56d5905a294ecd1083690ffb5fb74f.webp?v=1783500703"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d03d0d18f56d5905a294ecd1083690ffb5fb74f.webp?v=1783500703","width":2000},{"alt":null,"id":27716403363939,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6879505521653828e508d14f64619487f8cee27d.webp?v=1783500703"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6879505521653828e508d14f64619487f8cee27d.webp?v=1783500703","width":2000},{"alt":null,"id":27716403855459,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/019029697579b6762f2ef15ee6d1823f43c630e6.webp?v=1783500704"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/019029697579b6762f2ef15ee6d1823f43c630e6.webp?v=1783500704","width":2000},{"alt":null,"id":27716407230563,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2014f54a74e15c135acf64601b455fb525d329c.webp?v=1783500710"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2014f54a74e15c135acf64601b455fb525d329c.webp?v=1783500710","width":2000},{"alt":null,"id":27716407885923,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/065ba74327a216525f7c43cfc5f6f830f4d8778b.webp?v=1783500710"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/065ba74327a216525f7c43cfc5f6f830f4d8778b.webp?v=1783500710","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":40612457545827,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126252-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211609010275,"product_id":6986682466403,"position":9,"created_at":"2026-07-08T16:51:41+08:00","updated_at":"2026-07-08T16:51:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6879505521653828e508d14f64619487f8cee27d.webp?v=1783500703","variant_ids":[40612457545827]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126252-EA64","featured_media":{"alt":null,"id":27716403363939,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6879505521653828e508d14f64619487f8cee27d.webp?v=1783500703"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612457578595,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MST0126253-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211609174115,"product_id":6986682466403,"position":10,"created_at":"2026-07-08T16:51:42+08:00","updated_at":"2026-07-08T16:51:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/019029697579b6762f2ef15ee6d1823f43c630e6.webp?v=1783500704","variant_ids":[40612457578595]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - White","public_title":"White","options":["White"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126253-EA64","featured_media":{"alt":null,"id":27716403855459,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/019029697579b6762f2ef15ee6d1823f43c630e6.webp?v=1783500704"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612457644131,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MST01262O8-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211605569635,"product_id":6986682466403,"position":3,"created_at":"2026-07-08T16:51:38+08:00","updated_at":"2026-07-08T16:51:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60ab893131a9a41f57ae47c6dec0757027a12cad.webp?v=1783500699","variant_ids":[40612457644131]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262O8-EA64","featured_media":{"alt":null,"id":27716399661155,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60ab893131a9a41f57ae47c6dec0757027a12cad.webp?v=1783500699"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42678833872995,"title":"Antique Bronze","option1":"Antique Bronze","option2":null,"option3":null,"sku":"MST01262P0-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":32254537171043,"product_id":6986682466403,"position":1,"created_at":"2024-08-20T14:41:00+08:00","updated_at":"2024-08-20T14:41:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd302d1c76a2761b897ae5935224fe454704ffcd.webp?v=1724136060","variant_ids":[40612458102883,42678833872995]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Antique Bronze","public_title":"Antique Bronze","options":["Antique Bronze"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262P0-EA64","featured_media":{"alt":null,"id":24554503864419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd302d1c76a2761b897ae5935224fe454704ffcd.webp?v=1724136060"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612457742435,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"MST01262P1-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211613237347,"product_id":6986682466403,"position":12,"created_at":"2026-07-08T16:51:48+08:00","updated_at":"2026-07-08T16:51:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/065ba74327a216525f7c43cfc5f6f830f4d8778b.webp?v=1783500710","variant_ids":[40612457742435]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Violet","public_title":"Violet","options":["Violet"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262P1-EA64","featured_media":{"alt":null,"id":27716407885923,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/065ba74327a216525f7c43cfc5f6f830f4d8778b.webp?v=1783500710"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612457775203,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"MST01262P2-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211608322147,"product_id":6986682466403,"position":8,"created_at":"2026-07-08T16:51:41+08:00","updated_at":"2026-07-08T16:51:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d03d0d18f56d5905a294ecd1083690ffb5fb74f.webp?v=1783500703","variant_ids":[40612457775203]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262P2-EA64","featured_media":{"alt":null,"id":27716402675811,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d03d0d18f56d5905a294ecd1083690ffb5fb74f.webp?v=1783500703"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612457840739,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST01262Z7-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211607830627,"product_id":6986682466403,"position":7,"created_at":"2026-07-08T16:51:40+08:00","updated_at":"2026-07-08T16:51:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8706f34ff608fe8e7e067969a3cf3f861aeeded5.webp?v=1783500702","variant_ids":[40612457840739]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262Z7-EA64","featured_media":{"alt":null,"id":27716401922147,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8706f34ff608fe8e7e067969a3cf3f861aeeded5.webp?v=1783500702"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612457873507,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01262Z8-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211606093923,"product_id":6986682466403,"position":4,"created_at":"2026-07-08T16:51:38+08:00","updated_at":"2026-07-08T16:51:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989e8d1cb937aac805ef764ce5f6f3573991ead4.webp?v=1783500701","variant_ids":[40612457873507]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262Z8-EA64","featured_media":{"alt":null,"id":27716400644195,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989e8d1cb937aac805ef764ce5f6f3573991ead4.webp?v=1783500701"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612457939043,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01262Z9-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211612549219,"product_id":6986682466403,"position":11,"created_at":"2026-07-08T16:51:48+08:00","updated_at":"2026-07-08T16:51:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2014f54a74e15c135acf64601b455fb525d329c.webp?v=1783500710","variant_ids":[40612457939043]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262Z9-EA64","featured_media":{"alt":null,"id":27716407230563,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2014f54a74e15c135acf64601b455fb525d329c.webp?v=1783500710"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612457971811,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST012620A-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211606650979,"product_id":6986682466403,"position":5,"created_at":"2026-07-08T16:51:39+08:00","updated_at":"2026-07-08T16:51:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d443d59a1f1ef3e949f48b75e3e56d3692cc004.webp?v=1783500701","variant_ids":[40612457971811]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620A-EA64","featured_media":{"alt":null,"id":27716401332323,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d443d59a1f1ef3e949f48b75e3e56d3692cc004.webp?v=1783500701"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612458004579,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012620B-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211606978659,"product_id":6986682466403,"position":6,"created_at":"2026-07-08T16:51:39+08:00","updated_at":"2026-07-08T16:51:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8be822c14f1b08f4b7ad286772ef84157637d9ee.webp?v=1783500701","variant_ids":[40612458004579]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620B-EA64","featured_media":{"alt":null,"id":27716401660003,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8be822c14f1b08f4b7ad286772ef84157637d9ee.webp?v=1783500701"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612458102883,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012620C-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":32254537171043,"product_id":6986682466403,"position":1,"created_at":"2024-08-20T14:41:00+08:00","updated_at":"2024-08-20T14:41:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd302d1c76a2761b897ae5935224fe454704ffcd.webp?v=1724136060","variant_ids":[40612458102883,42678833872995]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620C-EA64","featured_media":{"alt":null,"id":24554503864419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd302d1c76a2761b897ae5935224fe454704ffcd.webp?v=1724136060"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40612458135651,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012620E-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211604619363,"product_id":6986682466403,"position":2,"created_at":"2026-07-08T16:51:37+08:00","updated_at":"2026-07-08T16:51:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12a3b75897bdcaff05e7ea9b8f9774f224baecea.webp?v=1783500699","variant_ids":[40612458135651]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620E-EA64","featured_media":{"alt":null,"id":27716398841955,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/12a3b75897bdcaff05e7ea9b8f9774f224baecea.webp?v=1783500699"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":40612457545827,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126252-EA64","requires_shipping":true,"taxable":true,"featured_image":{"id":36211609010275,"product_id":6986682466403,"position":9,"created_at":"2026-07-08T16:51:41+08:00","updated_at":"2026-07-08T16:51:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6879505521653828e508d14f64619487f8cee27d.webp?v=1783500703","variant_ids":[40612457545827]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 爽爽貓 by SECOND 爽爽貓十歲了 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126252-EA64","featured_media":{"alt":null,"id":27716403363939,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6879505521653828e508d14f64619487f8cee27d.webp?v=1783500703"}},"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: "停產"
}