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
Normal:
Scrolling passed the add-to-cart button:
​
​
From The4
Hope you success!!
​
​