# Create a store with my CMS and collections

**URL:** <https://forum.wixstudio.com/t/create-a-store-with-my-cms-and-collections/52755>\
**Category:** Ask the community\
**Tags:** wix-dataset, wix-data, wix-restaurants, code, cms\
**Created:** [September 28, 2023, 10:47am UTC](https://forum.wixstudio.com/t/create-a-store-with-my-cms-and-collections/52755 "2023-09-28T10:47:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Upee](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/upee/32/83143_2.png) [@Upee](https://forum.wixstudio.com/u/Upee)\
**Post date:** [September 28, 2023, 10:47am UTC](https://forum.wixstudio.com/t/create-a-store-with-my-cms-and-collections/52755/1 "2023-09-28T10:47:14Z")

</div>

I absolutely need to know if what I want to do is feasible on my wix site.

Let me explain: I’ve created a site that allows restaurant owners to manage their restaurant menus. They can add and delete products, and these products from a database are directly updated in a dynamic page.

I’d like to add the possibility for customers to add dishes to the basket and pay the bill directly on the menu, so that it’s not just a menu you’re looking at, but you can order and pay. Is there a solution?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![thomasj](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/thomasj/32/30791_2.png) [@thomasj](https://forum.wixstudio.com/u/thomasj)\
**Post date:** [October 2, 2023, 8:37pm UTC](https://forum.wixstudio.com/t/create-a-store-with-my-cms-and-collections/52755/2 "2023-10-02T20:37:27Z")

</div>

Hi,

In order to allow customers to add menu items to a cart and order the items, you can use the [Wix Stores App](https://www.wix.com/app-market/wix-stores).

Using your existing collection, you can then associate each dynamic page (menu items) with a product within the Wix Stores App Collection using a single reference field.

Finally, create a button that uses [addProducts()](https://www.wix.com/velo/reference/wix-stores-frontend/cart/addproducts) to allow visitors to add specific menu items to their cart based on the associated productId on each dynamic page.

_Note: This requires handling the creation/revision/deletion of a Product within Wix Stores every time a restaurant owner edits their menu. This can be handled via the Wix Stores API._

Alternatively, you can use the [eCommerce Catalog SPI](https://dev.wix.com/docs/develop-websites/articles/wix-apps/wix-e-commerce-stores/e-commerce-catalog-custom-extension-beta) to implement a custom purchase flow.
