Prido's avatar
Level 2

Rendering blade components dynamically

Im developing a multi tanency ecommerce, so every user can customize their home page.. the home page is made up of product sliders and banners, so user can create slider then specify product category for filter then specify limit of products, title of slider and subtitle... so i have to loop the information and construct the home page wen user visits the site..

Slider1=>[properties], Slider2=>[properties], Banner1=>[properties], Slider3=>[properties], Slid4=>[properties], Banner2=>[properties],

Number of banners and sliders varries with user.

Now the question is how can i save this in db, i mean in what form and how can i construct this home.blade.php with the db data and filtering on each slider?

0 likes
1 reply

Please or to participate in this conversation.