Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By drupalfriend123 on
Hi,
I like to add a price field to my content type? So, it displays the price with $ in views page. Now, when I go to views page, it simply shows the number. I like to change the field type to some other field type so it displays with $ instead.
Also, I would like to have the option to update the price. In this case, both prices show in views page. New discounted price in bigger font than original price which can be crossed out.
How can I do it?
D
Comments
As a start it sounds like you
As a start it sounds like you are looking for the Currency module.
The second point I think will take some custom work.
I have installed the module.
I have installed the module. I enabled currency and currency API.
Then structure > content type > manage fields > I tried to add a new field but list of field types does not have the currency option. I am not sure how would I add the currency field with a dollar sign.
Thanks,
D