How can I add a sticky cart button to Dawn Theme V10?

Hello! I want to have a sticky add to cart button (at the bottom) on my productpage. Can anyone help me! I have Dawn Theme V10

Hi @Sabrii2 ,

Please go to Customize > Products > Default product > Add block > Custom liquid and add code here:

Code:


Hope it helps!

Thanks Namphan! Unfortunately it is not working! The button is not clickable, it is also transparant.

Hi @Sabrii2 ,

Please send your site. I will check it.

Thank you! www.belloti.nl

@Sabrii2

Please check the following video

Hi @Sabrii2 ,

Please go to Actions > Edit code > main-product.liquid file and paste this at the bottom of the file:


Thank you! Not transparant anymore! But still not clickable.

Hi @Sabrii2 ,

Can you re-add it and send me the preview link? I will check it again

Dear Namphan,
It works! Thank you very much! Can i adjust the moment that the button sticks. For example after scrolling down when the add to cart button is not more in sight?

Greetss

Hi @Sabrii2 ,

This will take many steps and debug, so it is difficult for me to guide you in detail.

Hope it is clear to you.

@namphan We recently released a sticky cart app with a free plan. It works with all themes including Dawn, check it out:https://apps.shopify.com/pasilobus-sticky-cart

Hi, this is really helpful, thank you! I want to change the color of the button and add a black border, if possible. Would you kindly let me know how I can do that? Could I add some more code here to configure the color? Thanks in advance!

Hi @AsiyaM ,

Can you send me the site link? I will check it in detail

Sure! It’s Crescentt.com

Hi @AsiyaM ,

I don’t find the code you added and the sticky button, can you add it and send me the preview link?

This worked perfectly for my shop, Dawn v11.0

Hi @Gil-Momo ,

If you have any questions, you can contact me. Happy to help you

Hi,

How can I change the colour of the button? I used your code and the button is currently in black. could you tell me how to change it color?

Thanks,

Gil

You can add sticky add to cart: