|8.4.3 Campaign construction << 22.214.171.124 >> 126.96.36.199 Conditions|
188.8.131.52 General propertiesBelow are listed the general properties of campaigns. All of these are mandatory for every campaign.
Unique campaign name: This is the unique name of the
campaign. No two campaigns can have the same unique name.
Campaign webshop name: This is the public webshop name of
the campaign. Multiple campaigns can have the same webshop name.
Begins: The start time of the campaign (inclusive). This
is the date on which the campaign starts. The campaign starts on the first
moment of this date.
Ends: The end time of the campaign (inclusive). This is
the date on which the campaign ends. The campaign ends on the last moment of
Importance: The campaign importance (an integer >= 0).
By default this is 0. Importance can be used to control in which order
different campaigns are evaluated in the webshop.
To create a campaign that is active for one day, give the same date to both fields.
When multiple different campaigns are active at the same time, then the order in which the campaigns are evaluated may matter. This is because multiple campaigns can be constructed in a way that they can never coexist in the same shopping cart, even if all of them were active at the same time. When campaigns have the same importance, the order in which they are evaluated is the order in which they were created, so that the oldest campaign is evaluated first. With campaign importance, this default order can be changed.
The larger the number, the higher the importance. Zero (0) is the lowest possible importance, "1" is more important than that, "2" is more important than either of them etc. An example: Two campaigns, A and B, are created in that order, and both of them have the default importance of "0". Both campaigns give some discount to product XYZ. In the webshop, the conditions are such, that customer X is entitled to the discounts of both campaigns. When the customer adds the product XYZ to the shopping cart, the discount from campaign A is given. As campaign A "used" the product XYZ, there is nothing left for campaign B to do. If campaign B had had an importance greater than "0", then the roles would have been reversed.