Adding "Inquire" Button for Out-of-Stock Items - Need Help with Implementation

Hello Shopify Community,

We are looking to enhance our customer experience on our Shopify store and provide an option for users to inquire about items that are currently out of stock. We want to add an “Inquire” button to all out-of-stock products, which, when clicked, will redirect users to email a specific email address.

Here’s what we’re aiming to achieve with the “Inquire” button:

  1. “Inquire” Button Display: We want to dynamically display the “Inquire” button on the product pages of items that are marked as “out of stock.” This button will allow users to express their interest in the product, even if it’s not currently available for purchase.

  2. Automatic Email Composition: When a user clicks the “Inquire” button, we want it to trigger an action that opens their default email client with the “To” field pre-filled with a specific email address designated for inquiries. Additionally, we’d like the subject line of the email to be automatically set as the name of the out-of-stock product.

  3. Optional Message Field: It would be beneficial to include an optional message field in the email composition window. This way, users can provide additional information or ask specific questions related to the product they’re inquiring about.

We believe this feature will improve customer engagement and help us gather valuable feedback on products that are in demand but temporarily unavailable.

Technical Details: Our store is built on Shopify, and we’re using the Dawn theme. We would greatly appreciate your guidance on how to implement this “Inquire” button functionality seamlessly. If anyone has experience with a similar implementation or can provide guidance on the necessary code changes or any third-party apps that can help us achieve this, we’d be extremely grateful for your assistance.