How to add a slash through sold out sizes on Motion theme?

Does anyone know how I can add a slash/cross through sold out sizes on motion theme? I believe I will need to do a custom code.