I have created a product page in SharePoint Online Pages Library. It has some standard field, e-g Title and Comments. It also has a Content Query WebPart that displays a list of linked files stored in a document library, Pages library and Documents library have lookup column relation.
I want to have a download button on the page to download all linked files in a zip.
I am looking for JSOM/JavaScript solution but I can also consider sandbox solution.