Emptying cart when on home page

Highlighted
New Member
3 0 0

Hello!

I manage to add Ajax feature which empties cart when clicking on Logo (logo redirects to home page).

However, I cannot figure out how to empty cart when I click 'back arrow' until Homepage. 

Summing up - cart should be emptying whenever I reach Home Page. 

Thanks for all the answers! 


0 Likes