Skip to content

MT-18278 Flows support for Promotions Builder #328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions changelog/2024/2024-11-05-changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: 'Added Flows support for Promotions Builder'
date: '2024-11-05'
tags: ['Commerce Manager', 'Promotions Builder']
hide_blog_post_date: false
---

**MINOR** We have introduced Flows support for Promotions Builder that allows users to create custom fields for promotions.
For API, see [The Promotions Builder Custom Fields API](/docs/promotions-builder/promotions-builder-api/promotions-builder-api-overview#the-promotions-builder-custom-fields).

For Commerce Manager, see [Editing custom fields in a promotion builder](/docs/commerce-manager/promotions-builder/creating-a-promotion-in-promotions-builder#editing-custom-fields-in-a-promotion)
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,16 @@ You can duplicate an existing promotion and reuse its details as required in a n

The duplicated promotion opens. Make the necessary updates, then click **Create Promotion** to save the new promotion.

## Editing Custom Fields in a Promotion
In order to use custom fields in Promotions Builder, you need to create flows in the store. See [Creating FLows](/docs/commerce-manager/flows/flows) for how to create flows. The **slug** value for promotions builder is **rule-promotions**.
Once you have created the flows and field, then you can edit the custom fields in promotions builder.

1. In the promotions builder editing page, locate the **Custom Fields** at the bottom of page.
1. Expand the section.
1. Edit the fields.
1. Click **Save** to save the changes.


## Related Resources

- [Rule Promotions API](/docs/rule-promotions/overview)