How to install extension

  1. Backup your store database and web directory.
  2. Login to SSH console on your server and navigate to root directory of Magento 2 store.
  3. Copy installation instructions from page My Downloadable Products to SSH console and press ENTER.
  4. Run command php -f bin/magento module:enable Mirasvit_Core Mirasvit_Report Mirasvit_Mq Mirasvit_CustomerSegment to enable extension.
  5. Run command php -f bin/magento setup:upgrade to install extension.
  6. Run command php -f bin/magento cache:clean for clean cache.
  7. Deploy static view files

    php -f bin/magento setup:static-content:deploy

Quick Start

Our Customer Segmentation Suite is small, yet powerful extension, which comes with a features, that work straight out of box.

However, there's more to dive in to it's possibilities in marketing analysis.

  1. Start from creating simple Segments, and begin process of analysing your store's audience.

  2. Use our Reports to track and analyse, how customers behave in each segment, and plan dissecting them to a smaller segments. We have a very rich conditions set in Segmenting Rules.

  3. Think about flexible discount program for customer from selected segments. This is where our built-in Cart Price Rule Integration will help you.

  4. If your services and products assortment became diverse, you can think about expanding your discount program even more. Our Reward Points extension can be in handy, and you can seamlessly integrate it with Customer Segmentation Suite.

  5. If your customer audience is on the grow, think about building a community. Try our Mirasvit Gift Registry extension, and integrate it with Customer Segmentation suite.

  6. Growing community will require more personalized email flow. Our extension Follow-Up Email can help you, and it also can integrate it with Customer Segments.

  7. Advanced Reports will help you to analyze both your services efficiency and growing community. Customer Segments also will be integrated there.

This should be a good beginning.

Refer to appropriate sections of our manual to have more info.

Segmenting Customers

Customer segmentation is the practice of dividing a store's customers into groups based in similarities among them. The goal of segmenting customers is to decide which strategy apply to customers in-large, and provide customers with maximum available services.

Segmentation has the potential to allow you to work with customers in the most effective way. The more data on customers gathered and the conditions for segmentation diverse, so more precise will be segmentation and accuracy of marketing analysis, which allows you to plan your marketing strategy with maximum efficiency.

All Segments, defined in our extension, are located at their respective grid Customers -> Customers Segment -> Segments. There you can create, view and even delete unnecessary segments (using mass Delete action).

Segments can be refreshed both by cron and manually. For more information refer to segment refreshing subsection.

How to define Customer Segment

Go to Customers -> Customers Segment -> Segments, and press Add New Segment button. You will be directed to complex segment creation page, which divides into five separate tabs:

  • General Information - contains general parameters of segment
  • Rules - contains conditions, which customers should apply to.
  • Actions - defines actions, which will be performed, when customer applies to segment.
  • Matched Customers - contains grid of customers, which are fit to conditions, defined in Rules tab.
  • History - contains history of actions, performed on current segment.

General Information

This subsection contains the most basic parameters of the customer segment:

  • Segment Title - sensical name of segment, for example Male Customers or Female Customers.
  • Description - description of this segment, it purpose and overview, etc.
  • Website - website, where this segment should apply.
  • Status - defines, whether this segment is active and should be refreshed.
  • Apply to - defines customer macro scope, which shall apply to this segment. It allows you to flexibly position your segment and make analysis more accurate. There's three possible values:
    • Registered and Guest Customers - default scope, which includes all customers on given website.
    • Registered Customers - apply to this segment only registered customers.
    • Guest Customers - apply to this segment only guest customers.

Rules

This is the most important part of Segment definition. Here conditions are defined, which decided, whether customer is eligible for current segment.

They have four possible global modes of applying, shown in special header If *[apply mode]* of these conditions are *[validation mode]*:

Applying modes define, when rule shall be triggered:

  • ALL - implies, that rule will be executed only when strictly all conditions were met;
  • ANY - implies, that rule will be executed only when one or more (but not all) of conditions were met;

