How to make cart drawer as a default

In my global schema I make the cart drawer as a default but it is still not changing on my theme is there anything I’m missing. And also i give the value true for the Vendor it is also not changing please let me know

Hi,

Hope this will work

  • Cart Drawer not working- Add Liquid logic + check JS is opening it
  • Vendor name not showing-Use {{ product.vendor }} + checkbox logic

JavaScript to Open Drawer example

document.querySelector('.add-to-cart').addEventListener('click', function() {
  // logic to open the cart drawer
  document.querySelector('.cart-drawer').classList.add('open');
});

I’m using dawn theme and I’m customizing that theme only so in my settings_schema.json I changed the default value of popup notification to drawer but in my editor I cannot see any changes.

You can see the vendor is also not showing true value

Can you tell me the steps because I’m not able to understand properly. All I know is if i change the default value then it started reflecting in the theme editor but this time it not works so please tell me the steps. I’m using dawn theme