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


  • Compatibility: Reusable PHP Fragments Anywhere works well in OpenCart version 2.0.0.0 and above.
  • Fragment Management: Reusable PHP Fragments Anywhere allows you to create unlimited fragments as well as categories.
  • Debug with logging: The extension can generate html comments in the website content around the fragments. These comments can help you troubleshooting when you don't get the output you expect. The extension can also generate debug logfiles.
  • Update Notification: When a new update of the extension is available, a notification will be displayed with changelog.
  • Easy and friendly administration.
  • Multi-Store support.
  • Multi-Language support.
  • The extension doesn't overwrite any system files.
  • vQmod and Ocmod version available.
  • Help text available within the extension.

    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 31-07-2024
    vQmod and Ocmod version available Yes
    License details
    License Type Single domain
    Support Type Premium Support for 1 Year

    * -> Security Fix
    # -> Bug Fix
    + -> Addition
    ^ -> Change
    - -> Removed
    ! -> Note

    (Latest version can be downloaded at shop.openwebcreations.eu)

    1.8.5 - 14-10-2022
    + Added admin extension tab for displaying extension (debug)logging.

    1.8.4 - 21-07-2022
    + PHP 8.1 support added.
    # Bug Fix: Admin product list filter fragments and product edit missing fragment search.

    1.8.3 - 11-11-2021
    # Bug Fix: Performance issue solved.

    1.8.2 - 09-11-2021
    + Add OCMOD cupport.

    1.8.1 - 27-03-2021
    # Bug Fix: License check issue!!!
    ^ Setting for disable/hide demo tabs.

    1.8 - 22-03-2021
    # Bug Fix: Opencart 3 support

    1.7 - 05-04-2020
    + Add Opencart 3 support

    1.6 - 27-12-2019
    # Bug Fix: PHP validation fix.

    1.5 - 03-07-2017
    # Bugfix, correct parsing PHP fragment parameters.

    1.4 - 28-12-2016
    ^ Removed mb_ functions Added support for ajax requests.
    # Bugfix: Missing language entries.

    1.3 - 23-08-2016
    # Changed: Data vars available within PHP code.

    1.2 - 21-07-2016
    # Changed: Small bugs resolved.
    + Add support for OpenCart 2.2.0.0

    1.1 - 16-12-2015:

    # Changed: Small bugs resolved.

    1.0 - 04-12-2015:
    + Initial version

    Support Policy Summary

    1. We provide support only for valid Open Web Creations product purchases.
    2. Our reply time is up to 48 hours within business days.
    3. We reply all support requests in our Support Forum from oldest to newest. Please do not repost if you are not adding essential information to the opened support requests.
    4. We do not provide support on weekends and national holidays.
    5. Our support team working hours are from 9 AM - 5 PM (Monday-Friday) at (GMT/UTC +1:00).
    6. Sometimes we may need access to your FTP and web store admin.
    7. We cannot guarantee that all of our modules will be out-of-the-box compatible with any other extension, theme or a customized OpenCart.

    Introduction

    PHP Fragments Replace 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.

    Write a review

    Note: HTML is not translated!
        Bad           Good

    Reusable PHP Fragments Anywhere

    • Product Code: PHP-RA
    • Availability: In Stock
    • 29.99€

    • Ex Tax: 29.99€

    Available Options



    Tags: Reusable PHP Fragments Anywhere, PHP-RA