Validation modes define, which result can produce each condition to be counted as "met":

  • TRUE - implies. that conditions should be valid.
  • FALSE - implies, that conditions should be invalid.

You can also define multiple nested mode blocks by selecting Conditions Combination option. These modes allow to create flexible condition sets to satisfy policy of any complexity.

Once you had selected global mode (or left it as default), press gree (+) button, and pick up a condition type. There's many possible options, combined into the following categories:

  • Customer Address

    This option opens special mode block, which have header of type If Customer [Address Type] Address match [Applying Mode] of these Conditions:. Applying mode is the same as described above. Address types are:

    • Billing - default billing address of customer. Applies only to registered customer.
    • Shipping - default shipping address of customer. Applies only to registered customer.
    • Any - any of addresses, registered by current customer.

    Address options, available for checking, are the same as address defines, including VAT number and its validation status and date.

  • Customer

    Contains all properties of standard registered customer. However, there's also some unique of them are:

    • Is Confirmed - allows to filter customer, which have confirmed/declined their account.
    • Create In - allows to check, on which store customer was actually created. It is extremely useful for multistores.
    • First Failure Date - allows to check, when customer for the first time made failed login attempt.
    • Failures Number - allows to check, how many failed login attempts customers have.
  • Sales

    Allows to check customer's shopping details. This section is useful for creating threshold segments (e. q. with sales over $1000, etc.). Includes the following:

    • Last Order Date - checks date of last order, placed by current customer.
    • Order Address - checks address of last placed order.
    • Sales Amount - lifetime total of all orders, placed by customer.
    • Number of Orders - lifetime number of all orders, placed by customer.
    • Purchased Quantity - totals lifetime quantity of all products, bought by customer.
  • Shopping Cart

    Allows to analyze last shopping cart of customer (or last created, but unfinished to order). Contains the following:

    • Shopping Cart Total - total amount of last cart contents.
    • Shopping Cart Products Qty - quantity of products in last cart contents.
  • Products

    Allows to analyze customer's interests in shopping. Contains the following options:

    • Products List - analyzes last shopping, and opens block of type If Product is [Existence Mode] in the [Product List] with [Applying Mode] of these Conditions match:.
      • Existence Mode - defines, whether product was Found or Not Found in list.
      • Product List - defines, where to search for a product - in Shopping Cart or Wishlist (last one applies only to registered customer). If Mirasvit Gift Registry is installed, you can also use Gift Registries as product list. Read more on this at Integrations section.
      • Applying Mode is described as above.
    • Products History - analyzes all shoppings, and opens block of type If Product [Action Mode] [Action] and matches [Applying Mode] of these Conditions:.
      • Action Mode - defines, whether product Was or Was Not involved in actions.
      • Action - defines, whether product was Ordered or just Viewed.
      • Applying Mode is described as above.
    • Ordered Item History - same as Products History, except it validates the data of the purchased items. It can be useful if you want to validate SKU values of the products that were already removed from your store or whose SKUs have already been changed over time.
      • Action Mode - defines, whether product Was or Was Not involved in actions.
      • Action - for now only Ordered option is available.
      • Applying Mode is described as above.

    Example

    FIXME: Add examples

    Note

    If you cannot find some product attribute in the list of available conditions make sure this attribute is allowed for use with the promo rule conditions. On the Admin sidebar, tap Stores, then under Attributes, choose Product. Open required attribute, on the tab Storefront Properties find the setting Use for Promo Rule Conditions, choose Yes if you want to use this attribute as the condition for customer segment rules.

Useful Info

You can now validate customers over segment's conditions.
For this enter customer IDs separated by a comma into the input above the conditions block and press the Validate button.

Actions

This subsection contains possible actions, that can be performed on customer, when he applies to segment for the first time:

  • Move to Group - allows to automatically move customer to proper group. Available groups you can see at Customers -> Customer Groups.
  • Priority - allows you to automatically resolve issues, when customer simultaneously eligible to multiple segments. In this case customer will be applied to segment with lesser value of priority.
  • Refresh mode - allows you to choose, how current segment will be refreshed. Automatic and Manual options are available. For more information refer to segment refreshing subsection.

