Change the button onclick function of button on home page

Change the button onclick function of button on home page

Ahsan-
Shopify Partner
3 0 1

Hello,

I'm using the Broadcast theme for this store. I have added a section to the home page named 'image with text'. There is a button in this section as can be seen in the attached image. The theme only allows to attach links to the product page or some other page. 
I want this button to function as a 'Buy It Now' button. Specifically, I want it to add the product to the cart and then redirect customers to the checkout page. Since there's only one product in the store, this should be straightforward. Can you help me achieve this?

Screenshot 2024-09-14 122207.png

Replies 4 (4)

Sangeetanahar
Explorer
541 36 69

hello @Ahsan- 

can you please share your Website URL

thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me [email protected] - Skype: live:sangeetarahuldhiman -Whatsapp: +917009811712
Checkout Some Free Sections Here
Ahsan-
Shopify Partner
3 0 1
Sangeetanahar
Explorer
541 36 69

hello @Ahsan- 

This cannot happen to you like this, if you want this functionality then you can do one more thing, you can do feature product, in that you will find a site where you will find a quick add button, clicking on it will open it, I have shown it in the video, check the video once, you will see many images of other products

please check this link:https://www.awesomescreenshot.com/video/31523501?key=e716fb4d775676167d4f0974573174eb

thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me [email protected] - Skype: live:sangeetarahuldhiman -Whatsapp: +917009811712
Checkout Some Free Sections Here
Ahsan-
Shopify Partner
3 0 1

Yes, I'm familiar with Shopify design. Please go ahead.