Reusable PHP Fragments Anywhere

Reusable PHP Fragments Anywhere

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 Fragments Anywhere is an addon of the extension Reusable Text/HTML Fragments Anywhere and can only be used in combination with this extension.

Reusable PHP Fragments Anywhere provides a very powerful fragments management at OpenCart admin and give you more control over fragments in your websites 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 Fragments 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. PHP Fragments Replace Anywhere is not altering the content itself, it includes the fragments just before the content is displayed.

  • Compatibility: Reusable PHP Fragments Anywhere works well in OpenCart version 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.

View changelog!

You are entitled to 1 year of Premium Support with the purchase of any of our products. The support is considered Premium, as we provide guaranteed reply and direct communication with the product developers. See our Support Policy for more information.

Support will NOT be given in the Comments below and ANY support questions there will be ignored and deleted. Comments are for pre-sale questions and ratings only! Read the extension store policy.

When you buy this extension, you get a Single Domain License. You can use this license on a single domain OpenCart installation or a single domain OpenCart multistore setup. You can use the licence for 14 days on a develop/test OpenCart domain, if needed it can be extended. This site must belong to you or your client. For more information check our License Policy!



  • Developed by OpenCart Community
  • 12 Months Free Support
  • Documentation Included



Last Update
14 Nov 2023

3 Jan 2016
7 Sales
Open Web Creations
Open Web Creations
Member since: 20 Aug 2015

View all extensions Get Support