Ready-made custom fields for your LaraClassifier / JobClass site, per business: vehicles, real estate, services, electronics and phones, fashion, job offers. Import a pack for the whole site or for one category, and get the fields, their options, their translations and their search filters in one go.
Fields per Business
Each pack holds the fields a business needs, with their options, units and search filters, translated in every language of your product.
Make and Model
The Vehicles pack brings car makes and their models as two linked lists: the seller picks a make, then one of its models.
Safe on a Live Site
A preview shows what an import does. Nothing that exists is replaced, and what a pack added can be taken back.
Your Own Packs
Export the setup of your categories as a pack, and upload it on another site.
How It Works
A pack is a set of custom fields made for one kind of listing. It is split in parts (for example “Cars” and “Motorcycles” in the Vehicles pack), and importing it means saying which of your categories each part goes to. The import then:
- adds the fields your site does not have, and recognizes those it has by their machine name (
fuel_type,rooms...); - adds the options that are missing, and recognizes the existing ones by their label, in any language;
- attaches the fields to the categories you chose, unless a category already gets them from its parent category.
The fields are regular custom fields: once imported you edit, translate, reorder or delete them in Admin panel → Custom fields, like any other.
Requirements
- LaraClassifier / JobClass v19.2.1 or later (dependent fields, options loaded on demand and number ranges come with that version)
- PHP 8.3+
- MySQL 8.0+
Installation
Step 1: Upload the add-on
Go to Admin panel → Extensions → Add-ons, click Upload add-on and drop the add-on's .zip file into the upload area (50 MB maximum).
The archive is extracted into extensions/addons/readyfields/ and Ready-Made Custom Fields appears in the list, deactivated.
extensions/addons/readyfields/ over FTP or SSH: its addon.json file must sit directly inside that folder.
Then open Admin panel → Extensions → Add-ons. The page scans extensions/addons/ every time it loads, so the add-on is listed straight away (the Sync button runs the same scan on demand).
Step 2: Activate the add-on
Click Activate on the Ready-Made Custom Fields card. It is a paid add-on, so a dialog asks for its purchase code, which is verified before anything else happens: an invalid code is rejected in the dialog and nothing is changed.
Once the code is accepted, activation runs in one pass: it creates the add-on's database tables (its migrations), registers its permissions, runs its seeders and publishes its public assets. Reload the page to see its new entry in the Add-ons section of the admin sidebar.
Step 3: Import a pack
Open Admin panel → Ready-Made Fields from the Add-ons section of the sidebar, pick a pack and import it: see Importing a pack. There is no setting to fill in first.
Purchase Code (License Key)
Ready-Made Custom Fields is sold as a separate product, so it has its own purchase code (license key), distinct from the purchase code of the main application and from the one of every other add-on. You are asked for it when you activate Ready-Made Custom Fields in Admin panel → Extensions → Add-ons.
Our products are sold on three platforms. The way you receive a purchase code depends on where you bought the product.
| Platform / Marketplace | How you get the purchase code | Where to find it again |
|---|---|---|
| bedigit.com Store In-site purchase (Shop) |
Generated automatically when the order is paid, then sent by email, either in its own license email, or inside the order confirmation email. | My Account → My Licenses on bedigit.com |
| Gumroad | Created as soon as Gumroad notifies us of the sale, then sent in a separate email, in addition to the Gumroad receipt. | The license email, your Gumroad Library, and My Account → My Licenses on bedigit.com |
| Envato Market CodeCanyon |
Issued by Envato, not by us, and never sent by email: you download it yourself from your Envato account. | Envato account → Downloads → License certificate & purchase code |
1. bedigit.com Store (in-site purchase)
- As soon as the order’s payment status becomes Paid, a license key is generated automatically for every licensed item in the order (one key per purchased unit: buying 3 units gives 3 distinct keys).
- It is emailed to the address used on the order, either in a dedicated license email or inside the order confirmation email. Check your inbox and your spam / junk folder.
- The key stays available in your account under My Account → My Licenses. Keys are masked in the list; open the license detail page to reveal and copy the full key, see the domains it is activated on, and deactivate a domain to free an activation slot.
- The matching invoice is under My Account → My Orders.
2. Gumroad
- A Gumroad purchase produces two separate emails: the Gumroad receipt (sent by Gumroad, giving access to the files) and a license key email (sent by bedigit.com) that contains your purchase code.
- The license key email is generated as soon as Gumroad notifies us of the sale, so it normally arrives within seconds of the payment. Here too, check your inbox and your spam / junk folder.
- When the Gumroad product uses Gumroad’s own license-key feature, the same key also appears in your Gumroad receipt and under Library → your purchase on gumroad.com.
- Use the same email address on bedigit.com as on Gumroad: your keys are then linked to your account automatically and listed under My Account → My Licenses, even if you register after the purchase. You can also add a Gumroad key manually from My Account → My Gumroad Licenses.
3. Envato Market (CodeCanyon)
- Envato purchase codes are issued and delivered by Envato Market, never emailed by us, so there is nothing to look for in your spam folder: you retrieve the code from your Envato account.
- Log in to your Envato / CodeCanyon account, open the Downloads page, find the item, and choose License certificate & purchase code from the Download dropdown. The code is written in that certificate.
- An Envato purchase code looks like
12345678-90ab-cdef-1234-567890abcdef(8-4-4-4-12 characters). It never changes, and renewing item support does not issue a new one. - Official Envato article: Where Is My Purchase Code?
Packs Included
| Pack | Product | Parts | Content |
|---|---|---|---|
| Vehicles | LaraClassifier | Cars, Motorcycles | Make and model (83 car makes and about 570 models, 30 motorcycle makes), year, mileage, fuel, transmission, body type, drivetrain, color, doors, seats, engine size, power, condition, 17 equipment options, first owner, VIN. |
| Real estate | LaraClassifier | Real estate | Property type, living area, land area, rooms, bedrooms, bathrooms, floor, furnished, parking, year built, energy rating, 12 amenities, availability date. |
| Services | LaraClassifier | Services | Where the service takes place, pricing, experience, availability, service area, registered business, languages spoken, website. |
| Electronics and phones | LaraClassifier | Phones and tablets, Electronics | Phones and tablets: brand (26 brands), model, storage, memory (RAM), color, network, dual SIM, condition, warranty. Electronics: brand (36 brands), model, screen size, color, condition, warranty. |
| Fashion | LaraClassifier | Fashion | Who it is for, size (XXS to 3XL, one size), shoe size (EU), color, material, brand, condition. |
| Job offers | JobClass | Job offers | Employment type, seniority level, years of experience, education level, remote work, work schedule, travel, driving licence, benefits, start date, application deadline. |
The library only lists the packs made for your product. The labels are translated in the 18 languages of LaraClassifier, or the 29 languages of JobClass. Makes, models and brands are proper nouns: they are the same in every language.
Fields shared by several packs. “Color” and “Condition” are the same fields in every pack that has them: importing a second pack attaches them to its categories and only adds the options that are missing (for example “Refurbished”, which the Electronics and phones pack adds to the conditions of the Vehicles pack). One filter then works across all those categories.
Importing a Pack
- Go to Admin panel → Ready-Made Fields and click Import on a pack. Details lists its fields first, if you want to see them.
- Where the fields go. For each part of the pack, choose one of your categories. The add-on proposes the one that matches (by its slug or its name). You can also leave a part out, have the category created, or send the part to every main category (the usual choice on JobClass, whose main categories are sectors). The sub-categories of a category get its fields too.
- Options. Tick the markets you want, when the pack has some, and choose what to do with the fields you already have.
- Click Preview. It says how many fields and options will be added, which ones are already on the site and which ones are left out, without writing anything.
- Click Import. A progress page runs the import in steps and shows the result. Keep it open until it ends; if the connection drops, Resume continues where it stopped.
For one category only. In Admin panel → Categories, open the fields of a category and click Import fields from a pack (LaraClassifier): the library opens for that category, and you choose which part of a pack goes to it. On JobClass, choose that category in the import form instead.
You also reach the library with the Import from a pack button of Admin panel → Custom fields.
On a Site That Already Has Fields
The demo data of the products, and most live sites, already have some of the fields of a pack. Here is what the import does with them.
| What the site has | What the import does |
|---|---|
| A field with the same machine name and the same type | The field is kept as it is. The options it lacks are added; those it has are recognized by their label and keep their ID. |
| A field with the same machine name and another type | The pack's field is left out, with its options. The preview shows it in red. |
| A free text field that the pack has as a list or as a number (for example a “Model” or a “Mileage” typed by hand) | Left out, unless you choose Turn my free text field into the list or the number of the pack. Then the field changes type and the values of the listings are carried over: a text that names an option becomes that option (for a model, among the models of the listing's own make); “120 000 km” becomes the number 120000. A text that matches nothing is kept and still shown on the listing. A text made of digits only that matches no option, and a text without any number in a field that becomes a number, are removed. |
| A category that already gets a field from its parent category | The field is not attached a second time. |
Complete the translations of my fields and options (on by default) gives the fields and options you already have the languages they lack, from the pack. What they already say in a language is never replaced: a field named “Car Brand” in English keeps that name, and gets its French, Spanish or Arabic name.
Make and Model
In the Vehicles pack, “Model” depends on “Make”: in the listing form and in the search filters, the list of models only opens once a make is chosen, and only offers the models of that make. This is a feature of the core (v19.2.1): any list can depend on another one (Admin panel → Custom fields, “Depends on”), and each of its options is attached to an option of the parent list.
Markets. Makes sold nearly everywhere are always imported. The others belong to the markets where they are commonly found: Europe, North America, Latin America, Asia and Pacific, Africa and Middle East. Tick the markets of your site to leave the other regional makes out, with their models. Leave everything unticked to import them all.
Importing Again
An import can be run as many times as you like: what a pack already brought is never added twice, so a second run only adds what is new. Use it to send a pack to another category, to add a market, or to get the fields and options of a newer version of a pack (the library then shows Update available).
An option you deleted after an import is not brought back by the next one.
Remove What a Pack Added
Admin panel → Ready-Made Fields → History lists every import, and the packs that still have something of their own on the site. Remove what it added takes back, for one pack:
- the fields it attached to categories;
- the options it added, and the fields it created, once they hold nothing.
It always keeps what existed before the pack, the options and fields that a listing uses, the options whose label you edited since, a make that still has models, and the categories. A field or an option that another imported pack has too is kept as well: it becomes that pack's own, and goes when that pack is removed in its turn.
Export My Setup
Admin panel → Ready-Made Fields → Export my setup turns the custom fields of the categories you choose into a pack: one .json file with the fields, their options (and which option of a parent list each one belongs to), their translations and the categories they go to.
Use it to copy a setup to another site, or to keep it.
Upload a Pack
Upload a pack, in the library, adds a pack from a .json file (5 MB maximum): one you exported, or one you wrote. The file is checked before it is accepted, and a pack never holds code.
An uploaded pack is marked Uploaded, is imported like the others, and can be deleted from its Details page (what it imported stays on the site).
It is kept in storage/app/readyfields/.
Pack Format
{
"key": "boats",
"version": "1.0.0",
"name": {"en": "Boats", "fr": "Bateaux"},
"categories": [
{"key": "boats", "name": {"en": "Boats"}, "match": ["watercraft-and-boats"], "suggest": {"slug": "boats"}}
],
"fields": [
{
"machine_name": "boat_brand", "type": "select", "name": {"en": "Make"}, "required": true,
"options": ["Beneteau", "Jeanneau", {"key": "other", "value": {"en": "Other", "fr": "Autre"}}]
},
{
"machine_name": "boat_model", "type": "select", "name": {"en": "Model"}, "depends_on": "boat_brand",
"options": {"beneteau": ["Oceanis 38", "First 27"], "jeanneau": ["Sun Odyssey 410"]}
},
{"machine_name": "boat_length", "type": "number", "name": {"en": "Length"}, "unit": {"en": "m"}}
],
"assignments": [
{"category": "boats", "fields": ["boat_brand", "boat_model", "boat_length"]}
]
}
| Key | Meaning |
|---|---|
key | Identifies the pack (lowercase letters, digits, dashes). Keep it from one version to the next. |
categories | The parts of the pack. match lists the category slugs to propose; suggest describes the category to create when it is missing (slug, parent slug, icon_class, type). |
fields | machine_name, type (the types of the custom fields), name, and optionally help, unit (numbers), required, use_as_filter, max, depends_on (a list of the pack). |
options | A list of labels or of objects (key, value, parent, markets, match: other names the option may have on a site). For a dependent list: a map of the parent option's key to its own options. An option without a parent is offered under every parent option. |
assignments | Which fields each part gives to its category, in the order of the form. |
A label is a text (the same in every language) or a map of translations.
Permissions
| Permission | Allows |
|---|---|
admin.readyfield.view | See the library, the details of a pack, the history, and export a setup. |
admin.readyfield.create | Preview and run an import, upload a pack. |
admin.readyfield.delete | Remove what a pack added, delete an uploaded pack. |
The administrator role gets them when the add-on is activated. Give them to your other roles in Admin panel → Users → Roles.
Command Line
A large pack runs in several steps in the browser. On a server whose web requests are very short, or to script an installation, use the command:
| Command | Does |
|---|---|
php artisan readyfields:import | Lists the packs and their parts. |
php artisan readyfields:import vehicles --dry-run | Shows what the import would do, with the categories found by themselves. |
php artisan readyfields:import vehicles --target=cars:136 --market=europe | Imports the part “cars” into the category 136, with the European makes. |
php artisan readyfields:import jobs --target=jobs:roots --translate | Sends the part to every main category, and completes the missing translations. |
Other options: --target=<part>:new (create the category), --category=<ID> --part=<part> (one category), --convert (convert free text fields).
Translations
The admin pages of the add-on ship in 18 languages: Arabic, Bengali, Chinese, English, French, Georgian, German, Hebrew, Hindi, Italian, Japanese, Portuguese, Romanian, Russian, Spanish, Thai, Turkish and Ukrainian.
Their strings are in extensions/addons/readyfields/resources/lang/<locale>/messages.php. A language without a file (some of the languages of JobClass) falls back to English.
The fields and options of the packs are translated in every language of your product, and stay editable in Admin panel → Custom fields.
Updating
An update only replaces the add-on's files. Its database tables and data, its settings, its activation state and its recorded purchase code are all kept, so do not deactivate or remove the add-on before updating it. Back up your database first all the same.
Method 1: Upload the new version (recommended)
- Download the latest
.zipfile of the add-on. - Go to Admin panel → Extensions → Add-ons and click Upload add-on.
- Drop the
.zipfile into the upload area. - Because Ready-Made Custom Fields is already installed, a prompt shows the installed version and the new one. Click Replace: the
extensions/addons/readyfields/folder is swapped for the new files. Cancelling the prompt discards the upload.
Method 2: Replace the files by hand
- Over FTP or SSH, delete the
extensions/addons/readyfields/folder and upload the new one in its place. Replace the whole folder rather than copying over it, so files dropped by the new version do not linger. - Open Admin panel → Extensions → Add-ons: the page re-reads
addon.jsonand the card shows the new version number.
After the files are replaced
New database tables or columns. When a new version adds some, create them by running php artisan migrate --force over SSH, or without SSH by clicking Deactivate then Activate on the add-on's card: activation runs every pending migration (and asks for the purchase code again). Your data is not touched either way.
If your installation caches its configuration or routes (php artisan config:cache, route:cache), run php artisan optimize:clear after the update.
Uninstallation
Switching an add-on off without losing anything is a deactivation: go to Admin panel → Extensions → Add-ons, click Deactivate on the Ready-Made Custom Fields card and confirm.
- The add-on is no longer loaded: its routes, views, admin sidebar entry and front-end pages stop answering.
- Its database tables and all the data they hold are kept, and its files stay under
extensions/addons/readyfields/. Nothing is deleted. - Its permissions and its recorded purchase code stay in the database. Only Remove deletes them.
- Deactivation is refused while another active add-on depends on this one: deactivate that add-on first.
Click Activate on the same card to switch it back on. As for a first activation, the purchase code is asked for and verified again; then any pending migrations run, the assets are republished, and the add-on picks up exactly where it left off.
Removing
Removing is permanent and destroys the add-on's data. The Remove button only appears on a deactivated add-on, so removal is always two steps:
- Deactivate Ready-Made Custom Fields (see Uninstallation).
- Click Remove on its card and confirm the prompt.
The admin panel then, in one pass:
- runs the add-on's uninstall hook, which deletes the packs you uploaded;
- revokes the permissions declared in its
addon.json; - rolls back its migrations (this drops its database tables and every row they hold) and purges its entries from the
migrationstable, so a later reinstall migrates from scratch; - deletes its published assets:
public/addons/readyfields/,public/vendor/readyfields/andstorage/app/public/addons/readyfields/; - deletes the add-on directory
extensions/addons/readyfields/; - deletes its row in the
addonstable (the recorded purchase code goes with it) and clears the application cache.
The custom fields, the options and the categories that the packs brought are not removed: they are your site's own data from the moment they are imported, and your listings may use them. To take them back, use Remove what a pack added before removing the add-on. Only the add-on's own records go: the import history, and what it remembers of each pack.
Removal is refused, with an explanatory message and before anything is destroyed, when the add-on is still active, when another active add-on depends on it, or when the web server (PHP) user cannot delete extensions/addons/readyfields/. In that last case, give that user write permission on the directory and on its parent, then try again.
Deleting the folder over FTP or SSH is not equivalent: the add-on is only switched off, and its tables, its entries in the migrations table and its addons row are all left behind. Use Remove in the admin panel instead.
Troubleshooting
The library is empty
- The library only lists the packs made for your product. Check that the add-on's
resources/packs/folder was uploaded completely.
A field of the pack was left out
- A field with the same machine name exists with another type. If it is a free text field, run the import again with Turn my free text field into the list or the number of the pack.
- Otherwise, rename the machine name of your field in Admin panel → Custom fields, then import again: the pack's field is then added next to yours.
The list of models stays closed in the form
- A list that depends on another one only opens once its parent has a value: choose a make first.
- Check that your theme has the field views of LaraClassifier / JobClass v19.2.1: a customized theme needs the same change as the bundled ones (see the core's changelog).
The import stops before the end
- Click Resume on its page: an import continues where it stopped, and nothing is added twice.
- On a server with very short requests, use
php artisan readyfields:import.
“Remove what it added” left some options
- Options that a listing uses, options you renamed, and makes that still have models are kept on purpose.
Ready-Made Custom Fields v1.0.0 · LaraClassifier / JobClass Add-on · by BeDigit