Is there a way to add button that when clicked allows a customer to call you

Is there a way to add button that when clicked allows a customer to call you

Tan2020
Tourist
17 0 1

Hi, i am just finishing off my page and would like to add 2 buttons to my home page to allow customers to email or call me, is this possible? I am using the Taste theme. 

Reply 1 (1)

JuneN
Shopify Partner
136 6 40

Hi @Tan2020 ,

 

The easiest way to add the call button to your home page is use 3rd app, you can add button without code. If you don't want to add a plugin to your store, you have to edit code following this steps:

  1. Go to Online Store > Themes
  2. Find your and click Actions > Edit code
  3. In the Sections folder, look for a file that might be named something like index.liquid or home.liquid. This is usually the file that controls the layout of your home page.

  4. Find a suitable place within this file to insert your button. You might add it within an existing section or create a new one.

 

<div class="contact-button" style="text-align: center; margin: 20px 0;">
  <a href="/pages/contact" class="btn" style="padding: 10px 20px; background-color: #007bff; color: white; text-decoration: none; border-radius: 5px;">Contact Us</a>
</div>

 

  • Click Save 

If you find my suggestion helpful, please give it a like or mark it as a solution!
And discover more approaches to:
Streamline invoicing process Boost sales with labels & badges Add social proofs & create FOMO
Or get valuable updates and private deals regarding Shopify here.