rsi Posted June 29, 2023 Posted June 29, 2023 Hi forum! I'm trying to build a kind of catalog for a customer. it should be ~6 categories that each can have ~40 images with additional information attached to each image: title, size, price, information so I was thinking: 1. create a custom field metaimage, that has fields for title, size, price and information 2. put that metaimage in a repeater and have my customer add as many as they want WIN? It feels very wrong somehow.... What is a better approach? I'm sure there are a lot ways to solve that... Also, given that example: How do i access fields in custom fields that are inside repeaters for naming the repeater labels ? I know there is dot syntax, but how about the first images title in my metaimage custom field ? Thank you for your input!! rsi
wbmnfktr Posted June 30, 2023 Posted June 30, 2023 It's not that wrong but maybe not the best option in this case here. I'd honestly go a totally different route and... create a template catalog_image or something create and add all necessary fields to that template create another template catalog_category create and add all necessary fields to that as well From there I would create all category pages and add those images under each one/where necessary or wanted. That way you can always move one image to another category, sort them way easier, disable, or clone one with ease. Oh... and it's probably way easier to maintain. 1
rsi Posted July 6, 2023 Author Posted July 6, 2023 Okay, I guess your approach is more structured and better maintainable. I'll give it a try! Thank you
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now