Add class based on url using jquery
if(window.location.href=== "https://demo.com/demopage") { $('body').addClass('shopall_page'); }