Matched Customers

This subsection contains a customers' grid, where are gathered only those eligible to current segment. You can use the following mass actions there:

  • Export - allows you to export list of customers either to CSV or to OOXML (ExcelXML) format.
  • Exclude - allows you to manually exclude customer from this segment.

    Note

    If you use manual exclusion, you also shall set Refresh Mode parameter to Manual, otherwise excluded customers will be added again on next refresh - if they meet conditions.
  • Delete - allows you to remove customers. Do not use this action, unless you really need to - since it actually will remove customer from store.

History

This subsection contains all actions, that were performed on current segment. It is extremely useful for checking, how segmenting actually works and its performance.

History contains the following columns:

  • Created At - time of action actual execution.
  • Action - name of action. Here is the list of available actions:
    • Segment Refresh Started - marks start of refreshment procedure.
    • Segment Refresh Finished - marks end of refreshment procedure.
    • Add Customer - adding customers to current segment.
    • Remove Customer - removing customers from current segment.
    • Customer Group Change - moving customers from to specific group, set in Move to Group option.
    • Segment Refresh Iteration Started - marks start of AJAX Rule execution.
    • Segment Refresh Iteration Finished - marks end of AJAX Rule execution.
  • Affected rows - how many customers from Matched Customers were involved in action.
  • Type - whether this action was done by automatic crontask, or manually.

Refreshing Customer Segments

Customers are scanned and added to segments during refreshment procedure. Normally it is performed by special crontask.

But if you had set Refresh Mode to Manual option, this segment will be skipped by that task. In this case you need to manually open respective segment and press Refresh Segment Data button, available from top button ribbon.

Manual refreshing also can be used for segmentation testing.

Note

Customer Segment extension defines two separate crontasks:

  • segment_refresh_data - refreshes all segments with automatic refreshing, runs at 02:00 by default.
  • segment_history_clear - clears segments' histories, runs at 03:00 by default.

    They can be adjusted by editing this file (purge ALL cache and restart cron to apply changes): /vendor/mirasvit/module-customer-segment/src/CustomerSegment/etc/crontab.xml

Integrating Segments

Our extension allows different kinds integration of customer segments to Magento services and other Mirasvit extensions, which turn Customer Segmentation Suite into powerful tool of automatic store's' policy management.

For now integrations include:

  • Cart Price Rules - allows you to provide customers with discounts, using conditions based on their segment.
  • Follow Up Email - allows you to send special emails to customers, depending on their segment.
  • Reward Points - allows you to flexibly vary earn or spend policy for customers, which belongs to certain segment.
  • Gift Registry - allows you to segment customers, depending on products in their Gift Registries.
  • Advanced Reports - allows you to generate reports with additional filter, based on customer segments.
  • Indirect Integrations - allows you to integrate Customer Segment with other extensions, which have Workflow Rules.

Each of these integration options contains a lot of hidden possibilities, which will help you to build the most flexible service for your customers.

And, of course, there can be more then extension-to-extension integration. You can also build combinations of three or even four extension, boosting your service to the top.

Integration with Cart Rules

This is the most simple integration, which comes out-of-box, and does not require installation of any other Mirasvit products.

Cart Price Rules are default Magento feature, which allows providing customers with discounts, when their cart contents meets certain conditions. These rules can be created at Marketing -> Promotions -> Cart Price Rules.

Each rule has Condition section, which define conditions, on which discount should be provided. Customer Segmentation Suite adds to default conditions set Customer Segment option, which allows to trigger Cart Rule only when customer belongs to the particular segment, which makes Cart Price Rule much more flexible and powerful tool.

