# Set collection for Store Product Gallery on dynamic page

**URL:** <https://forum.wixstudio.com/t/set-collection-for-store-product-gallery-on-dynamic-page/1021>\
**Category:** Ask the community\
**Tags:** code, question, wix-stores\
**Created:** [December 19, 2021, 11:18am UTC](https://forum.wixstudio.com/t/set-collection-for-store-product-gallery-on-dynamic-page/1021 "2021-12-19T11:18:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmdtradingaus](https://avatars.discourse-cdn.com/v4/letter/c/73ab20/32.png) [@cmdtradingaus](https://forum.wixstudio.com/u/cmdtradingaus)\
**Post date:** [December 19, 2021, 11:18am UTC](https://forum.wixstudio.com/t/set-collection-for-store-product-gallery-on-dynamic-page/1021/1 "2021-12-19T11:18:05Z")

</div>

The standard Store Product Gallery requires a manually configured store collection.  
Rather than create static pages for each store collection I’d like to use dynamic pages and have the content automatically set, which basically means that the collection needs to be updated based on the dynamic page’s input.  
Happy to write a bit of code to do this. Is there an API that allows me to set/update the chose collection?
