Jump to content

Best way to create a fees table using the available fields in processwire


shadowmoses
 Share

Recommended Posts

Hi, I've been out of touch with Process Wire for sometime and now picked it back up. So my brain is struggling to come up with the best, optimised way to create a fees table for the front end, that is easily editable in the admin panel. I've attached a screenshot, of what will be displayed on the front end. Ideally it needs to be as simple as possible for my client to edit. I would really appreciate some advice here, as I think I have been over thinking it all and now seem to have a mental block!

I hope this makes sense, thank you in advance!

 

Screenshot from 2022-04-07 11-50-05.png

Link to comment
Share on other sites

I think a repeater matrix field would be perfect for this ? 

Then you can set a headline and a content type, these can be added by the editor

or a normal repeater with table field (i think it's easier for the editor)

(repeater matrix and table field are ProFields, So you need a license for it)

 

But it would also work without ProFields
Just create a repeater with the headline field and in the repeater an additional repeater with 2 fields (Name and Fee)

Repeater1:

1296707338_rep1.thumb.png.be28674641da8ac564d773470f9c9b0c.png

Repeater2:

1691950437_rep2.thumb.png.2220976e48d5d62d1480fa2021243fe1.png

 

And the Final Result:

testpage.thumb.png.75b628e771691925e256ae1b27314653.png

  • Like 1
Link to comment
Share on other sites

Wow that is perfect! Can't believe I didn't think of that ? I forgot you could have a repeater in a repeater!

I'll use the method without ProFields first, as my client has run out of budget! When funds permit I will purchase the ProFields agency package, as it looks very useful for future projects anyway.

Thank you so much for your time!

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...