Help creating categories on index

Hello,

I want to create a “groupon like” website, and right know I’m stuck trying to create different categories in the index website.

I don’t know how to tell to the repeating group to show the coupons of different categories instead of show them all. Also I want to show the most popular coupons in a repeating group.

How can I do that

Thank you in advance!

Hi!

Does someone knows how to do this? I really appreciate the help

Regards

On each coupon in your database, you’ll want to have a field for popularity and find a way to create a value for that.

Then, in the RG (Repeating Group), you can sort by most popular and only load the first, say, 10 elements by adding “:items until 10” to the search query.

1 Like

Thank you for the suggestion

I didn’t thought about that. But quick question, I’m trying to create different groups by categories, for example: Here are the promotions for bars. The issue is that I don’t know how to say to the repeating group “Show the promotions of just bars instead of all the promotions”.

Do you know how can I do that?

Do a search for promotions where type = bar.

I strongly encourage you to go through all of Bubble’s tutorials and perhaps even an extra course to get up to speed on Bubble. In my experience, the upfront investment is usually paid back quickly by being able to “code” your app much more quickly.

Hope this helps.

1 Like

Thank you for the advice. Actually, that’s exactly what I’m doing right now. I just bought some tutorials on udemy and I’m constantly doing research in the forum. Thank you again for your help!

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.