Custom Buttons On Dawn Theme

Builder2711
Visitor
2 0 0

Hi guys,

 

Using latest Dawn theme (27/11/22)

 

I've been trying to add an Add To Cart or Checkout button to image-with-text.liquid section

 

I've tried copying what I found on Google under {%- if block.settings.button_label != blank -%} 

 

but they do not work, any solutions?

 

Thank you!

 

Replies 2 (2)

ExpertRookie
Shopify Partner
1518 249 310

Hi @Builder2711 
In this case I think it has some difficult for you.
To add the button add to cart or checkout button, it require you add the code into a product form, But you said you add for the Image with text section. So I think you need to change some code in your theme to make the function as you want.
You can hire an expert, they can help you make that.

- Was my reply helpful? Please Like and Accept Solution to let me know!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me on expert.rookie.team@gmail.com regarding any help.
Builder2711
Visitor
2 0 0

I'm thinking trigger click button for JS in liquid code, what would be for Add To Cart?