How to hide Shopify's buyer consent modal text under the Buy Button?
When you click on the quick view button, you might observe a specific message displayed under the buy button:
This item is a recurring or deferred purchase. By proceeding, I acknowledge and agree to the cancellation policy, and I authorize you to charge my payment method according to the prices, frequency, and dates specified on this page until my order is completely fulfilled or until I decide to cancel, if such cancellation is allowed.
If you would like to remove this text from appearing, you can achieve this by adding a custom CSS code to your theme settings. Here are the steps:
Log in to your Shopify admin panel.
Click on Online Store and then Themes.
On the right-hand side, click Customize for the theme you want to edit.
In the left-hand side navigation, click Theme settings.
Scroll down to the Custom CSS section.
Paste the CSS code below in the box.
small#shopify-buyer-consent-modal.hidden {
display: none !important;
}
Then click Save.