# Купон в подарок

В доп. свойство заказа "Маркетинг (купон)" \[gift\_coupon] попадает ID скидки, которой привязан купон

После оплаты создается купон с указанным временем действия (дни), кол-ом испольования 1 и привязывыется к скидке указанной в условии маркетинга, так же высылается письмо пользователю

XSL-шаблон используемого письма указывается в настройках модуля

Тема письма по шаблону `Ваш подарочный купон за заказ в магазине "%s"` (название можно поменять с помощью стандартной [интернационализацией](https://www.hostcms.ru/documentation/modules/additional/i18n/) HostCMS (Расширение языковых файлов для модулей), посмотреть все названия можно в файле */modules/shop/marketing/i18n/ru.php*)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.morozovpimnev.ru/marketing/usloviya/kupon-v-podarok.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
