Extension to CS-Cart and Multi-Vendor allows dynamic generation of content on pages.
We start from installing an extension:
After installing add-on, in menu "Marketing" a new position appears, containing menu with lists related to dynamic generation of content.
To configure page with dynamically generated content, we have to go through the following steps:
- Create fieldset, which defines information that every object on the page contains.
- Create template, which is HTML/CSS/Smarty structure defining how will the page look like. Each template has a fieldset assigned.
- Create objects, which are records displayed in template and containing information from fieldset assigned to template.
The process of creating such page will be shown on an example of page https://cs-cart.pl/realizacje.
We start from adding a fieldset in menu "Managing sets of fields".
For each fieldset, we define name and the list of fields.
Each field is one information about object. In our case (realizations of CS-Cart software) it's store industry, version, and installed add-ons.
After list of fields is created, we have to create a template in menu "Manage templates"
Template contains the following information:
- Template name: is only informational
- ID of page: ID of static page in store, which will display the processed template.
- Object type: right now, only "Page" is available. We're planning to add more options in the future.
- Fieldset: set of fields, which will be used to create objects related to this template.
- Template: code HTML/CSS/Smarty, which will define the appearance of the page. Objects, which were created for this template, are available under a variable $realizations.
Last stage is creating objects to fill the template in menu "Manage objects".
After typing in the name of the object, and selecting template, fields from the template's fieldset will appear.
When static page (with ID typed when creating template) is loaded, the add-on will go through the following process:
- Getting the HTML/CSS/Smarty template, linked to the given page ID.
- Downloading the objects related to certain template, and information about those objects basing on the fieldset.
- Ready template filled with objects will appear on the page.
We invite you to shopping!
- Store Builder
- Store Builder Ultimate
- Multi-Vendor Ultimate
- Multi-Vendor Plus
Our team created 120+ functional, original and useful Multi-Vendor and CS-Cart addons. Since 2010, when SoftSolid became Multi-Vendor and CS-Cart official developer, we deliver you professional solutions for e-commerce projects. The highest quality of our projects is confirmed by dozens of satisfied customers. We always try to make our addons intuitive and user-friendly and skilled programmers in our team can create almost every addon that you may need. Contact us and