Adding extra button to every product that will land to another page in the same shopify store

Topic summary

Goal: Add an “Add to registry” button on every product page that links to an internal gift registry management page within the same Shopify store.

Context: The store owner wants to build a basic gift registry feature through theme/code changes, avoiding third-party apps due to cost. They are seeking guidance on the proper coding approach.

Key needs:

  • A second button on product pages labeled “Add to registry.”
  • Navigation to a gift registry management page within the store.
  • Likely passing product details (e.g., product ID, variant) to the registry page for processing.
  • Implementation that works across all products via theme templates/sections.

Open questions:

  • Best method to add the button in the theme (e.g., editing product template/sections and enabling through theme settings).
  • How to structure the link or form to send product/variant data (URL parameters, POST, or Shopify cart attributes/metafields).
  • How the registry page will store and display selected products.

Status: No solutions yet; guidance requested; discussion open.

Summarized with AI on February 11. AI used: gpt-5.

Hi,

Can someone help me out on how to add extra button in every product that will land to another page?

I am actually creating a menu for my gift registry and I want a button that says ‘add to registry’ then the product will land to my gift registry management.

I am going nuts in here and I really want to learn the proper coding for this ‘Gift Registry’ thing and without using third party app as we are just a small business trying to cut cost.

Thank you so much and I hope to hear responses soon

1 Like