ACF — Advanced Custom Fields for OpenCart 2.3 and 3.0
ACF — Advanced Custom Fields for OpenCart 2.3 and 3.0
Custom fields for products, categories, manufacturers, articles and pages without core edits. 20+ field types, repeater, display rules, site options pages and ready-to-paste output code for your theme.
Promo code will be applied automatically when you add the product to cart
Optional — you can enter the domain later from your account.
Description
ACF for OpenCart brings Advanced Custom Fields from WordPress to OpenCart. Build a field group in the builder, choose where it should appear, and it shows up as a separate tab in the product, category, manufacturer or article form. On the storefront the values are available in the template through a single variable.
Use cases
- Subtitles, stickers, badges and banners on the product page
- Specifications, benefits, FAQ and "What's in the box" blocks with the repeater
- Banners and SEO texts for categories and manufacturers
- Phones, social links, header and footer texts on site options pages
- Any data that used to require core edits or extra tables
Features
- 20+ field types: text, textarea, number, email, URL, date, color, true/false, WYSIWYG editor, image, gallery, select, radio, checkbox, relations to products, categories, manufacturers and articles, and repeater
- Repeater with nested fields, min/max rows, drag-and-drop and collapsible rows
- Location rules like in ACF: "Product = all", "Product category = Shoes", "Manufacturer = Nike", rule groups with AND / OR
- Site options pages (Options Page): fields for header, footer, home page and contacts, available in any template without controller edits
- Multilingual: a group can store separate values for every store language
- Ready output code: the builder generates controller and template code for your fields — just copy and paste
- Field builder with drag-and-drop, field duplication and automatic field names
- Required fields with validation before the form is saved
- Images with resize: set a size for the field and get a ready thumbnail on the storefront
- "ACF" item in the admin left menu for quick access
Storefront output
For products, categories, manufacturers, articles and information pages the acf variable is already passed to the template, no controller changes needed:
{{ acf.subtitle }}
<img src="{{ acf.banner.thumb }}" alt="">
{% for row in acf.specs %} {{ row.param }}: {{ row.value }} {% endfor %}
Options page fields are available in any template: {{ acf_options.phone }}. For OpenCart 2.3 the builder shows the same code in .tpl format.
Compatibility
- OpenCart 3.0.x and ocStore 3 — PHP 7.3–8.3
- OpenCart 2.3.x and ocStore 2.3 — PHP 7.1–7.4
- Both builds in one archive
- No core changes: everything works through OCMOD and its own tables
- ocStore blog is supported automatically; on plain OpenCart blog fields are simply hidden
Roadmap
The module keeps evolving. Upcoming updates will let you add custom fields to other standard OpenCart sections as well:
- product options and option values
- specials and discounts
- product images — separate fields for every photo
- other standard store sections
License
The key is issued for one domain and all its subdomains. On localhost and test domains the module works without a key. The source code is open, so you can adapt the module to your project.
Installation
- Upload the contents of the
uploadfolder of the right build to the site root - Modules → ACF for OpenCart → Install
- Modifications → Refresh
- Enter the license key on the module page
Specifications
Features
Technical Details
- PHP Version
- 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3
- OpenCart Version
- 2.3.0 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4
- Module Localization
- Ukrainian, English, Russian
- Support Language
- Ukrainian, English, Russian
- Activation Method
- License key
- Ioncube Loader
- No (not required)
- Developer Server Connection
- No
- If Developer Server Unavailable
- Extension works
- Compatible with Templates
- Any theme (output is added to your theme template)
Reviews (0)
Please log in to leave a review.
Log inNo reviews yet
Be the first to review this product!
Questions (0)
Please log in to ask a question.
Log inNo questions yet
Be the first to ask a question about this product!
Changelog
- Corrections based on the results of the security and quality audit
10 files modified
- admin/controller/extension/module/acf_oc.php
- admin/model/extension/module/acf_group.php
- admin/model/extension/module/acf_value.php
- admin/view/javascript/acf_oc/acf_oc_form.js
- admin/view/template/extension/module/acf_oc.twig
- admin/view/template/extension/module/acf_oc_edit.twig
- admin/view/template/extension/module/acf_oc_form.twig
- admin/language/*/extension/module/acf_oc.php
- system/library/acf.php
- system/acf_oc.ocmod.xml
- First release on OpenCart Code. Builds for OpenCart 2.3 and 3.0 (ocStore 2.3 and 3) in one archive.