# Actions CS-Cart

After [connecting CS-Cart](<../../integrations/cms/CS-Cart.md>), the bot works with an active directory of the selected storefront, language, currency and seller.

## Available action

### Find CS-Cart products

Looks for active and visible products by name, article and category. In one call, up to 20 results are returned and the following matches are indicated.

Use the search first and transfer the resulting `product_id` to the rest of the actions.

### Get the CS-Cart merchandise

Returns the product card, price, currency, options, combinations, availability and a link to the selected showcase.

### Check for CS-Cart availability

Checks the availability, quantity and price of a product or a specific combination of options.

If the product has several combinations, you need an exact `combination_id` from the product card. First, check the size, color and other mandatory options.

### Get a CS-Cart link

Returns the public reference of the goods. When transferring `combination_id`, a reference to the selected combination is used if it is provided by a showcase.

## Setting up

1. Open **My Bots** and press **Change**.
2. Go to **Integrations and actions**.
3. Add the desired CS-Cart action.
4. Choose Connected Integration.
5. Save the bot settings.

## Recommended scenario

1. Find the right products.
2. Get a card of the selected product.
3. Check with the client the mandatory options.
4. Check the rest of the exact combination.
5. Report the confirmed price and availability.
6. Send a link to the product of the selected showcase.

Do not combine data from different CS-Cart connections. If the product is not in the results, check that it is active, see on the connected storefront and has already been transferred to the background task.

## Verification

In the test chat, find a product with several combinations. The bot must request the desired options, check the rest of the particular combination and return the correct link.
