Issue #1731šŸ’¬ AnsweredOpened January 17, 2019by abozhinov2 reactions

What is the best way to manage dynamic components?

Quick answerby artfā¤ 1

You can make use of a custom component and variables to replace on server-side. Take a look at the example I made for you: https://jsfiddle.net/fcsa6z75/7/

Read full answer below ↓

Question

Hi, can you please tell me what is the best way to manage dynamic templates. I want to describe you what's my case.Have e-commerce store and use GrapesJS.We have PAGES and in this pages want to add product collections or collection with brands (logo). I want to create few components like product collection, brand collection, blog posts and ect.I don't want user to write PHP code because can make REALLY big mess. I use SAMRTY as a template engine. Let's check the following example:Create a product collections - collection 1, collection 2 and collection 3.Create new page and drag component "pro...

Answers (3)

artf• January 19, 2019

You can make use of a custom component and variables to replace on server-side. Take a look at the example I made for you: https://jsfiddle.net/fcsa6z75/7/

abozhinov• January 29, 2019

Can you give me advice how to make mapping with dynamic data. Something like Webflow. They have product collection and you can edit template select TEXT component and choose this is ProductName. Their editor looks like GrapesJS. My concerns are how to preview products in editor and how to store the...

lock[bot]• January 30, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.