Skip to main content
All CollectionsDeveloper Docs & Advanced Options
Manually place the Send as Gift button on the product page
Manually place the Send as Gift button on the product page

Sometimes you need to edit your theme's code to choose a custom location for the gifting button - here's how

Updated over a week ago

Some older themes who don't take full advantage on Shopify's Online Store 2.0 may not be able to add our App Block directly to their product page. This is handy when you want to change the location of the "Send as Gift" button.

Do do this manually, you'll need to edit the theme file that is responsible for loading the product page you'd like to update. In the theme editor, add this code where you'd like to see the gifting button appear:

<div class='givy_button_location'></div>

Now, when the product page loads, if the product or gift card has gifting enabled, we will load our button in this location instead of trying to choose the location automatically.

Did this answer your question?