Ghost/core/frontend/services/theme-engine
Rishabh Garg 36803a4290
🐛 Fixed incorrect @price.currency value in themes (#12987)
closes https://github.com/TryGhost/Ghost/issues/12986
refs 1345268089

As part of changes in 4.6, the default price ids for monthly/yearly prices are stored in new settings - `members_monthly_price_id`, `members_yearly_price_id` - which are used to determine current active prices for the site from list of all existing prices. While the last commit updated the prices to use the settings, the data for currency was still used from non-zero prices instead of the new settings value.

- Updated tests to check price currency
2021-05-27 10:49:35 +05:30
..
config Moved theme config to new theme engine service 2021-04-21 14:21:32 +01:00
engines Moved theme engines to new theme engine service 2021-04-22 21:05:01 +01:00
handlebars Fixed weird require in theme templates 2021-05-04 13:32:17 +01:00
i18n Moved i18n basePath concept from themes to core 2021-05-06 19:51:38 +01:00
active.js Improved theme locale handling 2021-05-05 16:13:26 +01:00
engine.js Moved hbs engine into new theme engine service 2021-04-19 20:03:30 +01:00
index.js Moved activate from themes to the bridge 2021-04-27 13:52:19 +01:00
middleware.js 🐛 Fixed incorrect @price.currency value in themes (#12987) 2021-05-27 10:49:35 +05:30
preview.js Moved theme preview mw to new theme engine service 2021-04-24 19:56:00 +01:00