I'm working on a redesign for a site that has a webstore with several different sections. I load the sections individually using embeds so I can use webflow buttons. In the past, I've done this using a separate page for every product category, but I would like to keep it all on one page and just swap out the embed depending on which button is clicked.
I know how to do all of that. My question, though, is how do I reset an embed?
Visitor clicks on Category 1.
Visitor clicks on Product 1 within Category 1.
Visitor clicks on Category 2. Category 1 is hidden and Category 2 is shown.
Visitor clicks back on Category 1. Product 1 within Category 1 is still active in that embed.
How do I change that last part? Right now, I'm just showing/hiding the embeds, so wherever that particular category was left is where it will be when it is shown again. Is there a way to force the reload of an embed?