Consider these examples, which will demonstrate potential of this integration feature.

  • Provide all Male customers with 20% discount, if they bought Shorts

    Create a new Segment at Customers -> Customer Segment, and set the following options:

    • General Information
      • Name: Male Customers
      • Apply To: Registered Customers
    • Rules
      • Segment customers based on the following conditions: Customer Gender is Male
    • Actions
      • Refresh Mode: Automatic

    Create a new Cart Price Rule at Marketing -> Promotions -> Cart Price Rules, and set the following options:

    • Conditions
      • Customer Segment is one of Male Customers
      • Product Attribute Combination: Category is 19(e. q. Shorts)
    • Actions
      • Apply: Percent of product price discount
      • Discount Amount: 20
  • When customer reaches total sales of $2000, automatically make him VIP, and provide $100 discount for each order

    Create a new Segment at Customers -> Customer Segment, and set the following options:

    • General Information
      • Name: VIP Customers
      • Apply To: Registered Customers
    • Rules
      • Segment customers based on the following conditions: Total Sales Amount equals or greater than 2000 while ALL of these Conditions match (this block is actually Sales -> Sales Amount condition)
        • Order Status is one of Complete
    • Actions
      • Move to Group: VIP (Group should be created at Customer -> Customer Groups before)
      • Refresh Mode: Automatic

    Note: this segment will automatically move to VIP group all customers, when they reach real $2000 sales (only Completed orders will count).

    Create a new Cart Price Rule at Marketing -> Promotions -> Cart Price Rules, and set the following options:

    • Conditions
      • Customer Segment is one of VIP Customers
      • Subtotal equals or greater than 100
    • Actions
      • Apply: Fixed amount discount
      • Discount Amount: 100

    Note: since we provide fixed discount amount, we added additional Subtotal check to be sure, that discount will be properly applied.

  • If customer had placed his last order more than 30 days ago, provide him one-time Return Discount of 10%

    Create a new Segment at Customers -> Customer Segment, and set the following options:

    • General Information
      • Name: Departed Customers
      • Apply To: Registered Customers
    • Rules
      • Segment customers based on the following conditions: Last Order placed equals or greater than 30 days ago while ALL of these Conditions match: (this block is actually Sales -> Last Order Date condition)
        • Order Status is one of Complete
    • Actions
      • Refresh Mode: Automatic

    Note: customer, which was absent for 30 or more days, will be automatically placed to this segment, and removed - once he will place new order after return.

    Create a new Cart Price Rule at Marketing -> Promotions -> Cart Price Rules, and set the following options:

    • Conditions
      • Customer Segment is one of Departed Customers
    • Actions
      • Apply: Percent of product price discount
      • Discount Amount: 10

    Note: Since customer will be removed from Departed Customers, once he will place a new order, this discount will be one-timer.

Integration with Follow Up Email

Follow-Up Email allows you to send customers emails on certain events - such as log-in, birthday, abandoned cart expiration and so on. For each event this extension allows to create so-called Triggers, which are define emails, which should be sent.

There can be more than one Trigger per event, since each email has an Audience - e. q. group of customers, who are eligible to receive these emails. Therefore, each group can receive their own type of emails.

Customer Segmentation Suite, integrated with Follow-Up, allows you to target your emails more precisely, creating very flexible emails flow, which will automatically adjust in time - since CS has ability to automatically move customer from group to group.

