Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • mikkel 131 posts 353 karma points
    Jan 05, 2019 @ 08:15

    How do I make a page where you can edit a price list in back office

    Hi I'm going to make a page for a hairdresser. she has a page with prices and there i want to in back office make a page where you can enter a new price, edit old prices etc .. I've tried to figure out how to do it in back office, but I can't find the solution to it. Must be sections, or a surface controller. Where do I find a guide to understand: D

  • Paul Seal 402 posts 2205 karma points MVP 2x c-trib
    Jan 07, 2019 @ 15:29
    Paul Seal

    Hi Mikkel

    You could take a look at Fluidity which gives you a custom section for editing database tables. So each price could be a record in the table and you will be able to add and edit the rows in the table.

    Video showing you how to get started with Fluidity here:

    Next you can read those values from the database and render them on the front end.

    I would have a surface controller with an action with something like GetPrices()

    The result of that action would be to return a partial view showing the prices, and if you use donut caching, the result of this call can be cached so you don't need to keep querying the database and preparing the partial view.

    Video on donut caching here:

Please Sign in or register to post replies

Write your reply to: