To show the cookie bar on your store, you must activate the customer privacy setting from your Shopify admin.
This guide let you know how to do it shortly!

From Shopify admin > select Preferences > Click Active at Customer privacy section > Click Save to save the setting.

This is a required step to make the cookie bar shown in your store.
Learn the detailed instructions on how to design, configure the Cookie bar here