Hello!
Appreciate anyone taking the time to help.
I’m kind of new to development, and want to implement a simple customization to the snipcart cart so that it displays the description in the mini cart modal. I followed the documentation and made my snipcart-templates.html file with the overrides.
What I’m confused about is this part when it talks about inserting a node:
"To override a template, insert a node into div#snipcart
. The node tag must be the name of the component you want to override.
<div hidden id="snipcart" data-api-key="<API_KEY>">
<component-to-override>
<!-- The template must have a single root element -->
<div class="root">
</div>
</component-to-override>
</div>
I understand how to edit that div with a hidden id and the api key, but how do I go about inserting a node into #divsnipcart?
Pardon the ignorance, would appreciate any help with this.
-Alex