Hi,
I’m trying to show my custom fields in the cart summary template, but I can’t seem to override the default cart.
I have snipcart-templates.html
inside the public
directory, and this is my snipcart installation in my BaseLayout.astro
:
<script async src="https://cdn.snipcart.com/themes/v3.3.0/default/snipcart.js"></script>
<div id="snipcart" data-config-modal-style="side"
data-api-key="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
data-templates-url="/snipcart-templates.html" hidden></div>
There is no 404 on the snipcart-templates.html
file so it is being picked up, but my custom fields still don’t show in the checkout. I have modified snipcart-templates.html
to show custom fields.
Any advice? Thanks!