# Commerce

> Product catalog, product messages, WhatsApp orders, Razorpay payment links and abandoned-cart reminders.

Source: https://zyptos.com/docs/commerce

Commerce is on the Starter, Growth, Pro and Agency plans. Open it from the sidebar; it has Products, Orders, Abandoned carts and Settings tabs.

## Products

Add products one by one with `Add product`, or import a CSV. Each product needs a unique SKU (the `retailer_id` Meta uses), a name and a price. Prices are in your catalog currency (set in Commerce > Settings).

CSV import accepts Meta's feed column names, so a file exported from Commerce Manager or Shopify works as is:

products.csv:

```csv
id,title,description,price,sale_price,availability,image_link,link,brand
TSHIRT-BLK-M,Black tee (M),Organic cotton,799,649,in stock,https://shop.example.com/img/tee.jpg,https://shop.example.com/tee,Acme
```

Rows with an existing SKU update that product. Up to 5,000 rows per file.

## Meta catalog sync

1. In Meta Commerce Manager, create a catalog (type `Ecommerce`) owned by the same business as your WhatsApp number.
2. Copy the catalog ID into Commerce > Settings. Optionally add a system user token with `catalog_management`; otherwise your WhatsApp number's token is used.
3. Press `Check access`, then `Link to` your number. This connects the catalog to your WhatsApp Business Account and turns on the catalog and cart buttons.
4. On Products, press `Sync all products`. Products are pushed in batches; each one shows Synced or the error Meta returned.

> Meta reviews new products before they can be sent. A product usually becomes sendable a few minutes after it shows Synced.

## Send products in a chat

In the inbox, open a conversation and press the shopping bag next to the reply box (Products and payments). Pick one product to send a single-product card, or up to 30 for a multi-product list with a header and sections. These are session messages, so the customer must have written to you in the last 24 hours.

## Orders

Orders arrive from four places and all show up in Commerce > Orders:

- WhatsApp carts: when a customer sends a cart from your catalog, Zyptos creates an order with the items and prices from the cart.
- Shopify and WooCommerce, through the [store integrations](https://zyptos.com/docs/integrations#stores).
- The [incoming webhook](https://zyptos.com/docs/integrations#incoming), Zapier or Make, with the `create_order` action.
- Manually, with New order.

Each order has a fulfilment status (New, Confirmed, Shipped, Delivered, Cancelled) and a payment status (Unpaid, Link sent, Paid, Cash on delivery, Refunded). Change them from the order drawer or in bulk. Every change fires the `order.updated` [webhook](https://zyptos.com/docs/webhooks).

## Payment links

1. Connect [Razorpay](https://zyptos.com/docs/integrations#razorpay) with your own API keys. Money goes straight to your Razorpay account.
2. Open an order and press `Send Pay now in WhatsApp`. The customer gets a message with a Pay now button. `Create link only` makes the link without sending it.
3. Add the Razorpay webhook (event `payment_link.paid`) so the order turns Paid on its own. Without it, press `Check payment` on the order.

From the inbox, `Request payment` creates an order and its payment link in one step.

## Abandoned-cart reminders

Shopify checkouts, WooCommerce carts posted by a cart plugin, and `cart` actions from the incoming webhook are listed under Abandoned carts. Turn on reminders in Commerce > Settings, pick an approved template and a delay. Variables can use `{{name}}`, `{{total}}`, `{{items}}` and `{{link}}` (the checkout link).

When the delay passes and the cart is still open, the template is sent once. Carts that become orders are marked Recovered and skipped; opted-out customers are skipped too. You can also send a reminder by hand.
