How to add GDPR support on your custom WooCommerce plugin

You need to add GDPR support on your custom WooCommerce plugin and you don’t know how to do it. This is my experience with code and few hints :-)