New version of Mergado
Release date and time
Wednesday 7 February 2024 15:30
News
Rule application now processes variables iteratively.
What does this mean?
- It means that when values from a variable/path to an element originating from a multi-value element are written to a multi-value element, then pairs of source vs `target** are newly processed sequentially. That is, the first found value is used to write to the first target element, the second found value is used to write to the second target element, etc.
What?!
- For example, multiplying the prices of all variants under a product can now be done via one single rule
calculation
, in which you set theVARIANTS | VARIANT | PRICE_VAT
element to write%VARIANTS | VARIANT | PRICE% * 1.21
:- The value
%VARIANTS | VARIANT | PRICE%
of the first variant is multiplied by1.21
and inserted into the elementVARIANTS | VARIANT | PRICE_VAT
only for the first variant. - The value
%VARIANTS | VARIANT | PRICE%
from the second variant is multiplied by1.21
and inserted into the elementVARIANTS | VARIANT | PRICE_VAT
only for the second variant. - And so on.
- The value
- For example, multiplying the prices of all variants under a product can now be done via one single rule
- This applies to the following rule types:
Mergado inserted a newline at the end of the element value when creating the output
XML
in certain cases for an element with an attribute. This is now fixed.UI: In some places in the multi-line rule editing form we support smart paste from the clipboard. However, in certain situations, such smart pasting is undesirable - so you can now disable smart paste in those places.
In the create new project wizard we now suggest appropriate matching elements for custom formats as well.
Minor redesign of the top right corner of the Mergado interface with the user menu. It is now easier to click on e.g. payment settings or invoices.
- And other minor adjustments, fixes and improvements.
Platform 
- Endpoint
/queries/<id>/products/
now supports thevalues_to_extract
parameter, with which you can easily extract the values of their element-paths or variables to the returned products. See API documentation for more information. - Endpoint
/elements/<id>/
now supports thePATCH
method, through which you can changename
(string),hidden
(bool),order
(int, only in Mergado 2),is_attribute
(bool, only in Mergado 2). - We fixed sending webhooks after queries operations for projects, some of which were accidentally not being sent.
We have customized Invoicing for each customer.
We’ve made useful changes to billing for use of Mergado paid services. Customers will now receive differential invoices during the month depending on the origination of the paid service under their user account - not until the 1st day of the following month.
If you have any questions, please feel free to contact us.