Skip to main content
All CollectionsCustomizations
Prevent gifting button from appearing
Prevent gifting button from appearing

Sometimes you want to hide the "send as gift" button in specific spots on your store, like a featured product section, certain page, etc...

Updated over a month ago

By default, Givy will look for a product form anywhere on your store, and if we see an "Add to Cart" button for a giftable product or gift card product, we'll display the our gifting button.

You may want to prevent this from happening in some cases. This might be a featured product on your home page, or on collection pages, etc...

Luckily, there's an easy way to do this! Simply add a new class name called givy_no_gift_button to the form you'd like to exclude, or to a parent object surrounding that form.

Here's an example of this class being added to the featured product DIV inside the featured-product.liquid secion of the theme:

This class can be added to a <form> wrapper, or to a <div> which is wrapping the form you want to target.

If you're having a difficult time finding the correct place to add this class, please reach out and we'll be happy to help.

Did this answer your question?