bigcartel / dugway

Easily build and test Big Cartel themes.
https://developers.bigcartel.com/api/themes
MIT License
149 stars 22 forks source link

Return CartDrop instance instead of Cart instance for {{ pages.cart }} #181

Closed brettchalupa closed 3 years ago

brettchalupa commented 3 years ago

Since the PageDrop inherits from the base drop, {{ pages.cart }} wasn't returning a liquid object but instead a Cart instance. This makes it so we can call {{ pages.cart.name }}, etc. in Dugway