Skip to content

Commit

Permalink
Update installation.md
Browse files Browse the repository at this point in the history
provided paths for two steps to make it clear what to edit
  • Loading branch information
jacekrzeznikbb authored Jul 17, 2024
1 parent ac0b4f8 commit f7b1dfe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,14 @@ webpack_encore:

Include the newsletter in your template:
```twig
{# templates location: templates/bundles/SyliusShopBundle/ #}
{% include '@BitBagSyliusMailChimpPlugin/_subscribe.html.twig' %}
```

Add these javascripts to the layout template that includes your subscription form imported in the previous steps
```html
<!-- templates/bundles/SyliusShopBundle/_scripts.html.twig -->
{{ encore_entry_script_tags('bitbag-mail-chimp-shop', null, 'mail-chimp-shop') }}
<script>
Expand Down

0 comments on commit f7b1dfe

Please sign in to comment.