Consider these examples, which will demonstrate potential of this integration feature.

  • Send all Girls a special email on their Birthday

    Create a Customer Group Girls at Customer -> Customer Groups.

    Create a new Segment at Customers -> Customer Segment, and set the following options:

    • General Information
      • Name: Girls Segment
      • Apply To: Registered Customers
    • Rules
      • Segment customers based on the following conditions:
        • Customer Gender is Female
        • Customer Date of Birth equals or less than 2000-01-01 (select all females under 18 years old)
    • Actions
      • Move to Group: Girls
      • Refresh Mode: Automatic

    Create a new Trigger at Marketing -> Follow-Up Email -> Manage Triggers, with following parameters:

    • General Information
      • Trigger Event: Customer / Birthday
    • Audience
      • Customer: Group is one of Girls

    Then just add proper template to be sent.

  • On each order completed, send customers special promotion, if they have in their wishlist recommended products

    Create at Stores -> Attributes -> Product attribute Recommended with the following properties:

    • Default Label: Recommended
    • Catalog Input Type for Store Owner: Yes/No
    • Values Required: No
    • Default Value: No

    Pick up products in Catalog -> Products, and set Recommended attribute, which will appear on Edit Page.

    Create a Customer Group Recommendation Target at Customer -> Customer Groups.

    Create a new segment at Customers -> Customer Segment -> Segments, with the following properties:

    • General Information
      • Name: Wishes our Recommended
      • Apply To: Registered Customers
    • Rules
      • Segment customers based on the following conditions: If Product is Found in the Wishlist* with ALL of these Conditions match: (this block is selected as Products -> Product List)
        • Product: Recommended is Yes
    • Actions
      • Move to Group: Recommendation Target
      • Refresh Mode: Automatic

    Create a new Trigger at Marketing -> Follow-Up Email -> Manage Triggers, with following parameters:

    • General Information
      • Trigger Event: Sales / Order obtained Complete status
    • Audience
      • Customer: Group is one of Recommendation Target

    Then just add proper template to be sent.

Integration with Reward Points

Reward Points extension allows customers to earn points, which later can be used as internal store currency or dynamic discount.

It already contains a very flexible set of conditions, but Customer Segmentation Suite brings even more flexibility, and create rewards policy according to your marketing analysis with new condition Customer Segment for Cart Earning Rules and for Spending Rules.

Consider these examples, which will demonstrate potential of this integration feature.

  • Whenever a Female buys Top, she receives additionally 20 Rewards Points

    Create a new Segment at Customers -> Customer Segment, and set the following options:

    • General Information
      • Name: Female
      • Apply To: Registered Customers
    • Rules
      • Segment customers based on the following conditions:
        • Customer Gender is Female
    • Actions
      • Refresh Mode: Automatic

    Create a new Earning Rule of Cart type, with the following properties:

    • Conditions
      • Customer Segment is one of Female
      • If an item is FOUND in the cart with ALL of these conditions true:
        • Category is 21 (e. q. Tops)
    • Actions
      • Customer Earning Style: Give X points to customer
      • Number of Points: 20
  • Whenever customer buys a particular item from his Wishlist, he receives additionally 100 Reward Points

    Create a new segment at Customers -> Customer Segment -> Segments, with the following properties:

    • General Information
      • Name: Wishes our Recommended
      • Apply To: Registered Customers
    • Rules
      • Segment customers based on the following conditions: If Product is Found in the Wishlist* with ALL of these Conditions match: (this block is selected as Products -> Product List)
        • Product: SKU is one of 24-MB01, 24-MB04, 24-MB03 (technically, can be any product list)
    • Actions
      • Refresh Mode: Automatic

    Create a new Earning Rule of Cart type, with the following properties:

    • Conditions
      • Customer Segment is one of Wishes our Recommended
      • If an item is FOUND in the cart with ALL of these conditions true:
        • SKU is one of 24-MB01, 24-MB04, 24-MB03 (should match Segment definition)
    • Actions
      • Customer Earning Style: Give X points to customer
      • Number of Points: 100
  • If customers are from other countries, encourage them with 10% of cashback to Reward Points balance

    Consider our store is located at Ukraine, but we wish to attract to our store clients from abroad.

    Create a new segment at Customers -> Customer Segment -> Segments, with the following properties:

    • General Information
      • Name: Foreign Customers
      • Apply To: Registered Customers
    • Rules
      • Segment customers based on the following conditions: If Customer Shipping* Address match ALL of these Conditions: (this block selected as Customer Address)
        • Address: Country is not Ukraine
    • Actions
      • Refresh Mode: Automatic

    Create a new Earning Rule of Cart type, with the following properties:

    • Conditions
      • Customer Segment is one of Foreign Customers
    • Actions
      • Customer Earning Style: Give X points for every spent Y
      • Number of Points: 1
      • Step: 10

    Note: If you wish ukrainian customers also to receive points, you will need to create a separate Earning Rule for them, with condition Customer Segment is not one of Foreign Customers.

  • If customer has reached sales amount threshold of $2000, double cost of his points

    Create a new segment at Customers -> Customer Segment -> Segments, with the following properties:

    • General Information
      • Name: Rich Customers
      • Apply To: Registered Customers
    • Rules
      • Segment customers based on the following conditions: Total Sales Amount equals or greater than 2000 while ALL of these Conditions match: (this block is selected as Sales -> Sales Amount)
        • Order Status is one of Complete
    • Actions
      • Refresh Mode: Automatic

    Let main Spending Rule utilize rate $1 for 1 Reward Points, then your additional Spending rule should look like:

    • Conditions
      • Customer Segment is one of Rich Customers
    • Actions:
      • Customer Earning Style: Give X points for every spent Y
      • Points spending style: Fixed
      • For each spent X points: 1
      • Customer receive Y discount: 2

    Note: In your main Spending Rule also condition Customer Segment is not one of Rich Customers should be placed in order to resolve conflicts.

  • Restrict customer from some services to spend their points

    Assume, that for some reason, we need to restrict customers from Amazon, and do not allow them to earn or spend points.

    Create a new segment at Customers -> Customer Segment -> Segments, with the following properties:

    • General Information
      • Name: Amazon Customers
      • Apply To: Registered Customers
    • Rules
      • Segment customers based on the following conditions:
        • Customer Email contains amazon.com
    • Actions
      • Refresh Mode: Automatic

    Create a new Earning Rule of Cart type, with the following properties:

    • Conditions
      • Customer Segment is not one of Amazon Customers
    • Actions: Can be any combination

    Create a new Spending Rule, with the following properties:

    • Conditions
      • Customer Segment is not one of Amazon Customers
    • Actions: Can be any combination

