Steps:
From your Shopify admin, go to Online Store -> Themes.
Find the theme that you want to edit, and then click Customize.
Click Theme settings -> GDPR Popup.
Show GDPR Cookie Consent
Toggle the feature to show the Cookie Consent popup.
Position
Select the position of the Cookie Consent popup on the viewport.
Content
Enter the text for the popup content.
Privacy Policy Button: Text
Enter the text for the button that redirects to the policy page.
Privacy Policy Button: Link
Specify the link for the button to redirect to.
Accept Cookies Button: Text
Enter the text for the button that acknowledges that a user has accepted to use cookie and closes the popup for 24 hours.
Color / Color Privacy Policy Button / Background Color
Apply the color for the text, background and buttons of the Cookie Consent popup.