mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
36803a4290
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
6 lines
243 B
Handlebars
6 lines
243 B
Handlebars
<p class="number">
|
|
You can use the price data as a number and currency: {{price currency=@price.currency}}{{@price.monthly}}
|
|
</p>
|
|
<p class="with-price-helper">
|
|
You can pass price data to the price helper: {{price @price.monthly}}
|
|
</p>
|