Before config: you need make sure this section was enabled.
Go to Theme settings > Product page > Tick on "Show Sticky add to cart"
Display a sticky add-to-cart bar when scrolling passed the add-to-cart button.
Go to Sections > Sticky add to cart
Scrolling passed the add-to-cart button:
Hope you success!!