Implement multilingual support for shop interface and add total calculation to cart drawer: - Add FR/EN translations for all shop-related texts (cart, checkout, stock status) - Update templates and JavaScript to use translation system - Add cart total calculation with formatted currency display - Refactor cart drawer styles to SASS with improved button styling (black borders on +/-) - Fix English product content (replace JSON with proper HTML) - Extract cart drawer to separate snippet for better organization Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
23 lines
843 B
PHP
23 lines
843 B
PHP
<?php snippet('cart-drawer') ?>
|
|
|
|
<footer id="site-footer">
|
|
<div class="site-footer__container">
|
|
<div class="footer__mentions">
|
|
<p class="p__small">
|
|
© <?= date('Y') ?> Index Investigation |
|
|
<a target="_blank" href="https://www.index.ngo/mentions-legales/">Mentions légales</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
<script src="<?= url('assets/js/onload.js') ?>"></script>
|
|
<script src="<?= url('assets/js/shopify-cart.js') ?>"></script>
|
|
<script src="<?= url('assets/js/cart-drawer.js') ?>"></script>
|
|
<?php if(isset($scripts) && is_array($scripts)): ?>
|
|
<?php foreach($scripts as $script): ?>
|
|
<script src="<?= url($script) ?>"></script>
|
|
<?php endforeach ?>
|
|
<?php endif ?>
|
|
</body>
|
|
</html>
|