Hello! I am toying with the shop skeleton and I haven't been able to figure out what file I have to edit to replace it with a £ or a € character.
Thanks
Archive
You need to change the currency in user/config/plugins/shoppingcart.yaml
YAML
general:
currency: EUR
Hi flaviocopes, it seems that it requires the shoppingcart plugin. Is there any way to do it keeping the out of the box snipcart plugin?
Oh sorry - it's hardcoded in https://github.com/getgrav/grav-plugin-snipcart/blob/develop/templates/partials/snipcart_detail_item.html.twig line 13. You can override that file by copying it to your theme's templates/partials folder, and change the $ sign there.
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 0 | 1369 | 9 years ago | ||
| 2 | 943 | 9 years ago | ||
| 2 | 4069 | 9 years ago | ||
| 1 | 2960 | 9 years ago | ||
| 3 | 1126 | 9 years ago |