New version of Mergado
Release date and time
Wednesday 24 January 2024 15:30
After the traditional Christmas break, Mergado is back with another batch of regular new features and improvements!
News
- Rule
Rewrite
is now multi-line (only for MERGADO 2 projects). - The rewriting of values for different elements can now be handled by a single rule instead of having to set multiple rewrite rules for different elements, as was previously the case.
- Each line in this rule specifies the target element (or element path) and its new value.
clever insertion works in the row list - that is, two-column data in the clipboard can be inserted as new rows when editing a rule.
- For custom formats, the URL of the file from which to retrieve the category list for the custom format can now be specified.
- Mergado expects a list in the target file where categories are specified; one category per line.
- A single-column CSV without quotes around the values corresponds to this format - so you can also use, for example, a dynamically exported CSV from Google Sheets (see image below).
- This file will not be downloaded once, but repeatedly as needed; the downloaded list is then remembered for a while (currently 30 minutes) before Mergado downloads it again if needed.
- The categories from this file will then be offered in the user interface wherever we offer categories for common formats (e.g. Heureka.cz), i.e. e.g. in the category rules form or when editing the manual value of a category element.
- Mergado expects a list in the target file where categories are specified; one category per line.
- News in formats:
- We have optimized the application of rule
Find and Replace
in situations where search by regular expressions mode is used and at the same time there are more than ~500 such expressions (i.e., lines in the rule setting).- According to our measurements, this leads to a significant speedup of applying such a rule.
- Queries: In the selections form on the Products page, we considered entries like
ITEM__ID = 00123
to be an error, because a number cannot start with zero. This is now fixed because a number can actually start with zero. - Rules: The rule order number (in which order the rules are applied in sequence) visible in the rule list now holds the correct value even when searching or filtering rules.
- UI: In the (extended) element-path component (element-path) the
Right and Parameters
tab has a new, brighter icon. - Variables: When creating or editing a variable to test a regular expression, we provide a random value for the selected element. Previously, this random value was taken only from the input values, and this mechanism could not be reasonably used to create variables from elements that are filled only when the rules are applied. This has been improved and now these random values are also taken from the output values of the selected element.
- Queries: In the simplified mini-list of selections on the Products page, queries can now also be deleted.
- This mini-list is also now open by default.
- Improvements to the new project creation wizard:
- We now preferably offer input and output formats by user state.
- As suggestions for pairing elements, we now correctly offer nested elements, if any - e.g.
VARIANTS | VARIANT | EAN
.
- On the Products page, we sometimes had text βbleedingβ to the right when displaying the differences between input and output element values. This is now fixed.
- :history: In the header of the component for displaying the e-shop listing its projects, there is now a click to quickly jump to the online store history.
- We have fixed a bug in displaying the pairing chart of products (this applies to Heureka.cz and Heureka.sk formats).
- When importing an unchanged input feed an error could occur in certain cases instead of the usual skipping of the import. We have fixed this.
- When downloading product data as CSV on the Products page, we were returning the values in the resulting CSV position in the element path as
ELEMENT { POSITION = 1 }
instead of the correctELEMENT { @@POSITION = 1 }
. This has now been fixed. - We have fixed a bug in app Repairman when creating rules.
- And lots of other minor fixes and improvements.
Platform
- We can send a new hook
process.apply.failed
in case of rule application errors. Sending it can be set in the webhook settings for your app in Developers.
If you have any questions, feel free to contact us.