Reusable PHP Fragments Anywhere is a powerfull extension that helps you include PHP fragments in your website content. You can make reusable fragments (pieces of PHP) and include them into your content via a tag, like {fragment my-first-fragment}.
If you edit an information page (or category, product or wherever you put the tag), you will still see the tag. But on frontend view of you website all fragment tags will be replaced with the fragment content. You can use this to insert much used content for instance. Then, if you change the content of the fragment, it changes everywhere you have used the tag.
Reusable PHP Replace Anywhere is an addon of the extension Reusable Text/HTML Fragments Anywhere and can only be used in combination with this extension.
Reusable PHP Replace Anywhere provides a very powerful fragments management at OpenCart admin and give you more control over fragments in your website’s content. Plus, using categories also makes fragments easy to manage. Global settings can be set, fragment tag name and the places where to parse. For each new fragment you create it is possible to override the global settings for that particular fragment.
Reusable PHP Replace Anywhere works on all content (including third party extensions) on you website, like information, category, product and brand pages, forinstance in the description or title elements. Which elements Text/HTML Fragments is working on can be changed, and new elements can be added. Reusable PHP Fragments Anywhere is not altering the content itself, it includes the fragments just before the content is displayed.
Supported extensions
- Journal 2 Theme with Journal Quick Checkout (up to version 2.15.7)
- Journal 3 Theme with Journal Quick Checkout (up to version 3.0.46)
Compatibility | |
Compatible with | OpenCart 2.x.x and 3.x.x |
Modifies core files | No |
Extension version | v1.8.5 |
Well documented | Yes |
Multi-Language | Yes |
Multi-Store | Yes |
Extension last updated | 25-06-2024 |
vQmod and Ocmod version available | Yes |
License details | |
License Type | Single domain |
Support Type | Premium Support for 1 Year |