Currency

Introduction

Create a real currency field with the benefits of filtering due the nature of the field.

Installation

Prerequisites

Make sure your system meets the minimum requirements:

Installation Instructions

Update instructions

How it works

The currency fieldtype works just like any other fieldtype, it also looks like a normal fieldtype but in fact it is not a real simple field. The currency fieldtype convert in the MySQL database to a decimal field. This way it can hold any currency value like 9.95 or 188.50

Filtering

Because the field is now converted to an decimal, the filtering (orderby) in the {exp:channel:entries} works perfectly

With the decimal settings you can convert the point to a comma.

Overview

Be aware

Because the currency fieldtype convert the field in mysql to a decimal field, it is wise to delete this field if you want to change it to an other fieldtype. Otherwise that field is an decimal field and not a text field.

Changelog

2.0.1 (01-11-2017)

2.0.0 (05-07-2016)

1.4

1.3

1.2

1.1.1

1.1

1.0