Integration with Gift Registry

Gift Registry allows your customers to buy gifts for other customers, building this way a community around your store.

Customer Segmentation Suite can use Gift Registries, where customers had opted to receive certain products, as an additional condition for segments.

If Gift Registry extension is installed, there will be additional option in [Product List] placeholder in block If Product is Found in the [Product List] with ALL of these Conditions match (it is selected as Product -> Product List condition) - Mirasvit Gift Registry.

This option allows you to automatically check customer's gift registry, and group customers on their wishes. Analysis of growth or shrinking of that groups will allow you to plan your marketing policy and introducing of new goods.

Consider these examples, which will demonstrate potential of this integration feature.

  • Track women, which wish to receives T-Shirt as gift

    Create a new Segment at Customers -> Customer Segment, and set the following options:

    • General Information
      • Name: Female T-Shirt Lovers
      • Apply To: Registered Customers
    • Rules
      • Segment customers based on the following conditions:
        • Customer Gender is Female
        • If Product is Found in the Mirasvit Gift Registry* with ALL of these Conditions match
          • Product: Category is 26 (e. q. T-Shirts)
    • Actions
      • Refresh Mode: Automatic
  • Track customers, that are interested in your new arrivings

    Create a new Segment at Customers -> Customer Segment, and set the following options:

    • General Information
      • Name: New Goods Interest
      • Apply To: Registered Customers
    • Rules
      • Segment customers based on the following conditions:
        • If Product is Found in the Mirasvit Gift Registry* with ANY of these Conditions match
          • Product: New is Yes
          • Product: Category is 38 (e. q. What's New)
    • Actions
      • Refresh Mode: Automatic
  • Track customers, that are more likely to download goods in last month

    Create a new Segment at Customers -> Customer Segment, and set the following options:

    • General Information
      • Name: Leechers
      • Apply To: Registered Customers
    • Rules
      • Segment customers based on the following conditions:
        • If Product is Found in the Mirasvit Gift Registry* with ANY of these Conditions match
          • Product: Format is Download
          • Date Range is within 01/1/2018...01/31/2018
    • Actions
      • Refresh Mode: Automatic

Note

Segments, created from Mirasvit Gift Registries analysis, can be used in triple integrations.

For example:

  • Customer Segment:Gift Registry:Reward Points integration allows you to flexibly reward customers depending of their wishes.
  • Customer Segment:Gift Registry:Follow-Up integration allows you to send customers new promotions, based on their interests.

Integration with Advanced Reports

Integration with Advanced Reports includes a new type of statistical graph - Sales by Segment. It analyses sales (counts only completed orders - e. q. invoiced and shipped), and distributes them between defined segments.

Statistics consists of the following markings:

  • Number of customers per segment - displayed both in absolute and percent values.
  • Number of orders per segment - displayed quantity of orders, placed customers in corresponsing segments.
  • Totals of orders per segments - displayed totals elements, such as discounts, distributed between orders, refunds and shipping fees.

These markings are simple, but allows you to quickly and effectively visualize, how you can adjust your marketing policy, and track growth or shrinking of different segments of your market.

Indirect Integrations

Customer Segmentation Suite also allows indirect integration. It revolves around ability of this extension to automatically move customers to specific Customer Group on assigning to corresponding segment.

This way Customer Segment can be integrated even with third-party extensions, which features Customer Group-dependent actions and services.

To integrate CS indirectly, just create a Customer Group, and a segment, which corresponds with it. Set in this segment Move to Group option at Actions subsection, and then use that Group in target extension.

Managing Reports

Customer Segmentation Suite comes with one basic Report, available at Customers -> Customer Segment -> Reports.

It provides customer with basic chart (both linear and square) with sales per segment. It features the following parameters, located at Top Ribbon:

Under the chart you can also find small statistical table, which displays the most important data in segmentation analysis:

All these columns also available as filters, which can be accessed with Filters button, and can be used for building flexible reports.

Data, currently displayed in this statistics table also can be exported to both CSV and Excel OOXML formats. For that you need to use Export button, located near Filters button.

General Settings

Go to Stores > Configuration > Mirasvit > Customer Segment. You will see the following email settings:

Export Settings

  • Is Active - Enable automatic export of the segment's customers to CSV file after segment data refresh. Export path var/export/

Command Line Interface

Usage: php -f bin/magento [options]

Troubleshooting

  • Product attribute is not visible under the Products conditions

    If you cannot find some product attribute in the list of available conditions make sure this attribute is allowed for use with the promo rule conditions.
    On the Admin sidebar, tap Stores, then under Attributes, choose Product. Open required attribute, on the tab Storefront Properties find the setting Use for Promo Rule Conditions, choose Yes if you want to use this attribute as the condition for customer segment rules.

How to upgrade the extension

To upgrade the extension follow these steps:

  1. Backup your store's database and web directory.
  2. Login to the SSH console of your server and navigate to root directory of the Magento 2 store.
  3. Run command composer require mirasvit/module-customer-segment:* --update-with-dependencies to update current extension with all dependencies.

    Note

    In some cases the command above is not applicable, it's not possible to update just current module, or you just need to upgrade all Mirasvit modules in a bundle. In this case command above will have no effect.

    Run instead composer update mirasvit/* command. It will update all Mirasvit modules, installed on your store.

  4. Run command php -f bin/magento setup:upgrade to install updates.
  5. Run command php -f bin/magento cache:clean to clean the cache.
  6. Deploy static view files

    php -f bin/magento setup:static-content:deploy

Disabling Extension

Temporarily Disable

To temporarily disable the extension please follow these steps:

  1. Login to the SSH console on your server and navigate to the root directory of the Magento 2 store.
  2. Run command php -f bin/magento module:disable Mirasvit_CustomerSegment to disable the extension.
  3. Login in to the Magento back-end and refresh the store cache (if enabled).

Extension Removal

To uninstall the extension please follow these steps:

  1. Login to the SSH console on your server and navigate to the root directory of the Magento 2 store.
  2. Run command composer remove mirasvit/module-customer-segment to remove the extension.
  3. Login to the Magento back-end and refresh the store cache (if enabled).

Change Log

1.0.19

(2018-05-29)

Features

Documentation


1.0.18

(2018-05-24)

Improvements

Documentation


1.0.17

(2018-05-23)

Features

Fixed


1.0.16

(2018-05-18)

Improvements


1.0.15

(2018-05-17)

Improvements


1.0.14

(2018-05-15)

Features

Improvements

Documentation


1.0.13

(2018-04-04)

Fixed


1.0.12

(2018-03-28)

Improvements

Fixed


1.0.11

(2018-03-01)

Fixed


1.0.10

(2018-02-26)

Fixed


1.0.9

(2017-02-02)

Fixed


1.0.8

(2018-02-01)

Improvements


1.0.7

(2017-12-27)

Features


1.0.6

(2017-12-12)

Features

Fixed


1.0.5

(2017-12-01)

Fixed


1.0.4

(2017-11-20)

Improvements


1.0.3

(2017-11-01)

Documentation


1.0.2

(2017-09-28)

Fixed


1.0.1

(2017-09-27)

Improvements


1.0.0

(2017-09-01)

Fixed


1.0.0-alpha6

(2017-08-11)

Fixed


1.0.0-alpha5

(2017-08-11)

Fixed


1.0.0-alpha4

(2017-08-10)

Improvements


1.0.0-alpha3

(2017-06-28)

Features


1.0.0-alpha1

(2017-05-15)

Features



Submodule mirasvit/module-report

1.2.27

(2017-12-07)

Fixed


1.2.26

(2017-12-06)

Fixed


1.2.25

(2017-12-05)

Fixed


1.2.24

(2017-11-30)

Fixed


1.2.23

(2017-11-27)

Fixed


1.2.22

(2017-11-15)

Fixed


1.2.21

(2017-11-03)

Fixed


1.2.20

(2017-10-30)

Fixed


1.2.19

(2017-10-30)

Fixed


1.2.18

(2017-10-26)

Fixed


1.2.17

(2017-10-20)

Fixed


1.2.16

(2017-09-28)

Fixed


1.2.15

(2017-09-26)

Fixed


1.2.14

(2017-09-18)

Fixed


1.2.13

(2017-08-09)

Fixed


1.2.12

(2017-08-02)

Improvements


1.2.11

(2017-07-19)

Fixed


1.2.10

(2017-07-12)

Fixed


1.2.9

(2017-07-11)

Improvements


1.2.8

(2017-06-21)

Fixed

1.2.7

(2017-06-21)

Improvements


1.2.6

(2017-06-01)


1.2.5

(2017-05-31)

Improvements


1.2.4

(2017-05-15)

Fixed


1.2.3

(2017-05-04)

Bugfixes

Improvements


1.2.2

(2017-03-21)

Improvements

Fixed


1.2.1

(2017-03-06)

Improvements

Fixed


1.2.0

(2017-02-27)

Fixed


1.1.14

(2017-01-31)

Fixed


1.1.12

(2017-01-25)

Fixed


1.1.11

(2017-01-20)

Fixed


1.1.9, 1.1.10

(2017-01-13)

Fixed

1.1.7, 1.1.8

(2016-12-15)

Fixed


1.1.6

(2016-12-09)

Improvements


1.1.5

(2016-09-27)

Fixed


1.1.4

(2016-09-13)

Fixed


1.1.3

(2016-09-05)

Improvements


1.1.2

(2016-09-01)

Improvements


1.1.1

(2016-08-15)

Fixed


1.1.0

(2016-07-01)

Fixed


1.0.4

(2016-06-24)

Fixed


1.0.3

(2016-05-31)

Fixed


1.0.2

(2016-05-27)

Fixed


1.0.1

(2016-05-25)

Fixed


1.0.0

(2016-05-19)

Improvements

Fixed